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-23-2009, 12:31 PM
Junior Member
 
Posts: 8
Default zmmailbox java.net.SocketTimeoutException Read timed out

My developers had a nice little script that took Email over imap, populated a database, then moved it to a /processed folder. That's fine for them, but it became a nightmare for me when it got to around 55 gig. I got approval to flush the folder but ....

root@mail:~# su - zimbra
zimbra@mail:~$ zmmailbox -z -m cthulhu@madness.edu emptyFolder /processed
ERROR: remote.TIMEOUT (https://mail.madness.edu:7071/service/admin/soap/) (cause: java.net.SocketTimeoutException Read timed out)

omg halp?
Reply With Quote
  #2 (permalink)  
Old 04-29-2009, 05:22 PM
Junior Member
 
Posts: 8
Default

Anyone? Help?
Reply With Quote
  #3 (permalink)  
Old 04-29-2009, 05:52 PM
Junior Member
 
Posts: 8
Default

Code:
2009-04-29 16:48:59,746 FATAL [ImapServer-4] [] system - Fatal error occurred while handling connection
java.lang.OutOfMemoryError: Java heap space
	at java.util.ArrayList.ensureCapacity(ArrayList.java:169)
	at java.util.ArrayList.add(ArrayList.java:351)
	at com.zimbra.cs.db.DbMailItem.loadImapFolder(DbMailItem.java:2428)
	at com.zimbra.cs.mailbox.Mailbox.openImapFolder(Mailbox.java:2455)
	at com.zimbra.cs.imap.ImapFolder.loadFolder(ImapFolder.java:184)
	at com.zimbra.cs.imap.ImapFolder.register(ImapFolder.java:131)
	at com.zimbra.cs.imap.ImapHandler.setSelectedFolder(ImapHandler.java:772)
	at com.zimbra.cs.imap.ImapHandler.selectFolder(ImapHandler.java:1169)
	at com.zimbra.cs.imap.ImapHandler.doSELECT(ImapHandler.java:1125)
	at com.zimbra.cs.imap.ImapHandler.executeRequest(ImapHandler.java:607)
	at com.zimbra.cs.imap.TcpImapHandler.processCommand(TcpImapHandler.java:124)
	at com.zimbra.cs.tcpserver.ProtocolHandler.processConnection(ProtocolHandler.java:160)
	at com.zimbra.cs.tcpserver.ProtocolHandler.run(ProtocolHandler.java:128)
	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:595)

Release 5.0.15_GA_2851.UBUNTU8_64 UBUNTU8_64
Reply With Quote
  #4 (permalink)  
Old 04-29-2009, 07:02 PM
Partner (VAR/HSP)
 
Posts: 67
Default

Just a quick thought... is IO or proc being hit?

I've noticed that when purging messages from the WebUI, some times it will time-out while it works. After a while, the process will complete and everything goes back to normal.

Cheers,
Dusty
__________________
CoSentry - www.cosentry.com - Co-Location & Business Resiliency Solutions
Reply With Quote
  #5 (permalink)  
Old 04-29-2009, 11:54 PM
Moderator
 
Posts: 7,928
Default

How much memory is in the server ?
Code:
su - zimbra
zmlocalconfig mailboxd_java_heap_memory_percent
__________________
Reply With Quote
  #6 (permalink)  
Old 04-30-2009, 07:41 AM
y@w y@w is offline
Moderator
 
Posts: 658
Default

I'm seeing the same thing with a couple of users, but without the out of memory error. When I do a select mailbox from zmprov, it eventually times out with the same message. The user is also unable to login to the web client.
__________________
What a n00b!
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.