Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-15-2008, 10:16 AM
Member
 
Posts: 10
Default Mailboxd fails to start after install due to java heap memory percent

I've been having consistent problems(last 4 upgrades) where during the final stage of the upgrade, the mailbox service does not start because of the java heap memory percent being allocated too large. I have to manually go into the zmmailboxdctl file in /opt/zimbra/bin and hard code a jm=1300 size which sets the mailboxd_java_heap_memory_percent to 46 instead of letting the system calculate it on it's own. I am running 4GB of memory at FC7. Bug 21348 seems to be the orignal problem but it was closed as fixed but I still have the issue. I have seen tuning notes about the default max user space being 2GB in a 32 bit environment but it seems like the install scripts calculates over that amount. Any help would be appreciated.

One fallout is this in the log:

Upgrading Document templates...
Sat Dec 13 22:01:04 2008 *** Running as zimbra user: /opt/zimbra/bin/zmprov ut -h zimbra.acme.com /opt/zimbra/wiki/Template
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Sat Dec 13 22:01:05 2008 failed.
Sat Dec 13 22:01:05 2008 Restarting mailboxd...
Sat Dec 13 22:01:05 2008 *** Running as zimbra user: /opt/zimbra/bin/zmmailboxdctl restart
Stopping mailboxd...mailboxd is not running

Last edited by ozlee; 12-15-2008 at 10:36 AM..
Reply With Quote
  #2 (permalink)  
Old 12-15-2008, 03:05 PM
Zimbra Employee
 
Posts: 604
Default

Instead of modifying the startup script you should change the localconfig value for mailboxd_java_heap_memory_percent to something suitable for your system. That value should then be retained during upgrades.

On a 32bit 4GB system it should be set to 37 or lower.

Code:
zmlocalconfig -e mailboxd_java_heap_memory_percent=37
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 12-16-2008, 09:24 AM
Member
 
Posts: 10
Default

Have changed the value to 37 per your recommendation and will see if it is retained during the next upgrade. Thx for the help.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.