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

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 04-16-2008, 04:15 PM
Trained Alumni
 
Posts: 258
Default [SOLVED] mailbox is dead

Hi guys i got a big issue, i was tunning my zimbra using this doc: Performance Tuning Guidelines for Large Deployments - Zimbra :: Wiki

in the mailbox part i did

zmlocalconfig -e mailboxd_java_options="-client -XX:NewRatio=2 -XX:MaxPermSize=128m -Djava.awt.headless=true -XX:SoftRefLRUPolicyMSPerMB=1 -XX:+UseParallelGC"

and my mailbox is dead, is there a way to reset this config?

I got a zimbra 5.0.4 on suse 10.1 thanks
Reply With Quote
  #2 (permalink)  
Old 04-16-2008, 04:31 PM
Moderator
 
Posts: 6,237
Default

What's the errors you get in your logs when you startup/when it crashes?
Does it work fine if you remove the ParallelGC?
zmlocalconfig -e mailboxd_java_options="-client -XX:NewRatio=2 -Djava.awt.headless=true -XX:MaxPermSize=128m -XX:SoftRefLRUPolicyMSPerMB=1"
Reply With Quote
  #3 (permalink)  
Old 04-16-2008, 04:38 PM
Trained Alumni
 
Posts: 258
Default

Found the problem but it gaves me a lot of work to do :s

it was a miss typing error but here is a little guide if you guys got similar problems

the problem was that my mailbox can't start, so first i go to /var/log/zimbra.log

i found this:

syncmail:/opt/zimbra/openldap/bin # tail /var/log/zimbra.log
Apr 16 18:28:22 syncmail zmmailboxdmgr[15848]: start requested
Apr 16 18:28:22 syncmail zmmailboxdmgr[15848]: checking if another instance of manager is already running
Apr 16 18:28:22 syncmail zmmailboxdmgr[15848]: stale pid 10432 found in /opt/zimbra/log/zmmailboxd.pid: No such process
Apr 16 18:28:22 syncmail zmmailboxdmgr[15848]: assuming no other instance is running
Apr 16 18:28:22 syncmail zmmailboxdmgr[15849]: wrote manager pid 15849 to /opt/zimbra/log/zmmailboxd.pid
Apr 16 18:28:22 syncmail zmmailboxdmgr[15849]: manager started mailboxd/JVM with pid 15850
Apr 16 18:28:22 syncmail zmmailboxdmgr[15849]: manager woke up from wait on mailboxd/JVM with pid 15850
Apr 16 18:28:22 syncmail zmmailboxdmgr[15849]: manager started mailboxd/JVM with pid 15852
Apr 16 18:28:22 syncmail zmmailboxdmgr[15849]: manager woke up from wait on mailboxd/JVM with pid 15852
Apr 16 18:28:22 syncmail zmmailboxdmgr[15849]: mailboxd/JVM exited twice in 0 seconds (tolerance=60)


so as you can see JVM is not starting, what i do after is to check out: /opt/zimbra/log/zmmailboxd.out

here i found the error:

Unrecognized VM option 'SoftRefLRUPolicyMSPerlMB=1'
Could not create the Java virtual machine.

seems like i like to Perl something there, so what i did was as zimbra user:

zmlocalconfig -e mailboxd_java_options="-client -XX:NewRatio=2 -XX:MaxPermSize=128m -Djava.awt.headless=true -XX:SoftRefLRUPolicyMSPerMB=1 -XX:+UseParallelGC"


and look if i miss type anything else, after it, i zmcontrol stop/start

and all gets back

this cost me a little stress because i was lookin for the error:


Apr 16 18:20:54 syncmail zmmailboxdmgr[12764]: status requested
Apr 16 18:20:54 syncmail zmmailboxdmgr[12764]: stale pid 10432 found in /opt/zimbra/log/zmmailboxd.pid: No such process
Apr 16 18:20:54 syncmail zmmailboxdmgr[12764]: assuming no other instance is running
Apr 16 18:20:54 syncmail zmmailboxdmgr[12764]: no manager process is running

but not to the VM error, that's why i was lost :s i hope this thread helps someone else is a simple error but gives you a lot of work if you don't know what are you doing :s so good luck guys
Reply With Quote
  #4 (permalink)  
Old 04-16-2008, 04:48 PM
Moderator
 
Posts: 6,237
Default

Gotta love what happens when you throw in an extra l (ell)
-XX:SoftRefLRUPolicyMSPerlMB=1 vs the correct -XX:SoftRefLRUPolicyMSPerMB=1
marking thread solved
Reply With Quote
  #5 (permalink)  
Old 04-16-2008, 04:52 PM
Trained Alumni
 
Posts: 258
Default

Yeah, well a little stress is good for my health some times hahahahaha
Reply With Quote
  #6 (permalink)  
Old 06-15-2009, 07:36 AM
New Member
 
Posts: 3
Default Sort of the same issue

My Zimbra services all stopped responding. My phone was on vibrate, so I didn't get the SMS alerts till users were starting to hit the box...thats my problem.

The Zimbra issue is this:

I started to see this and chase it down;

Jun 15 01:01:32 mailhost zmmailboxdmgr[31000]: stale pid 7363 found in /opt/zimbra/log/zmmailboxd.pid: No such process
Jun 15 01:01:32 mailhost zmmailboxdmgr[31034]: stale pid 7363 found in /opt/zimbra/log/zmmailboxd.pid: No such process
Jun 15 01:02:04 mailhost zmmailboxdmgr[31286]: stale pid 7363 found in /opt/zimbra/log/zmmailboxd.pid: No such process
Jun 15 01:02:44 mailhost zmmailboxdmgr[31818]: stale pid 7363 found in /opt/zimbra/log/zmmailboxd.pid: No such process

then I looked right above that and found this;

Jun 15 01:01:06 mailhost zmmailboxdmgr[7363]: manager woke up from wait on mailboxd/JVM with pid 7364
Jun 15 01:01:06 mailhost zmmailboxdmgr[7363]: manager started mailboxd/JVM with pid 30526
Jun 15 01:01:31 mailhost zmmailboxdmgr[7363]: manager woke up from wait on mailboxd/JVM with pid 30526

so i poked around and found this;

Jun 15 01:01:06 mailhost zmmailboxdmgr[7363]: manager woke up from wait on mailboxd/JVM with pid 7364
Jun 15 01:01:06 mailhost zmmailboxdmgr[7363]: manager started mailboxd/JVM with pid 30526
Jun 15 01:01:31 mailhost zmmailboxdmgr[7363]: manager woke up from wait on mailboxd/JVM with pid 30526
Jun 15 01:01:31 mailhost zmmailboxdmgr[7363]: mailboxd/JVM exited twice in 25 seconds (tolerance=60)

my current config looks like this -

mailboxd_java_options = -client -XX:NewRatio=2 -XX:MaxPermSize=128m -Djava.awt.headless=true -XX:SoftRefLRUPolicyMSPerMB=1 -XX:+UseParallelGC

Any help on why this occurred would be great.
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.