Hi Marc,

On 2016-10-26 10:53:43 +0200, Marc Haber wrote:
> Can you reproduce this? If so, I'd like you to attach an strace to the
> atopacct process (strace -f -p <pid of atopacctd> -s 2000 -o
> strace.atopacctd) and attach the resulting file. I'd like to see
> whether atopacctd gets the SIGTERM and how it reacts.

I've also added the -t option to get the time:

910   11:22:14 recvfrom(5, 0x7ffe6905d290, 16000, 0, NULL, NULL) = ? 
ERESTARTSYS (To be restarted if SA_RESTART is set)
910   11:22:29 --- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=1, 
si_uid=0} ---
910   11:22:29 --- SIGCONT {si_signo=SIGCONT, si_code=SI_USER, si_pid=1, 
si_uid=0} ---
910   11:22:29 rt_sigreturn({mask=[]})  = 45
910   11:22:29 recvfrom(5,  <unfinished ...>
910   11:22:49 +++ killed by SIGKILL +++

Note that I had reduced the systemd timeout to 20 seconds.
You can see it above.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to