Sunday, December 19, 2010

MaxClients exceeds ServerLimit

Logo for the Apache HTTPD Server Project .Image via Wikipedia








# /scripts/restartsrv_httpd
WARNING: MaxClients of 900 exceeds ServerLimit value of 256 servers,
lowering MaxClients to 256. To increase, please see the ServerLimit
directive.
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

Moreover site is also loading very slowly we can say it is not loading also.

Please retry your /etc/http/conf/httpd.conf



StartServers 25
MinSpareServers 10
MaxSpareServers 20
MaxClients 900
MaxRequestsPerChild 250



To


StartServers 25
MinSpareServers 10
MaxSpareServers 20
ServerLimit 900
MaxClients 900
MaxRequestsPerChild 250


Please note that ServerLimit should come above MaxClients
Enhanced by Zemanta

No comments:

Post a Comment