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

Re: [leafnode-list] Cannot obtain lock file, aborting.



"Michael O'Quinn" <michael@xxxxxxxxxxx> writes:

> #!/bin/bash
>
> echo "Killing fetchnews..."
> /usr/bin/killall    fetchnews
> sleep 20
> echo "Killing fetchnews with Signal -9"
> /usr/bin/killall -9 fetchnews
> echo "Done"

I strongly advise against SIGKILL. Don't use it.

Leafnode will indeed continue to run after SIGTERM or SIGINT, but it
will stop fetching right away, and it will only write the groupinfo file
(essential!) and fix up the xover data. If the SIGKILL arrives before
the groupinfo file has been written, the groupinfo file is outdated and
may cause confusion later when the group upper/lower article number
limits don't match. Articles may be hidden when getting numbers that are
too low.

-- 
Matthias Andree

http://sourceforge.net/projects/leafnode/   - leafnode-1 tarballs
http://mandree.home.pages.de/leafnode/beta/ - leafnode-2 tarballs

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