[Cyrus-CVS] src/cyrus/imap by brong

brong at andrew.cmu.edu brong at andrew.cmu.edu
Mon Sep 21 21:48:13 EDT 2009


Update of /afs/andrew.cmu.edu/system/cvs/src/cyrus/imap
In directory cyrus-devel-01.andrew.cmu.edu:/afs/andrew.cmu.edu/usr3/brong/src/cyrus/imap

Modified Files:
	imapd.c 
Log Message:
Track idling state and tell idled if we lose connection

We get a bunch of "process killed with signal 10" errors
after restarting one of our imap proxies, and it's because
idled goes a little crazy throwing SIGUSR1 and SIGUSR2 at
processids which have long since gone away.  It's like a
loaded gun that randomly shoots whatever process was unlucky
enough to get that PID.

Now, the whole design sucks really - but at least the worst
of it will be fixed by telling idled that we've idle_done()
when we shut_down(), no matter how we got there.


--- links to diffs follow ---
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/imapd.c.diff?r1=1.567&r2=1.568


More information about the Cyrus-cvs mailing list