Jump to content

Need Help HTTPD server wont start


fry2010

Recommended Posts

Hi, I have vps solution using parralells plesk control panel. All services are running, except httpd service will not start and it gives no errors. It simply states: failed.

 

I have checked the httpd error files and get this:

 

error_log.txt =

[sun Oct 02 04:10:57 2011] [notice] Digest: generating secret for digest authentication ...

[sun Oct 02 04:10:57 2011] [notice] Digest: done

[sun Oct 02 04:10:58 2011] [notice] mod_python: Creating 4 session mutexes based on 10 max processes and 0 max threads.

[sun Oct 02 15:42:03 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

 

 

error_log.1.txt =

[sun Oct 02 04:10:57 2011] [notice] SIGHUP received. Attempting to restart

WARNING: MaxClients of 256 exceeds ServerLimit value of 10 servers,

lowering MaxClients to 10. To increase, please see the ServerLimit

directive.

 

I have then looked into the conf.d/swtune.conf file since that seems to be where the max client problem is occuring and changed the values to this:

 

<IfModule prefork.c>

StartServers      1

MinSpareServers    1

MaxSpareServers    5

ServerLimit      255

MaxClients        255

MaxRequestsPerChild  4000

</IfModule>

 

There is also a worker.c mod but I have not changed that. It looks like:

<IfModule worker.c>

StartServers      1

MaxClients        10

MinSpareThreads    1

MaxSpareThreads    4

ThreadsPerChild    25

MaxRequestsPerChild  0

</IfModule>

 

Btw I only made this change AFTER the problem occured.

Link to comment
https://forums.phpfreaks.com/topic/248292-need-help-httpd-server-wont-start/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.