Re: [exim] Kick user - force disconnect authenticated sessio…

Top Page
Delete this message
Reply to this message
Author: Marcin Gryszkalis
Date:  
To: exim-users
Subject: Re: [exim] Kick user - force disconnect authenticated sessions
On 2013-08-08 15:41, Jan Ingvoldstad wrote:
> $ ps -o cmd -p 17940
> /usr/sbin/exim4 -Mc 1V7QMJ-0005WT-CR


You're right - pid could be reused by different application.
Though I think it would be faster to do simple stat call for /proc/17940

> Please note that kill -KILL is very brutal, and gives the process no
> chance
> to clean up its state. This may be what you desire if it is very
> important
> that exim doesn't get to do its job.


I planned to check if exim closes more-less immediately (but still with
proper cleanup) on SIGTERM.

regards
--
Marcin Gryszkalis, PGP 0x9F183FA3
jabber jid:mg@???, gg:2532994