#698 ✓fixreleased
Max Andersen

Zimbra server is very slow and often goes unavailable

Reported by Max Andersen | April 4th, 2014 @ 12:55 PM

Not sure what changed but recent updates of mailmate and i seem to very often not receive my email and the server goes unavailable and I have to force synchronization again to get emails.

I'm on Version 1.7.2 (4153)

What kind of logs are you after and how do I get them ?

Comments and changes to this ticket

  • Max Andersen

    Max Andersen April 4th, 2014 @ 01:00 PM

    Here is what I get in activity viewer ( i replaced hostname with ??? ) :

    13:32:10 S: * 0 EXISTS
    12:57:13 Clearing connection to mail.???.com
    12:57:13 Clearing connection to mail.???.com
    12:57:13 Trying to connect to mail.???.com on port 993
    12:57:13 Successful connection on socket 68.
    12:57:13 Initiating secure connection...
    12:57:14 Setup of secure connection complete (TLSv1).
    12:57:14  Cipher: DHE-RSA-AES256-SHA      SSLv3 Kx=DH       Au=RSA  Enc=AES(256)  Mac=SHA1
    12:57:14 Error: Error while waiting on read or write (Invalid argument).
      descriptor: 68, break_read_pipe: 71, ndfs: 71, wait_on_read: 1, wait_on_write: 0, timeout: 4294967272
    
    12:57:14 S: 
    12:57:14 Clearing connection to mail.???.com
    12:57:14 Trying to connect to mail.???.com on port 143
    

    ...and I also now noticed gmail does have the same issue, just "worse":

    12:59:15 Clearing connection to imap.gmail.com
    12:59:15 Clearing connection to imap.gmail.com
    12:59:15 Trying to connect to imap.gmail.com on port 993
    12:59:15 Successful connection on socket 82.
    12:59:15 Initiating secure connection...
    12:59:16 Setup of secure connection complete (TLSv1).
    12:59:16  Cipher: RC4-SHA                 SSLv3 Kx=RSA      Au=RSA  Enc=RC4(128)  Mac=SHA1
    12:59:16 S: * OK Gimap ready for requests from 209.132.186.32 ew9mb8323007wid
    12:59:16 C: A0 CAPABILITY
    12:59:16 Error: Error while waiting on read or write (Invalid argument).
      descriptor: 82, break_read_pipe: 74, ndfs: 82, wait_on_read: 1, wait_on_write: 0, timeout: 4294967288
    
    12:59:16 S: 
    12:59:16 Error code: 2
    12:59:16 Failed action. Reset observed read/write timeouts: 2147483644/12
    12:59:16 Clearing connection to imap.gmail.com
    12:59:16 Clearing connection to imap.gmail.com
    12:59:16 Trying to connect to imap.gmail.com on port 993
    12:59:16 Successful connection on socket 82.
    12:59:16 Initiating secure connection...
    12:59:17 Setup of secure connection complete (TLSv1).
    12:59:17  Cipher: RC4-SHA                 SSLv3 Kx=RSA      Au=RSA  Enc=RC4(128)  Mac=SHA1
    12:59:17 S: * OK Gimap ready for requests from 209.132.186.32 t4mb22965559wep
    12:59:17 C: A0 CAPABILITY
    12:59:17 Error: Error while waiting on read or write (Invalid argument).
      descriptor: 82, break_read_pipe: 74, ndfs: 82, wait_on_read: 1, wait_on_write: 0, timeout: 4294967288
    
    12:59:17 S: 
    12:59:17 Error code: 2
    12:59:17 Failed action. Reset observed read/write timeouts: 2147483644/12
    12:59:17 Clearing connection to imap.gmail.com
    12:59:17 Clearing connection to imap.gmail.com
    12:59:17 Trying to connect to imap.gmail.com on port 993
    12:59:17 Successful connection on socket 82.
    12:59:17 Initiating secure connection...
    12:59:17 Setup of secure connection complete (TLSv1).
    12:59:17  Cipher: RC4-SHA                 SSLv3 Kx=RSA      Au=RSA  Enc=RC4(128)  Mac=SHA1
    12:59:17 S: * OK Gimap ready for requests from 209.132.186.32 w44mb22790165wef
    12:59:17 C: A0 CAPABILITY
    12:59:17 Error: Error while waiting on read or write (Invalid argument).
      descriptor: 82, break_read_pipe: 74, ndfs: 82, wait_on_read: 1, wait_on_write: 0, timeout: 4294967288
    
    12:59:17 S: 
    12:59:17 Error code: 2
    12:59:17 Failed action. Reset observed read/write timeouts: 2147483644/12
    12:59:17 Clearing connection to imap.gmail.com
    12:59:17 Clearing connection to imap.gmail.com
    12:59:17 Trying to connect to imap.gmail.com on port 993
    12:59:17 Successful connection on socket 82.
    12:59:17 Initiating secure connection...
    12:59:18 Setup of secure connection complete (TLSv1).
    12:59:18  Cipher: RC4-SHA                 SSLv3 Kx=RSA      Au=RSA  Enc=RC4(128)  Mac=SHA1
    12:59:18 S: * OK Gimap ready for requests from 209.132.186.32 fw7mb8240482wic
    12:59:18 C: A0 CAPABILITY
    12:59:18 Error: Error while waiting on read or write (Invalid argument).
      descriptor: 82, break_read_pipe: 74, ndfs: 82, wait_on_read: 1, wait_on_write: 0, timeout: 4294967288
    
    12:59:18 S: 
    12:59:18 Error code: 2
    12:59:18 Failed action. Reset observed read/write timeouts: 2147483644/12
    12:59:18 Error: Failed multiple retries (4). Final error code was 2.
    
  • benny

    benny April 4th, 2014 @ 01:28 PM

    Keep the Activity Viewer open, update to the latest test version, and when you see this behavior then use “Help ▸ Send Server Logs...” and I'll get all available server communication.

    (I thought this problem was fixed, but apparently I was wrong.)

  • Max Andersen

    Max Andersen April 5th, 2014 @ 04:54 PM

    Updated to latest version - now it seems to "just work".

    I'll keep an eye out when/if it shows up again.

  • Max Andersen

    Max Andersen April 6th, 2014 @ 07:40 AM

    gmail went unavailable - sent you the logs.

  • benny

    benny April 7th, 2014 @ 09:37 AM

    Thanks, it was exactly the kind of output I needed. The problem is a bit embarrassing and found here:

    22:09:23 S: * 16054 FETCH (UID 16055 MODSEQ (5712506))  
    22:09:19 Waited 4294967292 seconds on read.  
    22:09:19 S: * 16055 FETCH (UID 16056 MODSEQ (5712521))
    

    Notice the time stamps. Your computer corrects time 4 seconds backwards and this is interpreted by MailMate as waiting a very long time before successfully reading more data. (MailMate ends up using this, heuristically, to be too patient when reading data later on.)

    A new test version should be available within a few minutes.

  • benny

    benny April 7th, 2014 @ 09:43 AM

    • State changed from “new” to “fixcommitted”
  • Max Andersen

    Max Andersen April 7th, 2014 @ 10:58 AM

    Installing ;)

    btw. you think this bug is the same for both gmail and zimbra case ?

  • benny

    benny April 7th, 2014 @ 11:01 AM

    Yes, the huge timeout value seen in the Zimbra output in your first comment to this ticket indicates that it is the same issue.

  • benny

    benny October 15th, 2014 @ 03:32 PM

    • State changed from “fixcommitted” to “fixreleased”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Referenced by

Pages