Find the answer to your Linux question:
Results 1 to 3 of 3
I have just installed Debain 6.0 minimal x64 and the overall RAM usage after an update with apt-get is at 32 MB. I then installed apache2 using apt-get and the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2012
    Posts
    6

    Apche2 Using Over 500 MB of RAM


    I have just installed Debain 6.0 minimal x64 and the overall RAM usage after an update with apt-get is at 32 MB. I then installed apache2 using apt-get and the RAM usage jumped to 522 MB.

    I eventually want to add PHP and MySQL to this server and use less than 75 MB so this single process using over 500 MB is not acceptable to me.

    Why is it using so much memory?

  2. #2
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,483
    what is shown by the -/*-+ buffers/cache line when running
    Code:
    free -m
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    34
    hi

    Please try to find out how many Apache child process gets started and how many threads for each child process , You can get the info from the httpd.conf of Apache
    We need to find out what are the modules that are been used by Apache and Loaded

    The high memory usage does it come when Apache starts processing the traffic or by default it holds so much of memory

    Thanks
    Philix

Posting Permissions

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