Find the answer to your Linux question:
Results 1 to 6 of 6
Hello, recently i noticed that something uses a lot of ram so i sorted top by memmory usage and i saw that there are a lot of apache processes that ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    2

    A lot of apache processes


    Hello, recently i noticed that something uses a lot of ram so i sorted top by memmory usage and i saw that there are a lot of apache processes that each use about 200mb of ram. Killing the process doesnt help. I tried to google, but couldn't find anything similar. Hope someone helps me.
    Attached Images Attached Images

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    i'm not an apache expert, but you need to look at the RES column in order to see actual memory usage of a process

    also, use free -m command to see actual free memory, -/+ buffers/cache line is what you want to look at

  3. #3
    Just Joined!
    Join Date
    Jun 2010
    Posts
    2
    Thanks for reply. In "RES" section apache uses 13mb that doesnt hurt but something eats all my memmory. If i add everything from top it will be about 2-3gb but not 6gb.

    EDIT:
    Code:
    debian:~# free -m
                 total       used       free     shared    buffers     cached
    Mem:          5986       5692        293          0        481       3409
    -/+ buffers/cache:       1801       4185
    Swap:        17539          0      17539
    Quote Originally Posted by coopstah13 View Post
    also, use free -m command to see actual free memory, -/+ buffers/cache line is what you want to look at
    So i got 4gb free?
    Attached Images Attached Images

  4. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,559
    Well, technically* it's been assigned to buffers and cache to speed things up. But when it is needed for actual work it will be used - so it's available. I've never been able to make up my mind if that actually counts as free**


    * The best kind of cally. Apart from my cat.

    ** One for the philosophers.
    What do we want?
    Time machines!

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


    The Fifth Continent

  5. #5
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you have 1801 mb used, 4185 of physical memory free for applications to access (and do clarify for roky, that would be once the buffers and cache are freed if necessary)

  6. #6
    Just Joined!
    Join Date
    Jan 2008
    Location
    Ukraine, Russia
    Posts
    7
    normal memory usage. Not abnormal.

Posting Permissions

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