Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Memory use

  1. #1
    Viking0 is offline Active Member
    Join Date
    Jun 2008
    Location
    Chile
    Posts
    39
    Rep Power
    6

    Default Memory use

    Hi.

    I tested my new server sending 5000 local mails.
    It took it 15 min to send them all and clean the queue.
    When during this task I noticed that the memory use went to 5 GB.
    30 min. after this test, the server still uses 5 GB of memory.

    Is this normal?
    At some point is it going to release that memory??
    is possible to improve this?


    Thanks.

    PD. Sorry for my bad english

  2. #2
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    define memory use

  3. #3
    Viking0 is offline Active Member
    Join Date
    Jun 2008
    Location
    Chile
    Posts
    39
    Rep Power
    6

    Default

    Before I did this test it was using 1 GB of memory


    root@correo1:~# free
    total used free shared buffers cached
    Mem: 8308328 4989552 3318776 0 309664 2271544
    -/+ buffers/cache: 2408344 5899984
    Swap: 15623204 0 15623204

  4. #4
    Viking0 is offline Active Member
    Join Date
    Jun 2008
    Location
    Chile
    Posts
    39
    Rep Power
    6

    Default

    After 90 min the server still using 5 gb of ram.

    root@correo1:~# free
    total used free shared buffers cached
    Mem: 8308328 4993256 3315072 0 311916 2273180
    -/+ buffers/cache: 2408160 5900168
    Swap: 15623204 0 15623204

  5. #5
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    10

    Default

    if it makes you feel better i have 190 users amd i'm currently using almost all of my 16GB of ram. I think thats just hte nature of linux. if it has the ram, it'll use it.

  6. #6
    Viking0 is offline Active Member
    Join Date
    Jun 2008
    Location
    Chile
    Posts
    39
    Rep Power
    6

    Default

    After several hours I restarted Zimbra and it finally relased the memory it was not using.

    bdial,
    I'm not an expert but I don't think it is a Linux problem, but a Zimbra problem, I have other linux server and they dont behave the same way, they don't waste memory like this.

    Has anyone solved this on their servers.
    Some config to change???
    anything???

  7. #7
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    10

    Default

    go to the zimbra wiki, there are several performance tuning guidelines.

    i'm typing this on my linux laptop. it's a opensuse box running kde. i have firefox, a couple of xterms, and a few docked apps running. i'm currently using 1.7G out of 2GB of ram. my system isn't running "slow" though.

    i'm no expert on ram usage in linux either, but it seems like every linux box i've used has had high memory usage. it's fine usually it's when the system starts to swap that worries me.

  8. #8
    rotorboy is offline Special Member
    Join Date
    Mar 2008
    Location
    Canada
    Posts
    148
    Rep Power
    7

    Default

    Hi Viking0,
    I agree with Bdial... on my CentOS machines I see this same issue with Zimbra and a few other applications we run on other machines. When the RAM is needed, they scale up use and when the RAM isn't needed, it allows the RAM to stay available for the application - unless something comes along that needs the RAM.

    This has caused us 0 problems so far...

  9. #9
    knabe is offline Trained Alumni
    Join Date
    Oct 2007
    Posts
    55
    Rep Power
    7

    Default

    I currently have 25 users on a server with 8GB of RAM and after a couple of days the java process starts using SWAP which is causing high IO and terrible performance. I am on 5.0.9. Memory leak?

  10. #10
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    linux is designed to use as much memory as it can - the philosophy is that you buy RAM to use it, not to sit there doing nothing. so while free/top/etc will happily report 100% usage all day, in actual fact most of it is usually being used for caching. it's only if the box starts to swap that you have problems. if you look at /proc/meminfo and look at the cache/dirty/clean fields - google for an explanation - you'll usually find that only a small amount of the memory is actually locked.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Memory usage not stable!???
    By Wilson_Lee in forum Administrators
    Replies: 0
    Last Post: 10-08-2008, 07:03 PM
  2. High Swap File Usage, Lots of Memory Free
    By krknopp in forum Administrators
    Replies: 6
    Last Post: 04-22-2008, 12:53 AM
  3. Won't start with too much memory on 32 bits
    By rodrigoccurvo in forum Installation
    Replies: 3
    Last Post: 02-02-2006, 11:03 AM
  4. Replies: 0
    Last Post: 12-28-2005, 09:28 AM

Posting Permissions

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