Results 1 to 7 of 7

Thread: imap connection closed

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    10
    Rep Power
    4

    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.

  2. #2
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    10
    Rep Power
    4

    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?

  3. #3
    Join Date
    Feb 2008
    Location
    Peru
    Posts
    94
    Rep Power
    7

    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.

  4. #4
    Join Date
    Jul 2011
    Posts
    146
    Rep Power
    4

    Default

    exactly - change your IMAP session limit (you can change it from Zimbra admin GUI).
    # ZCS 7.1.3 SLES11 SP1

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    10
    Rep Power
    4

    Default

    Thanks to all!
    problem solved by increesing imap threads via web-admin and restart of zimbra.

  7. #7
    Join Date
    Jul 2011
    Posts
    146
    Rep Power
    4

    Default

    n/p

    Always when you change IMAP/ POP session limit, you must restart your Zimbra server.
    # ZCS 7.1.3 SLES11 SP1

Similar Threads

  1. Remote host closed connection during handshake
    By zfault in forum Error Reports
    Replies: 0
    Last Post: 09-13-2011, 12:22 AM
  2. Dropping IMAP connection during migration
    By RickATMS in forum Administrators
    Replies: 1
    Last Post: 11-29-2010, 09:58 AM
  3. Replies: 11
    Last Post: 01-18-2010, 03:33 AM
  4. Replies: 2
    Last Post: 02-12-2008, 10:55 AM
  5. IMAP connection errors
    By toolcaserp in forum Administrators
    Replies: 0
    Last Post: 12-18-2007, 04: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
  •