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 10-05-2011, 12:35 AM
Member
 
Posts: 10
Default imap connection closed

Hi,
i'm getting troubles with mail clients & zimbra imap: very often outlook shows error "imap4rev1 server closed connection; service busy", after which it cant connect to server until restarted several times; almost same thing with thunderbird - shows that server imap server closed connection and starts working only after hit "ok" many times.

I've set imap-related events loglevel to debug, but got no errors in mailbox.log;
the only errors i've found in any logfiles were in nginx.log (but they just copy ones that shows in clients":
"*5199 upstream sent invalid response: "* BYE post.mycompany.ru Zimbra IMAP4rev1 server closing connection; service busy" while reading response from upstream, client: 10.0.11.112, server: 0.0.0.0:993, login: "somelogin", upstream: 10.0.7.55:7143, [10.0.11.112:1384-10.0.7.55:993] <=> [10.0.7.55:39276-10.0.7.55:7143]"
server's load average not exceeding 4.0

Please help in solving this problem.
Reply With Quote
  #2 (permalink)  
Old 10-05-2011, 01:16 AM
Member
 
Posts: 10
Default

as update:
found in mailbox.log this errors:
"2011-10-05 12:04:00,294 WARN [ImapServer] [] TcpServer/7143 - Thread pool is 100% utilized. 201 out of 200 threads in use.
2011-10-05 12:04:00,294 ERROR [ImapServer] [] TcpServer/7143 - cannot handle connection; thread pool exhausted
java.util.concurrent.RejectedExecutionException
at java.util.concurrent.ThreadPoolExecutor$AbortPolic y.rejectedExecution(ThreadPoolExecutor.java:1768)
at java.util.concurrent.ThreadPoolExecutor.reject(Thr eadPoolExecutor.java:767)
at java.util.concurrent.ThreadPoolExecutor.execute(Th readPoolExecutor.java:658)
at com.zimbra.cs.tcpserver.TcpServer.run(TcpServer.ja va:202)
at java.lang.Thread.run(Thread.java:662)"
timing excacly matches with mail clients errors.

how to increese this thread pool?
Reply With Quote
  #3 (permalink)  
Old 10-05-2011, 04:03 AM
Loyal Member
 
Posts: 94
Default

"Thread pool is 100% utilized. 201 out of 200 threads in use."

i think you need to increase the imap threads to more than 200.
Reply With Quote
  #4 (permalink)  
Old 10-05-2011, 04:20 AM
Special Member
 
Posts: 146
Default

exactly - change your IMAP session limit (you can change it from Zimbra admin GUI).
__________________
# ZCS 7.1.3 SLES11 SP1
Reply With Quote
  #5 (permalink)  
Old 10-05-2011, 04:23 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by demchenko View Post
how to increese this thread pool?
A search gives the answer: site:zimbra.com +"thread pool" +imap - Yahoo! Search Results
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 10-05-2011, 07:26 AM
Member
 
Posts: 10
Default

Thanks to all!
problem solved by increesing imap threads via web-admin and restart of zimbra.
Reply With Quote
  #7 (permalink)  
Old 10-05-2011, 07:29 AM
Special Member
 
Posts: 146
Default

n/p

Always when you change IMAP/ POP session limit, you must restart your Zimbra server.
__________________
# ZCS 7.1.3 SLES11 SP1
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.