[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] could not hand over lockfile to child



On Saturday 31 August 2002 03:04, you wrote:

> If you get "INCOMPLETE", please review the 1.9.25.rel "NEWS" file for
> INCOMPATIBLE CHANGES sections (all of them!)

Grepping the source for incomplete turned out to reveal the article
on out.going no longer had +x. I must've seen it wrong when I
checked that. No matter, it seems fixed now, my fault.

And now for the stracing...

Syslog:

Aug 31 04:37:00 polaris fetchnews[24696]: >QUIT
Aug 31 04:37:00 polaris fetchnews[24696]: could not hand over lockfile to child: No such file or directory, waiting until child is done.
Aug 31 04:37:00 polaris fetchnews[24697]: Process forked.

the stderr messages are:

Process 24697 attached
Process 24696 suspended
Process 24696 resumed
Process 24697 detached

And from dump:

24696 write(4, "QUIT\r\n", 6)           = 6
24696 close(5)                          = 0
24696 munmap(0x40019000, 4096)          = 0
24696 close(4)                          = 0
24696 munmap(0x40018000, 4096)          = 0
24696 rt_sigaction(SIGINT, {SIG_IGN}, {0x8049fac, [INT], SA_RESTART|0x4000000}, 8) = 0
24696 rt_sigaction(SIGPIPE, {SIG_DFL}, {0x8049fac, [PIPE], SA_RESTART|0x4000000}, 8) = 0
24696 fork()                            = 24697
24696 open("/var/lock/news/fetchnews.lck", O_RDWR|O_TRUNC) = -1 ENOENT (No such file or directory)
24696 time([1030757820])                = 1030757820
24696 getpid()                          = 24696
24696 rt_sigaction(SIGPIPE, {0x4011f9e0, [], 0x4000000}, {SIG_DFL}, 8) = 0
24696 send(3, "<61>Aug 31 04:37:00 fetchnews[24"..., 132, 0) = 132
24696 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
24696 wait4(24697,  <unfinished ...>
24697 setsid()                          = 24697
24697 time([1030757820])                = 1030757820
24697 getpid()                          = 24697
24697 rt_sigaction(SIGPIPE, {0x4011f9e0, [], 0x4000000}, {SIG_DFL}, 8) = 0
24697 send(3, "<63>Aug 31 04:37:00 fetchnews[24"..., 53, 0) = 53
24697 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
24697 unlink("/var/lock/news/fetchnews.lck") = -1 ENOENT (No such file or directory)
24697 _exit(0)                          = ?
24696 <... wait4 resumed> NULL, 0, NULL) = 24697
24696 --- SIGCHLD (Child exited) ---
24696 _exit(0)                          = ?

There was no other mention of fetchnews.lck in the strace than what
is above.

The machine is a normal desktop machine, not actively using
swap or much loaded otherwise.

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list