sleeping processes

Discussion in 'Apache' started by champ_rock, Jan 12, 2008.

  1. #1
    Tasks: 1727 total, 16 running, 1707 sleeping, 0 stopped, 4 zombie


    i think the number of sleeping processes are too great which is causing my server to crash and have extreme loads.

    can u please recommend what might be causing the problem?
     
    champ_rock, Jan 12, 2008 IP
  2. Kwaku

    Kwaku Well-Known Member

    Messages:
    1,217
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    140
    #2
    What are you hosting? 1700+ processes is a lot to start with, 1700+ sleeping is weird. I would like to check on your server if you allow me ; I am curious about this. I will tell you what the problem is after I have checked; please PM me if you want.
     
    Kwaku, Jan 12, 2008 IP
  3. champ_rock

    champ_rock Peon

    Messages:
    3,349
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i am hosting normal proxies. the traffic i normal but recently server load as well as processes are shooting up
     
    champ_rock, Jan 12, 2008 IP
  4. Orien

    Orien Active Member

    Messages:
    593
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Post your httpd.conf (specifically the MaxClients, KeepAlive settings, etc).
     
    Orien, Jan 12, 2008 IP
  5. champ_rock

    champ_rock Peon

    Messages:
    3,349
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    0
    #5
    champ_rock, Jan 13, 2008 IP
  6. 48m.org

    48m.org Peon

    Messages:
    93
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You blocking China? I had a lot of proxy issues, started to look, and I was being flooded with Chinese visitors who had a perpensity to download GB's of porn. You can most of China by adding the following iptables rules :


    -A INPUT -s 222.0.0.0/255.0.0.0 -j DROP
    -A INPUT -s 221.0.0.0/255.0.0.0 -j DROP
    -A INPUT -s 220.0.0.0/255.0.0.0 -j DROP
    -A INPUT -s 219.0.0.0/255.0.0.0 -j DROP
    -A INPUT -s 218.0.0.0/255.0.0.0 -j DROP
    -A INPUT -s 203.0.0.0/255.0.0.0 -j DROP
     
    48m.org, Jan 13, 2008 IP
  7. champ_rock

    champ_rock Peon

    Messages:
    3,349
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    0
    #7
    yup i already block full CHina :)
     
    champ_rock, Jan 13, 2008 IP