Find the answer to your Linux question:
Results 1 to 6 of 6
Well hello thar. I've got a VPS running Ubuntu 9.10 and I've got an issue with the system using nearly all of the allocated RAM on basically idle. The services ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    3

    A Question of RAM

    Well hello thar.

    I've got a VPS running Ubuntu 9.10 and I've got an issue with the system using nearly all of the allocated RAM on basically idle. The services I've initiated are: postfix, irssi, lighttpd, php & MySQL. I can't work out what's causing it. At the moment I have to perodically reboot the server whch is less than awesome when your email is running off it!

    Any ideas folks?
    Last edited by PabloTeK; 11-17-2009 at 10:36 AM. Reason: I'm an idiot.

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Hello and Welcome,
    Have you tried using the top command, to see what's eating your resources?
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    Linux memory management is different from windows memory management. Are you sure it is actual memory being used and not memory used for buffers/cache? Look at output of free -m command, pay attention to second line.
    Code:
                 total       used       free     shared    buffers     cached
    Mem:          3267       3207         60          0        216        851
    -/+ buffers/cache:       2139       1128
    Swap:          298         94        204
    It looks like i'm using all my memory, but in actuality I'm only using about 2gb.

  4. #4
    Just Joined!
    Join Date
    Nov 2009
    Posts
    3
    Code:
    paul@benetton:~$ free -m
                 total       used       free     shared    buffers     cached
    Mem:           246        192         54          0         20        122
    -/+ buffers/cache:         49        197
    Swap:          255          0        255
    I've got that, does that mean I'm not actually using that much? I'm new to Linux's memory managment!

  5. #5
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    According to your output you are only actually using 49mb out of 246mb available. The rest is being used by cache. Are you experiencing a problem or did you just assume there was one since you thought the memory usage was so high?

  6. #6
    Just Joined!
    Join Date
    Nov 2009
    Posts
    3
    No no, because I'm a Windows user traditionally I thought using almost all of it was a leak rather than caching. Thanks people!

Posting Permissions

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