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 08-01-2011, 07:45 AM
Special Member
 
Posts: 160
Default OutOfMemory

2011-07-27 12:24:20,775 INFO [main] [] index - Initialized Index for mailbox 2061 directory: LuceneIndex at com.zimbra.cs.index.Z23FSDirectory@/opt/zimbra/index/0/2061/index/0 Analyzer=com.zimbra.cs.index.ZimbraAnalyzer@370aa2 82
2011-07-27 12:24:20,775 INFO [main] [] cache - initializing folder and tag caches for mailbox 2061
2011-07-27 12:24:20,782 INFO [main] [] mbxmgr - Mailbox 2061 account a2f2cfe8-bc36-4f90-9757-b42934012009 LOADED
2011-07-27 12:24:21,365 FATAL [main] [] system - out of memory
java.lang.OutOfMemoryError: Java heap space
at org.apache.lucene.index.TermInfosReader.ensureInde xIsRead(TermInfosReader.java:173)
at org.apache.lucene.index.TermInfosReader.get(TermIn fosReader.java:225)
at org.apache.lucene.index.TermInfosReader.get(TermIn fosReader.java:218)
at org.apache.lucene.index.SegmentTermDocs.seek(Segme ntTermDocs.java:55)
at org.apache.lucene.index.IndexReader.termDocs(Index Reader.java:780)
at org.apache.lucene.index.DocumentsWriter.applyDelet es(DocumentsWriter.java:952)
at org.apache.lucene.index.DocumentsWriter.applyDelet es(DocumentsWriter.java:918)
at org.apache.lucene.index.IndexWriter.applyDeletes(I ndexWriter.java:4339)
at org.apache.lucene.index.IndexWriter.doFlush(IndexW riter.java:3579)
at org.apache.lucene.index.IndexWriter.flush(IndexWri ter.java:3450)


This is causing the mailboxd to hang - and a restart is required. I have 16 gig of ram and am set to heap memory percent = 25.. Which is what I understand to be sufficient??
Reply With Quote
  #2 (permalink)  
Old 08-01-2011, 10:41 AM
Special Member
 
Posts: 146
Default

What is your OS and OS version? You use virtual machine?
if you are using a virtual machine. If so, what solutions?
Reply With Quote
  #3 (permalink)  
Old 08-02-2011, 06:17 AM
Special Member
 
Posts: 160
Default

Quote:
Originally Posted by soba@ukw.edu.pl View Post
What is your OS and OS version? You use virtual machine?
if you are using a virtual machine. If so, what solutions?
I am using redhat 5 - virtual machine on vsphere 4.0. 2vcpu, 16gb ram. I have not had any solution or suggestion about this problem.

To be honest, 70% of my posts here go unanswered.
Reply With Quote
  #4 (permalink)  
Old 08-02-2011, 07:10 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Quote:
Originally Posted by i2ambler View Post
I am using redhat 5 - virtual machine on vsphere 4.0. 2vcpu, 16gb ram. I have not had any solution or suggestion about this problem.
Have you considered raising a support case for this? Can you confirm the jave allocations with the output of this:

Code:
zmlocalconfig | grep -i mailboxd_java
Does this happen at any specific time of day? With any specific mailbox? Is there anything about this that you can reproduce? What's the state of this VM at the time of the problem (have you looked at top)? Any RAID system in this VM? Have you looked at any of the performance metrics in vSphere for this esx server and the VM?Have you considered upgrading to the most recent release of Zimbra? Have you looked at this page for Performance Recommendations. Have you had this problem for a while or has it just started? Any specific upgrades to the operating system on the zimbra server?


Quote:
Originally Posted by i2ambler View Post
To be honest, 70% of my posts here go unanswered.
Perhaps the reason might be that nobody here knows the answer?
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 08-02-2011, 07:52 AM
Special Member
 
Posts: 160
Default

Quote:
Originally Posted by phoenix View Post
Have you considered raising a support case for this? Can you confirm the jave allocations with the output of this:

Code:
zmlocalconfig | grep -i mailboxd_java
Does this happen at any specific time of day? With any specific mailbox? Is there anything about this that you can reproduce? What's the state of this VM at the time of the problem (have you looked at top)? Any RAID system in this VM? Have you looked at any of the performance metrics in vSphere for this esx server and the VM?Have you considered upgrading to the most recent release of Zimbra? Have you looked at this page for Performance Recommendations. Have you had this problem for a while or has it just started? Any specific upgrades to the operating system on the zimbra server?


Perhaps the reason might be that nobody here knows the answer?

I have a support ticket about this.. I have used all performance recommendations recommended to me by zimbra for both VM and for the OS itself. Support has examined our environment and assured us that the environment should be well able to handle the current user load. (we have 4000 users spread across 2 mailstores that have 16 gigs ram, 10 spindles of 15k fiber drives per TB of data, and 2 dedicated cores per server. The system basically flies 90 percent of the time. All crashes are random, all slowdowns appear to be random and not at any specified time. Last week we had a few minutes where the load went up to 19 on one system, concurrent with 700 soap calls/min. This was occuring for about 5 minutes during the day. We normally average 50-75 soap calls/min.

Currently java is using 52% of RAM on one of my mailstores, even though I have the heap set to 25 percent, and am running the most recent version of 6, being 6.0.13. (but have not updated my profile here to reflect that yet).

mailboxd_java_heap_memory_percent = 25
mailboxd_java_heap_new_size_percent = 25


All issues began when we finally fully rolled out our users. We had no issue when only running about 1000 users.

I understand the forum is very helpful, and has helped me in the past, but some of my issues have been very frustrating - and this performance issue is a huge thorn in my a$$.
Reply With Quote
  #6 (permalink)  
Old 09-22-2011, 03:59 AM
Partner (VAR/HSP)
 
Posts: 425
Default

Have you found a solution to this yet?
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.