Bug#417562: cyrus-common-2.2: Cyrus init script does not stop all cyrus processes

Gilles Mocellin gilles.mocellin at free.fr
Thu Apr 5 18:36:03 UTC 2007


Le jeudi 05 avril 2007 04:13, Benjamin Seidenberg a écrit :
> tag 417562 +unreproducible
> thanks
>
> Gilles Mocellin wrote:
> > Package: cyrus-common-2.2
> > Severity: important
> >
> > I use cyrus in a cluster configuration (RHCS).
> > When I want to reallocate the cyrus service to another node, I must stop
> > cyrus, umount the underlying filesystems And do the same in reverse order
> > on the other node.
> >
> > I can' umount the filesystems because it remains cyrus processes : imapd,
> > pop3d, timseived, notifys, idled... Only cyrusmaster is stopped.
> >
> > Another use case is when you make a change in /etc/imapd.conf, a reload
> > or restart of cyrus render it not quite usable. For example, it refuses
> > LMTP connections.
> >
> > -- System Information:
> > Debian Release: 4.0
> >   APT prefers testing
> >   APT policy: (500, 'testing')
> > Architecture: i386 (i686)
> > Shell:  /bin/sh linked to /bin/bash
> > Kernel: Linux 2.6.18-4-686
> > Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> >
> >
> > _______________________________________________
> > Pkg-Cyrus-imapd-Debian-devel mailing list
> > Pkg-Cyrus-imapd-Debian-devel at lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-de
> >vel
>
> I can't reproduce this.
>
> astronut at astronut:~$ ps -ef | grep imap | wc -l
> 20
> astronut at astronut:~$ sudo /etc/init.d/cyrus2.2 stop
> Stopping Cyrus IMAPd: cyrmaster.
> astronut at astronut:~$ ps -ef | grep imap | wc -l
> 1 [the grep process]
>
>
>
> Did you wait a minute or two? I believe that if an imap process is
> actually in use (serving a client) it will continue until it's finished
> and then quit.

I have around 1800 imapd processes...
I think that's what happening, the processes are doing something. But, if I 
want to stop, whatever someone is doing, how do I do ?
I thought cyrmaster would have killed all theses processes.

My cluster script can not wait one minute or two before to switch on th over 
server !

Did you also try a restart ?
I think, it's the same, all process remains up, with the old config, until 
they end, either because the client has deconnected or a timeout happened.

Anyway, here, I don't know why lmtpd does not accept connections anymore.

Perhaps should I not use prefork (2 or 5) processes in my /etc/cyrus.conf for 
all theses processes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-cyrus-imapd-debian-devel/attachments/20070405/0be1da1c/attachment.pgp


More information about the Pkg-Cyrus-imapd-Debian-devel mailing list