Results 1 to 3 of 3

Thread: 300 second timeout on POP sync/download

  1. #1
    briansz is offline Starter Member
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    3

    Default 300 second timeout on POP sync/download

    How can I increase the default 300 second timeout for POP syncs/downloads in the Zimbra Desktop app?

    I'm dealing with a very slow Exchange server through Davmail and after examining the Davmail logs, I can download about 12MB of any particular message before the connection is closed by the client. This corresponds to a 300 second interval in the log file from initiation of download to automatic connection closure.

    Some of my attachments excceed 20MB, so I'd like to know how I can modify this 'feature' and access all the files in my mailbox.

    Here's an example error log.


    Product name: Zimbra Desktop
    Product version: 7.1.2
    Build ID: 10978
    Release type: GA
    OS Platform: Linux i386 2.6.35-22-generic
    Time of event: 2011-09-28 10:46:54
    Error type: Read timed out
    Item ID: 1
    Error summary: Sync failed due to IOException for the following items
    Items will be retried on next sync
    Item Id: 138 Message: pop sync fail
    Failure details - PLEASE REMOVE ANY SENSITIVE INFORMATION
    ----------------------------------------------------------------------------

    java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream. java:129)
    at java.io.BufferedInputStream.fill(BufferedInputStre am.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStre am.java:237)
    at com.zimbra.cs.mailclient.MailInputStream.read(Mail InputStream.java:114)
    at com.zimbra.cs.mailclient.pop3.ContentInputStream.f illBuffer(ContentInputStream.java:72)
    at com.zimbra.cs.mailclient.pop3.ContentInputStream.r ead(ContentInputStream.java:40)
    at com.zimbra.cs.mailclient.pop3.ContentInputStream.s kipRemaining(ContentInputStream.java:62)
    at com.zimbra.cs.mailclient.pop3.ContentInputStream.c lose(ContentInputStream.java:58)
    at com.zimbra.cs.datasource.Pop3Sync.fetchAndAddMessa ge(Pop3Sync.java:285)
    at com.zimbra.cs.datasource.Pop3Sync.fetchAndRetainMe ssages(Pop3Sync.java:230)
    at com.zimbra.cs.datasource.Pop3Sync.importData(Pop3S ync.java:129)
    at com.zimbra.cs.datasource.DataSourceManager.importD ata(DataSourceManager.java:312)
    at com.zimbra.cs.datasource.DataSourceManager.importD ata(DataSourceManager.java:276)
    at com.zimbra.cs.mailbox.DataSourceMailbox.syncAllLoc alDataSources(DataSourceMailbox.java:442)
    at com.zimbra.cs.mailbox.DataSourceMailbox.sync(DataS ourceMailbox.java:480)
    at com.zimbra.cs.mailbox.DataSourceMailbox.syncOnTime r(DataSourceMailbox.java:409)
    at com.zimbra.cs.mailbox.SyncMailbox$1.run(SyncMailbo x.java:257)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)

    Thanks!

  2. #2
    jflanigan is offline Zimbra Employee
    Join Date
    Jul 2010
    Posts
    109
    Rep Power
    5

    Default

    You can try adding this to <user data>/conf/localconfig.xml


    Code:
      <key name="javamail_pop3_timeout">
        <value>600</value>
      </key>
    The value is expressed in seconds.

    You will need to restart ZD after making the change.

  3. #3
    briansz is offline Starter Member
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    3

    Default

    This suggestion solved the issue conclusively. Thanks for your help!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SMTP Connect Failure
    By azism in forum Installation Help
    Replies: 8
    Last Post: 09-07-2011, 07:06 AM
  2. Replies: 0
    Last Post: 10-05-2010, 01:15 AM
  3. can't you help me
    By iwan siahaan in forum Administrators
    Replies: 6
    Last Post: 12-17-2007, 06:53 PM
  4. Read Timeout
    By Max Ma in forum Administrators
    Replies: 1
    Last Post: 10-02-2007, 08:47 PM
  5. Checking POP accounts within IMAP
    By dwmtractor in forum Installation
    Replies: 11
    Last Post: 08-17-2007, 10:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •