Optional Windows Server 2008 configuration
Although your Windows Server 2008 machine will still run Perception Server without doing so, we recommend that in certain environments you may want to perform some additional configuration tasks. These can increase the speed and reliability of your installation however if you have a well specified server they may not be necessary.
|Ensure worker processes are recycled||This enables you to precisely manage faulty worker processes, ensuring that specified applications in those pools remain healthy, and that system resources can be recovered.|
|Assign application pools to different processors (only possible with dual processors)||This can help to make your Perception Server installation more robust, secure and may also improve performance.|
These tasks are described in the following sections.
If IIS is running in worker process isolation mode, you can configure IIS to periodically restart worker processes in an application pool. This setting enables you to precisely manage faulty worker processes, ensuring that specified applications in those pools remain healthy, and that system resources can be recovered. This functionality is managed from the Recycling tab of an application pools properties page.
By default IIS is configured to recycle processes after they have been inactive for a defined amount of time, measured in minutes. In the example illustrated below, this is 1740 minutes. It is also possible to force an application pool to recycle at specific times. To do so:
- Open IIS Manager
- Open the server folder and click Application Pools
- Right-click Application Pools and select Properties
- The Application Pools Properties dialog is displayed
- In the Recycling tab, check the Recycle worker processes (in minutes) box
- Check Recycle worker processes at the following times and click Add
- In the Select time dialog box, enter a time and click OK
Repeat this procedure if you want to enter any additional application pool recycle times.
When running Windows 2008 Server on a dual processor server, it is possible to set one application pool to use one processor, and the other application pool to use the other processor. This setting can be made by changing the Processor Affinity settings in the application pool configuration file. You must have Administrator rights to perform this function and this only needs to be done on the machine where Enterprise Manager is installed if you have setup Perception in a multi-tiered environment.
To change processor affinity settings:
- Locate the Application Pool configuration file located in the following folder on your server:
- Open the .config file and locate the following code for the application pool you want to assign to a processor:
<add name="AppPool" />
Where AppPool is the name of the application pool you are using.
- Add the following code in to the Application Pool section to enable and assign the processor required:
Where 1 is the number of the processor you want to use. Do NOT set this to 0 as it will shut down processing by certain processors completely
- Save the changes to the file and restart your server