Re: [Dovecot] stopping dovecot

2008-08-12 Thread Timo Sirainen
On Jul 26, 2008, at 8:29 PM, Timo Sirainen wrote: On Jul 26, 2008, at 10:05 PM, Arkadiusz Miskiewicz wrote: I think the imap-login processes will hang around if there are SSL or proxy connections through them (but perhaps they shouldn't be "listen"-ing for new connections?). It would be go

Re: [Dovecot] stopping dovecot

2008-07-27 Thread Kai Schaetzl
Timo Sirainen wrote on Sun, 27 Jul 2008 17:14:29 +0300: > The behavior is controlled by shutdown_clients setting. I suppose you > have it set to "no"? It's set to how dovecot.conf came: #shutdown_clients = yes If that indicates the default it is enabled. But it didn't work. The thread I started

Re: [Dovecot] stopping dovecot

2008-07-27 Thread Timo Sirainen
On Sun, 2008-07-27 at 13:31 +0200, Kai Schaetzl wrote: > Maarten Bezemer wrote on Sun, 27 Jul 2008 11:43:06 +0200 (CEST): > > > It is normal for some services to terminate te main process, but leave > > active children alive. > > That may be so, but Timo claimed the opposite (as I read his respon

Re: [Dovecot] stopping dovecot

2008-07-27 Thread Kai Schaetzl
Maarten Bezemer wrote on Sun, 27 Jul 2008 11:43:06 +0200 (CEST): > It is normal for some services to terminate te main process, but leave > active children alive. That may be so, but Timo claimed the opposite (as I read his response). I'm merely pointing out that I cannot see the behavior that T

Re: [Dovecot] stopping dovecot

2008-07-27 Thread Maarten Bezemer
On Sun, 27 Jul 2008, Kai Schaetzl wrote: > > It does kill everything. > Not for me, not with the 1.07 I have in CentOS 5.2. > When I ran "service dovecot restart" (or stop) in that situation it did > *not* kill all the pop3-login children. I had to use killall. It is normal for some services to

Re: [Dovecot] stopping dovecot

2008-07-27 Thread Kai Schaetzl
Timo Sirainen wrote on Sat, 26 Jul 2008 19:45:20 +0300: > It does kill everything. Not for me, not with the 1.07 I have in CentOS 5.2. Look at the thread I started a few days ago with <[EMAIL PROTECTED]> When I ran "service dovecot restart" (or stop) in that situation it did *not* kill all the

Re: [Dovecot] stopping dovecot

2008-07-26 Thread David Ledger
At 23:42 +0200 25/7/08, Arkadiusz Miskiewicz wrote: This may be a silly question but how to correctly stop dovecot and be sure that it's possible to start it again? kill -TERM `cat /var/run/dovecot/master.pid` doesn't work well. I have imap-login processes staying arround and occupying port whi

Re: [Dovecot] stopping dovecot

2008-07-26 Thread Timo Sirainen
On Jul 26, 2008, at 10:05 PM, Arkadiusz Miskiewicz wrote: I think the imap-login processes will hang around if there are SSL or proxy connections through them (but perhaps they shouldn't be "listen"-ing for new connections?). It would be good if existing clients were not disconnected but sta

Re: [Dovecot] stopping dovecot

2008-07-26 Thread Chris Wakelin
Arkadiusz Miskiewicz wrote: What do you have for the "shutdown_clients" option? shutdown_clients: no I think the imap-login processes will hang around if there are SSL or proxy connections through them (but perhaps they shouldn't be "listen"-ing for new connections?). It would be good if

Re: [Dovecot] stopping dovecot

2008-07-26 Thread Arkadiusz Miskiewicz
On Saturday 26 July 2008, Chris Wakelin wrote: > Arkadiusz Miskiewicz wrote: > > On Saturday 26 July 2008, Timo Sirainen wrote: > >> On Jul 26, 2008, at 5:31 PM, Kai Schaetzl wrote: > I have imap-login processes staying arround and occupying port > >>> > >>> Ah, well, that's a different questi

Re: [Dovecot] stopping dovecot

2008-07-26 Thread Chris Wakelin
Arkadiusz Miskiewicz wrote: On Saturday 26 July 2008, Timo Sirainen wrote: On Jul 26, 2008, at 5:31 PM, Kai Schaetzl wrote: I have imap-login processes staying arround and occupying port Ah, well, that's a different question! Stopping dovecot won't kill the processes with actual logins. -> kil

Re: [Dovecot] stopping dovecot

2008-07-26 Thread Arkadiusz Miskiewicz
On Saturday 26 July 2008, Timo Sirainen wrote: > On Jul 26, 2008, at 5:31 PM, Kai Schaetzl wrote: > >> I have imap-login processes staying arround and occupying port > > > > Ah, well, that's a different question! Stopping dovecot won't kill the > > processes with actual logins. -> killall imap-logi

Re: [Dovecot] stopping dovecot

2008-07-26 Thread Timo Sirainen
On Jul 26, 2008, at 5:31 PM, Kai Schaetzl wrote: I have imap-login processes staying arround and occupying port Ah, well, that's a different question! Stopping dovecot won't kill the processes with actual logins. -> killall imap-login It does kill everything. I don't know if there's anything

Re: [Dovecot] stopping dovecot

2008-07-26 Thread Kai Schaetzl
Arkadiusz Miskiewicz wrote on Fri, 25 Jul 2008 23:42:09 +0200: > This may be a silly question but how to correctly stop dovecot and be sure > that it's possible to start it again? depends on your operating system. /etc/init.d/dovecot stop should work on most Linuxes. > I have imap-login proces