Results 1 to 4 of 4
  1. #1
    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?

  2. #2
    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.

  3. #3
    Join Date
    Dec 2006
    Posts
    599
    Both of the sites are forums

  4. #4
    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

Posting Permissions

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