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 01-11-2012, 06:58 AM
Intermediate Member
 
Posts: 18
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
Reply With Quote
  #2 (permalink)  
Old 01-11-2012, 07:08 AM
Intermediate Member
 
Posts: 18
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
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.