Results 1 to 6 of 6
  1. #1

    Server seems busy

    Welcome,

    I have a pages with high load - load avg is about 10-20.

    and in the error_log of the apache message:

    [Mon Mar 17 18:10:19 2008] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 6 idle, and 32 total children

    I have in apache:

    KeepAlive On
    MaxKeepAliveRequests 100
    KeepAliveTimeOut 1
    StartServers 15
    MinSpareServers 15
    MaxSpareServers 20
    MaxClients 256
    MaxRequestsPerChild 500

    What values should be of these parameters for the such high traffic pages?

    Best regards,
    Mariusz Jokiel

  2. #2
    I changed only in the middle time to the Default: MaxRequestsPerChild 10000. But please, maybe you have some ideas?

  3. #3
    Looks like you are spawning apache processes too often?

    Maybe increase MaxSpareServers 20 to 36?

  4. #4
    Quote Originally Posted by benseb View Post
    Looks like you are spawning apache processes too often?

    Maybe increase MaxSpareServers 20 to 36?
    It doesn't helps:

    [Mon Mar 17 20:11:54 2008] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 13 idle, and 66 total children

  5. #5
    Surely that error message means that apache is spawning new child processes, which it should only do if the number of spares is too low (eg if you have a traffic surge)

    The above shows that you have 66 child proesses,13 idle (hence it's adding more as you've set minspareservers to 15)

    You need to get to the point where it's not spawning new processes all the time, but also is not having loads spare. with 66 running, perhaps set

    StartServers 20
    MinSpareServers 20
    MaxSpareServers 50

    it wont be right first time...

    what specs are your server?

  6. #6
    try doing this
    MaxClients 500
    MaxRequestsPerChild 500

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •