Cyrus 2.5.7 idled not stopped when server shut down?

Carlos Velasco carlos.velasco at nimastelecom.com
Wed Sep 14 10:09:42 EDT 2016


> We're in the process of moving from Cyrus 2.4.17 to 2.5.7.
>
> So far this is going OK - but I've noticed when I stop the 2.5.7 server
> (this is on FreeBSD so 'service imapd stop') - it leaves behind idled?
>
> Should this be stopped by the imap server itself, or does it need stopping
> manually / by the control scripts?

I had this problem some time ago.
For me, solution was to use --with-libcap at configure/compile time. Linux here.

===
master sends Term signal to all process group, including idled, although ppid is 1.

Problem here was that idled was being launched by root. So sending it a signal from cyrus user will not work.
Looking into code, I needed to add libcap "--with-libcap" to configure and recompile. This makes become_cyrus success before START section and idled being launched now by cyrus user.
===
https://lists.andrew.cmu.edu/pipermail/cyrus-devel/2015-August/003393.html



More information about the Cyrus-devel mailing list