Results 1 to 2 of 2

Thread: Imap makes out of memory errors !

  1. #1
    Join Date
    Dec 2008
    Location
    Hungary
    Posts
    18
    Rep Power
    7

    Default Imap makes out of memory errors !

    Hi,

    I have a big issue with in my Zimbra server.
    I migrated from 32 to 64 bit, from centos 5.5 to centos 6.2.
    The system is working fine, but the imap-ssl service makes out of memory errors and the zmmailboxd is always stopped. 30-50 times a day!
    It's terrible...

    I readed some forums of java_heap_space and the memory optimalizations, but the problem is still...

    My system:

    Zimbra Open Source edition, for redhat 6@64 bit

    8 GB ram
    Centos 6.2@64 bit


    My memori options for zimbra:

    zmlocalconfig | grep -i mailboxd_java
    mailboxd_java_heap_new_size_percent = 20
    mailboxd_java_heap_size = 2048
    mailboxd_java_options = -server -Djava.awt.headless=true -Dsun.net.inetaddr.ttl= -XX:+UseConcMarkSweepGC -XX:PermSize=128m -XX:MaxPermSize=128m -XX:SoftRefLRUPolicyMSPerMB=1 -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationStoppedTime -XX:-OmitStackTraceInFastThrow

    I changed the conccurrent imap connections from default 200 to 600 but still.

    If i blocked the imaps service (via iptables) the zimbra is workign, but the imap is needed for us.

    Any idea?

    Best regards,

    Tibor

  2. #2
    Join Date
    Dec 2008
    Location
    Hungary
    Posts
    18
    Rep Power
    7

    Default

    cut from mailbox.log


    2012-01-11 00:04:54,401 FATAL [ImapSSLServer-1] [] system - out of memory
    java.lang.OutOfMemoryError: Java heap space
    at java.lang.StringCoding$StringEncoder.encode(String Coding.java:232)
    at java.lang.StringCoding.encode(StringCoding.java:27 2)
    at java.lang.String.getBytes(String.java:946)
    at org.apache.commons.codec.net.RFC1522Codec.encodeTe xt(RFC1522Codec.java:93)
    at org.apache.commons.codec.net.BCodec.encode(BCodec. java:109)
    at com.zimbra.cs.imap.ImapMessage.nstring2047(ImapMes sage.java:422)
    at com.zimbra.cs.imap.ImapMessage.serializeStructure( ImapMessage.java:614)
    at com.zimbra.cs.imap.ImapHandler.fetch(ImapHandler.j ava:3369)
    at com.zimbra.cs.imap.ImapHandler.doFETCH(ImapHandler .java:3179)
    at com.zimbra.cs.imap.ImapHandler.executeRequest(Imap Handler.java:425)
    at com.zimbra.cs.imap.TcpImapHandler.processCommand(T cpImapHandler.java:111)
    at com.zimbra.cs.tcpserver.ProtocolHandler.processCon nection(ProtocolHandler.java:199)
    at com.zimbra.cs.tcpserver.ProtocolHandler.run(Protoc olHandler.java:140)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

    Tibor

Similar Threads

  1. ZCS 7.1.3 IMAP Folder sync problem
    By jfthibault in forum Administrators
    Replies: 1
    Last Post: 03-20-2013, 12:38 PM
  2. Java Imap Errors - Disconnect?
    By giggety in forum Administrators
    Replies: 1
    Last Post: 03-03-2008, 03:09 PM
  3. i/o errors, no web login, IMAP fails, no fun
    By jpbuse in forum Administrators
    Replies: 0
    Last Post: 02-06-2008, 09:51 PM
  4. External IMAP errors
    By Vladimir in forum Administrators
    Replies: 0
    Last Post: 01-10-2008, 12:41 PM
  5. IMAP connection errors
    By toolcaserp in forum Administrators
    Replies: 0
    Last Post: 12-18-2007, 05:01 PM

Posting Permissions

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