Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2004
    Ontario Canada

    Apache Memory Issue

    I'm having an issue with what I believe is Apache. Things will be running nicely, then all of a sudden things will just 'blow up'. Apache seems to fork a bunch of new processes, and it starts ripping into the memory. I've had it essentially eat through all the free memory and swap, and the system will then freeze up as there's no more memory. This is a CentOS server running CPanel, the configuration had been up and running for a long time without problems then this suddenly started happening. Has anyone come across anything similar or can anyone suggest the best place to start looking.

    I can provide more details if needed, just let me know what you want.



  2. #2
    This is the behaviour of a newly released DOS (not DDOS) exploit named slowloris. There is an ongoing discussion of it that you can locate by using the search function.

    It is also being discussed on slashdot.

    Most Apache-like web servers and proxies are affected.

    IIS and lighthttpd are not affected. This is due to the internal design differences.
    managed dns global failover and load balance (gslb)
    uptime report for

  3. #3

    Can you use top command and monitor the server and see which process is consuming maximum cpu or memory? Once this is confirmed you can run a starce -p <pid> where pid is the process id which is consuming excessive memory this will show you what makes apache go unresponsive.

    Thank you

  4. #4
    Join Date
    Apr 2007
    I believe linux-engineer meant 'strace' not 'starce'
    Justin Yancey | Northern Virginia & District of Columbia |

  5. #5

    Yup typo mistake.. sorry for that its strace thank you Justin

  6. #6
    First check the apache status from WHM and find out if there is any specific website causing huge traffic on the server. IF thats not the case it can be a DDOS attack as well so you can find more by using the netstat command. Plenty of resources are available to avoid ddos attacks.
    Server Management, Server Security, Server Monitoring.
    India's Leading Managed Service Provider !! Skype: techs24x7

  7. #7
    Join Date
    Aug 2008
    Shoreline WA
    If you can have a SSH session open at the same time as viewing the extended server-status (which I believe Srv24x7 is talking about), you should be able to see which processes are being hogs, take note of the PID and look up what is being accessed in the extended server-status. Do this enough you should be able to get a handle on and track down what ever is causing this. I can not jump to the conclusion that it is a DDOS without a lot more information. That would sort of be like how doctors toss about eczema for any skin condition that they can not directly identify or explain.
    Jonathan Kinney
    Data Systems Specialist
    Advantagecom Networks, Inc.

  8. #8
    Join Date
    Jun 2009
    Maybe this one-liner comes handy:

Similar Threads

  1. Memory Issue
    By james_times in forum Dedicated Server
    Replies: 1
    Last Post: 02-25-2007, 10:04 PM
  2. Apache Memory Issue
    By TonyB in forum Hosting Security and Technology
    Replies: 3
    Last Post: 10-11-2006, 07:18 AM
  3. Memory Issue
    By killer15669 in forum Hosting Security and Technology
    Replies: 1
    Last Post: 04-07-2005, 10:25 AM
  4. Apache Setting? Memory Issue?
    By dcox94 in forum Hosting Security and Technology
    Replies: 2
    Last Post: 09-28-2004, 09:03 PM
  5. memory issue
    By keczupnet in forum Hosting Security and Technology
    Replies: 1
    Last Post: 01-11-2004, 07:14 AM

Posting Permissions

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