Re: sync_client stalls the rest of cyrus while 'no route to host'

From: Bron Gondwana (no email)
Date: Wed Sep 27 2006 - 21:26:02 EDT

  • Next message: Wil Cooley: "Re: Two questions"

    On Sat, Aug 26, 2006 at 10:22:15PM +0200, Paul Dekkers wrote:
    > Hi,
    >
    > I don't know if this is a known issue: as soon as I enable replication
    > and the sync_client gets a "No route to host" from the replica, the rest
    > of the cyrus startup seems to stall: no imap, no lmtp... just because a
    > replica is unreachable. (In this case because iptables was to
    > restrictive on the replica ;-))
    >
    > Aug 26 22:13:19 haver master[24203]: about to exec
    > /usr/lib/cyrus-imapd/idled
    > Aug 26 22:13:19 haver master[24205]: about to exec
    > /usr/lib/cyrus-imapd/sync_client
    > Aug 26 22:13:19 haver sync_client[24205]: connect(192.87.109.20) failed:
    > No route to host
    > Aug 26 22:14:04 haver last message repeated 2 times
    > Aug 26 22:17:04 haver last message repeated 2 times
    > Aug 26 22:21:04 haver sync_client[24205]: connect(192.87.109.20) failed:
    > No route to host
    >
    > It takes quite long, not sure if the server will ever respond...

    Here's a patch that allows you to avoid this issue by specifying "-o"
    on the command line to sync_client (put it in your cyrus.conf).

    Bron.


    ----
    Cyrus Home Page: http://cyrusimap.web.cmu.edu/
    Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    


  • Next message: Wil Cooley: "Re: Two questions"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD