Results 1 to 4 of 4
-
08-26-2007, 05:58 PM #1Web Hosting Master
- Join Date
- Dec 2006
- Posts
- 599
Apache using up 2gb of ram within 30 minutes
Hi,
I've got two websites on my server.
As soon as I turn on site #2, apache starts eating up the ram.
After 30 minutes server goes into swap, and the sleeping processes starts increasing.
Reason why I know it's apache, is if I stop apache, the amount of free ram immediately starts increasing.
Is this a misconfiguration of Apache?
-
08-26-2007, 06:00 PM #2Web Hosting Master
- Join Date
- Mar 2003
- Location
- Canada
- Posts
- 9,072
What type of site is "site #2" ... is it a forum, CMS, blog, etc?
RACK911 Labs | Penetration Testing | https://www.RACK911Labs.ca
www.HostingSecList.com - Security Notices for the Hosting Community.
-
08-26-2007, 06:03 PM #3Web Hosting Master
- Join Date
- Dec 2006
- Posts
- 599
Both of the sites are forums
-
08-26-2007, 06:21 PM #4Web Hosting Master
- Join Date
- Mar 2003
- Location
- Canada
- Posts
- 9,072
What forum software and how many visitors per day, roughly?
... regardless though, 2GB of RAM being used within 30 minutes seems a bit excessive. When you do notice all of that RAM being used, how many httpd processes are running?
Next time, run:
ps aux | grep -c httpd
If PHP suEXEC is installed, run:
ps aux | grep -c php