Web server plug-in tuning tips

Important tips for Web server plug-in tuning include how to balance workload and improve performance in a high stress environment. Balancing workloads among application servers in a network fronted by a Web server plug-in helps improve request response time.

Limiting the number of connections that can be established with an application server works best for Web servers that follow the threading model instead of the process model, and only one process is started.

The IBM HTTP Server V6.0.x follows the threading model. To prevent the IBM HTTP Server from starting more than one process, change the following properties in the Web server configuration file (httpd.conf) to the indicated values:

ServerLimit           1
ThreadLimit           4000
StartServers          1
MaxClients            1024
MinSpareThreads       1
MaxSpareThreads       1024
ThreadsPerChild       1024
MaxRequestsPerChild   0
Improving performance in a high stress environment
If you use the default settings for a Microsoft Windows operating system, you might encounter Web server plug-in performance problems if you are running in a high stress environment. To avoid these problems, consider tuning the TCP/IP setting for this operating system. Two of the keys setting to tune are TcpTimedWaitDelay and MaxUserPort.
To tune the TcpTimedWaitDelay setting, change the value of the tcp_time_wait_interval parameter from the default value of 240 seconds, to 30 seconds:
 
  1. Locate in the Windows Registry:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip\Parameters\TcpTimedWaitDelay

    If this entry does not exist in your Windows Registry, create it by editing this entry as a new DWORD item.

  2. Specify, in seconds, a value between 30 and 300 inclusive for this entry. (It is recommended that you specify a value of 30. )

 

To tune the MaxUserPort setting:
 
  1. Locate in the Windows Registry:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip\Parameters\MaxUserPort

    If this entry does not exist in your Windows Registry, create it by editing this entry as a new DWORD item.

  2. Set the maximum number of ports to a value between 5000 and 65534 ports, inclusive. (It is recommended that you specify a value of 65534,)
 

People who read this article also read:

  • Lava A9 has come


    Lava international limited, an emerging player in the mobile market is again set to venture into the Indian markets with its latest java enabled handset A9. The model is expected to be at price Rs. 5,...
  • Toyota to announce pricing of Scion tC RS 5.0 and unvieil @ Chicago Auto Show 2009


    Scion - Toyota Motor Sales, U. S. A., Inc, on Feb 9, 09 announced the prices of limited production tC Release Series 5.0 for 2009 and will be shown at the Chicago Auto Show, Feb 11-12, 09 for media an...
  • Mahindra Cevalo to launch in this month


    After getting succcess in entry level scooter segment Mahindra is now going to launch a new bike in India by this month. This bike is already displayed at Delhi Auto Expo 2010 named as Mahindra Cevalo...
  • Magic Wand Remote for TVs


    Turn TV watching into an experience with the Magic Wand Remote Control. “Teach” the wand up to 13 commands from your old remote and then bin it because from now on, you can be Wizard and commander of ...
  • Nokia C5 Smartphone


    Nokia unveiled the Nokia C5, a new smartphone optimized for social networking and sharing. The compact Nokia C5 Smartphone includes access to Nokia’s range of mobile services, such as free GPS navigat...
  • Lenovo ThinkPad USB Secure Hard Drive 320GB


    Lenovo has launched new portable encrypted data sharing USB hard drive which will be useful for business users and techies. Other Encrypted Data Sharing devices are mostly dependent on Windows tool fo...
Copyright © 2012 Techglimpse. All rights reserved.