Results 1 to 6 of 6

Thread: memory

  1. #1
    jens_acamedia is offline Intermediate Member
    Join Date
    Apr 2007
    Posts
    17
    Rep Power
    8

    Default memory

    I have a server installation on a server with Ubuntu Dapper and 1 gb of RAM. running Zimbra Community 4.5.9

    I've turned off logger, antivirus and anything I could think of. Upon start the memory usage is 400 mb and over about a month it stays steady at 570 mb with 15 users.

    Than once in a while users complain and I check in with the server. And it has maxed out its ram.

    The top command tells me that java demands 30 % but there seems to be not other process using much.

    Id be really grateful for tips on this. Its happened twice now and I dont have a clue. Each time it was working fine and steady for 30 days and then all of a sudden was maxed out and unusable...

    BTW... ZImbra is awesome! Thanks a lot...Support is fantastic etc. Thanks...
    Last edited by jens_acamedia; 10-30-2007 at 08:34 AM. Reason: mea culpa

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    You really should increase the RAM on this server to at least 2GB, even with only 15 users you'll find it runs better. There are some tips on reducing memory usage here. Please remember that we don't recommend you use these settings as the defaults are what we suggest as being the best for running the server, YMMV.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    jens_acamedia is offline Intermediate Member
    Join Date
    Apr 2007
    Posts
    17
    Rep Power
    8

    Default

    thanks phoenix.

    unfortunately 2gb will cost us double the price of 1 gb. the difference between 600 and 1200 USD a year is substantial for this little environmental consulting firm.

    i have followed the instructions in the link youve given me and was quite happy to have the usage stable at 570 mb.

    it seems that memory usage sometimes (rarely) surges and doesnt recover.

    dont you think that there is something wrong if i have consistent usage over 30 days with no problems and then the server gets "stuck" at 1 gb until i shutdown and restart services...

    id love to simply upgrade to 2 gb but if there's another tip id be grateful...

    will 5.0 resolve the issues im detailing? will it require more or less RAM.

    thanks again

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    Well, the problem is I don't know what's happening every thirty-days. Do you have any other processes running or scheduled to run at that time? Is it a consistent problem? Have you reduced the services that are running in the operating system to a minimum?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    jens_acamedia is offline Intermediate Member
    Join Date
    Apr 2007
    Posts
    17
    Rep Power
    8

    Default

    thanks again phoenix. dont want to take up your time but really appreciate your input...

    its an ubuntu dapper server distribution with minimal services running.

    its not consistently every 30 days and id love to try to track it down but i'm a bit lost as to how i would start.

    basically top shows me 1 gb used and breaks it down (sorted by ram usage) to

    java 30 %
    6 instances of amavisd at roughly 1.6 % each
    other processes all at less than 1 %.

    So I dont know where to start. Where could the memory have gone???

    what log files etc should i be looking at?

    should i assume zimbra has nothing to do with this behaviour or is it possible that zimbra could "lock" when it hits maximum ram and not find a way of releasing the memory?

    thanks

  6. #6
    jens_acamedia is offline Intermediate Member
    Join Date
    Apr 2007
    Posts
    17
    Rep Power
    8

    Default this helps - but why

    i think this helps:

    zmlocalconfig -e tomcat_java_heap_memory_percent=30

    what would be really great is if somebody could explain what this does...

    in the performance tips phoenix pointed to the guy had set this to 40 apparently without knowing what it does or what uses less ram...

    if there is any way to reduce amavisd instances to say 4 this would solve my issues i believe...would mean slower mail handling i suppose but thats acceptable some times...

    anyhow. feedback on these two - heap size for tomcat and amavisd instances would help those like me with fewer resources a great deal...

    thanks, Jens

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Maximum memory
    By ipguru99 in forum Installation
    Replies: 3
    Last Post: 09-11-2007, 06:15 AM
  2. Zimbra on a VDS - Memory Problems
    By Oswald-Kolle in forum Installation
    Replies: 4
    Last Post: 05-18-2006, 05:51 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
  •