Sysload Monitor / SdServer: Web page not accessible "Server ran out of threads"
search cancel

Sysload Monitor / SdServer: Web page not accessible "Server ran out of threads"

book

Article ID: 136099

calendar_today

Updated On:

Products

CA Automic Sysload

Issue/Introduction

The Sysload Monitor of Software Distribution Server cannot be accessed, even though the httpd process is running.


When looking at the httpd_error.log, we find the following errors:


 [mpm_winnt:error] [pid:p tid t AH00326: Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting <<<<< 

Environment

Release : 6.0

Component : SYSLOAD

Cause

Default httpd configuration allows a maximum of 64 ThreadsPerChild.

In case many Reactions / Activity is performed during a short period of time, the httpd server may be overload and will not accept any new connection.

 

Resolution

For Sysload Monitor, we advice to reduce the Frequency of the SPM Engine Tasks so that the ones that take longest to execute, are not executed too frequently.


If it still occurs, we can modify the Apache httpd configuration to increase the  ThreadsPerChild setting, the procedure being:


1. Backup and then edit httpd.conf that should be found in the folder <installdir>/sdhttpd/conf/


2. Add these lines at the end of the file to increase from 64 to 600 threads :


          <IfModule mpm_winnt_module>

                ThreadLimit             600

                ThreadsPerChild         600

                MaxConnectionsPerChild  0

          </IfModule>

  

3. Save the file and Restart the associated Sysload Monitor or Software Distribution Server Service.


4. Verify the log <installdir>/sdhttpd/logs/httpd_error.log, we should have a line like this stating that there are 600 threads:

[mpm_winnt:notice] [pid p:tid t] AH00354: Child: Starting 600 worker threads.