Results 1 to 2 of 2
  1. #1

    Apache Long Processes

    Hey,

    Sometimes i see apache processes taking up 100% cpu on my VPS (and i've had complaints from my host too).
    Funny thing is, when i view 'top', i see around 3 apache processes with something like 1:34:12 in the time column - which is along time for a process is it not?

    Its not a ddos since:
    1 208.108.160.131
    1 209.204.126.165
    1 212.138.64.180
    1 216.255.184.210
    1 24.148.15.52
    1 24.238.143.190
    1 58.67.202.157
    1 62.147.188.76
    1 82.234.36.202
    1 84.132.124.138
    1 84.158.84.63
    1 85.99.107.104
    1 86.142.126.170
    1 86.80.199.30
    1 88.229.42.186
    1 Address
    1 servers)
    2 196.203.44.43
    2 203.106.56.68
    2 213.63.50.217
    2 80.170.109.169
    2 81.243.98.224
    2 82.235.109.211
    2 82.236.79.136
    2 83.113.94.23
    2 86.66.136.241
    2 88.81.130.41
    4 66.249.65.3

    are the only open connections to apache.

    Theres 1.5gig burstable ram, so thats not the issue.

    Restarting apache fixes the issue for a few hours, then it happens again.

    Please advise?

    Code:
    TimeOut 40
    KeepAlive on
    MaxKeepAliveRequests 300
    KeepAliveTimeout 5
    MinSpareServers 5
    MaxSpareServers 28
    StartServers 10
    MaxClients 256
    MaxRequestsPerChild 0
    HostnameLookups Off
    Is my httpd.conf

  2. #2
    Edit: i think it was caused by: MaxRequestsPerChild 0

    I've put that back to 10000 and we'll see how it goes.

Posting Permissions

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