Results 1 to 4 of 4

Thread: [SOLVED] Mailboxd Memory Consumption - Possibly Something Caused by BES?

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default [SOLVED] Mailboxd Memory Consumption - Possibly Something Caused by BES?

    I'm having a little fun with a mailbox server and hoping someone can help me out.

    This server literally has no users on it. We switched a BES over to use it and mailboxd keeps crashing reporting that Java heap was out of memory. I bounce mailboxd and everything is cool again for 10 minutes, an hour, two days.. who knows.

    It started out with only 2GB of memory, but it was only handling LDAP traffic and BES traffic so we didn't think it would need all that much. We allotted it 40% memory for Java heap. After the first couple of times, I increased that to 50%. When that didn't help I added a GB of RAM. Then a second processor. Then another GB of RAM (it's on VMware ESX). Now, mailboxd is still crashing, but somehow magically recovering (seen in the logs and from our monitoring system). Shortly after the crash, I see messages about services starting again in /opt/zimbra/log/mailbox.log.

    It seems to be happening when the BES is checking a certain mailbox, but I can't seem to find anything terribly different about that account. I started noticing after a few crashes that it all seemed too familiar and I was right. grep FATAL /opt/zimbra/log/mailbox.log revealed a bunch of these:
    Code:
    2009-10-13 13:03:05,286 FATAL [btpool0-17] [name=user@domain.com;aname=bes_admin@domain.com;ip=172.16.0.154;ua=ZimbraConnectorForBES/5.0.2711.18;] system - handler exception
    There were a bunch of those lines (without the grep they are followed by stack traces for out of memory) and no other users are shown in the logs on the same line as "FATAL".

    The mailboxd process doesn't seem to be using all that much memory. When I watch it in top, Java typically takes up something like 15-20% all the time. Then suddenly, it will quickly climb to over 60% (larger than 50% which is allegedly the max), and it crashes.

    The performance graphs in ESX seem to indicate the same thing. All of a sudden the VM starts consuming large amounts of memory until mailboxd crashes. Then slowly it lets go until the same thing happens again.


    Is there anything else I can check? I should note.. this user does speak French, so it could be that there's some funky character in there, but I'm not seeing any problems viewing this person's mail or anything indicating that it's hitting a bad character.

  2. #2
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    So.. it seems to be consistent for a few messages now.

    1) user receives messages
    2) BES checks in
    3) mailboxd crash

    I didn't find anything when searching.

    Anyone else see this?

  3. #3
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    In case anyone is interested or reading this later, we've opened a support case with Zimbra. I'll try to remember to post what we come up with.

  4. #4
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    Well.. In case anyone runs across this while searching, we ended up finding a corrupt calendar event in that user's mailbox. Something (not sure what yet) parsed a special character incorrectly and replaced it with a bunch of characters causing the size of the event to 55MB. Zimbra support supplied us with a replacement blob and after replacing it, we haven't seen the issue since.

Similar Threads

  1. Massive Memory Consumption
    By hspcd in forum General Questions
    Replies: 6
    Last Post: 06-29-2009, 11:34 AM
  2. [SOLVED] Java Memory Consumption Problem
    By LMStone in forum Administrators
    Replies: 2
    Last Post: 12-20-2008, 12:18 PM
  3. Replies: 0
    Last Post: 11-17-2008, 08:40 AM
  4. Memory usage not stable!???
    By Wilson_Lee in forum Administrators
    Replies: 0
    Last Post: 10-08-2008, 08:03 PM
  5. Client memory consumption
    By gareth in forum Users
    Replies: 1
    Last Post: 08-09-2006, 07:08 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
  •