IBM HTTP Server 1.3 - Windows 2000 or Windows 2003

This section discusses the IBM HTTP Server tuning specifics when running on Windows NT or 2000. In contrary to other platforms, IHS is a single-process, multi-threaded server on the Windows platform.

 

ThreadsPerChild

This parameter sets the number of concurrent threads running at any one time within the IBM HTTP Server. See MaxClients/ThreadsPerChild for information about how to change this value.

There are two ways to find how many threads are in use. They are as follows:

1. Use the Windows 2000 or 2003 Task Manager: a. Right-click the Status bar on your desktop. Select Task Manager. b. Select the Processes tab. c. Click View -> Select Columns. d. Select Thread Count. e. Click OK.

2. Use IBM HTTP Server server-status (this choice works on all platforms, not just Windows 2000 or Windows 2003.). To enable it, do the following depending on your Web server version: a. IBM HTTP Server 1.3.x: i. Edit httpd.conf located in the directory <IBM_HTTP_Server_Home>/conf and remove the comment character "#" from the lines shown in Example 19-7.

Example 19-7 Enabling HTTP Server 1.3 server-status in httpd.conf file

#LoadModule status_module modules/ApacheModuleStatus.dll 
#<Location/server-status> 
#SetHandler server-status 
#</Location> 

ii. Save the changes and restart the IBM HTTP server. iii. In a Web browser, go to the URL

http://<your_host>/server-status

and click Reload to update status. iv. Alternatively, if the browser supports refresh, go to

http://<your_host>/server-status?refresh=5

to refresh every 5 seconds. b. IBM HTTP Server 2.0: i. Edit httpd.conf located in the directory <IBM_HTTP_Server_Home>/conf and remove the comment character "#" from the lines shown in Example 19-8.

Example 19-8 Enabling HTTP Server 2.0 server-status in httpd.conf file

#LoadModule status_module modules/mod_status.so#
#<Location /server-status>
#    SetHandler server-status
#</Location>

ii. Save the changes and restart the IBM HTTP server. iii. In a Web browser, go to the URL

http://<your_host>/server-status

and click Reload to update status. iv. Alternatively, if the browser supports refresh, go to

http://<your_host>/server-status?refresh=5

to refresh every 5 seconds.

The default value of the ThreadsPerChild parameter is 50 for IBM HTTP Server 1.3.28, and 250 for IBM HTTP Server 2.0.

Note If using the server-status module on other platforms, additional changes may be needed, and modules will not be in the form of a DLL. Consult the administrator's guide for more specific details.

  Prev | Home | Next

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.