Comment 25 for bug 13405

Revision history for this message
In , Frans Pop (aragorn) wrote : Re: Long pause when exim daemon is being stopped (was: Re: exim4 prone to break d-i, bug #297607)

On Sunday 27 March 2005 19:47, Marc Haber wrote:
> And where was the 30 seconds delay? strace has an option to put
> timestamps into the trace, that would be helpful here.

The delay is during all the repeats of:
<snip>
kill(1235, SIG_0) = 0
gettimeofday({1111935399, ######}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 20000}) = 0 (Timeout)
gettimeofday({1111935399, ######}, NULL) = 0
open("/var/run/exim4/exim.pid", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=5, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7001a000
read(3, "1235\n", 8192) = 5
stat64("/proc/1235/exe", {st_mode=S_IFREG|S_ISUID|0755,
st_size=645744, ...}) = 0
close(3) = 0
munmap(0x7001a000, 8192) = 0
</snip>

I'll get back with the rest later.