apache2 crash

  • Hello,

    I am having a little trouble at times my web server crash as error message:

    Sat Mar 14 16:16:53 2015] [error] server reached MaxClients setting, consider raising the MaxClients setting"

    Do you have a solution please?
    Here is my apache2 conf:

    <IfModule mpm_prefork_module>
    StartServers 5
    MinSpareServers 5
    MaxSpareServers 10
    MaxClients 150
    MaxRequestsPerChild 0

    Thank you in advance.

  • Moved to offtopic. So you should raise the MaxClients setting...

  • Thank you for having moved my position.
    Must be changed in the apache2.conf file or in another file too?
    Because I see that the parameter is present in several files:

    # find /etc -type f -exec grep -l 'MaxClients' {} +

    Thank you in advance.

  • This is due apache, so in the apache config file...

  • Oh my god... Such noobs here... <X @Ninos, really, I don't know how you can stay calm ;)


  • First of all Apache don't crashes, but rather the Apache don't deliver any sites, because the MaxClients is reached.

    If you search for "server reached MaxClients" here or at Google, you will find a lot of explanations.

    Are you sure that a server in the big evil internet is the right thing for you?

  • It is perhaps not worth it when even called me a noob @Nuxwin

    I asked the question just because I could see that the value was in several file so I demais me if you had to change it on apache or also imscp.
    Excuse me, I just evil speaks English ..
    No need to say that I am a noob, or is respect ..
    Thank you.