Please add to debian-edu-config //Re: tests for killing left-behind processes crontab or manual
Hi Gilberto,
thank you for your testings.
I suggest adding the script to the debian-edu-config package
(same location as nightkill.sh).
The Python script is obviously run in daemon mode:
>while True:
> time.sleep(5)
> myKiller.searchZombies()
Now, let's discuss possible options - like:
-s: single run
-d: daemon mode (start in background anyway)
-l: support logging
-I<n>: loop interval in seconds
...
An interval of 5-10 seconds seems to be tight enough in order to prevent
that a user reported having logged out did not log in again, meanwhile.
Such option/optimizing can be left to the packaging process.
There and here, the naming should be regarded once more:
There is already a package "killer" - hence I suggest to use another
naming. The final decision should be left to José - I suggest something
like z[ombie-]hunter or [left-behind-]process-purger or even ghosthunter
(or any real name of any well-known zombie-chaser]...
I suggest to post further comments or decisions within bug 1392 [1]:
"add josé's zombie hunter to /usr/share/debian-edu-config/tools/"
Kind regards
Ralf
[1] http://bugs.skolelinux.org/show_bug.cgi?id=1392
Am Sunday, 8. November 2009 schrieb gilberto alves:
> Hello, José L. Redrejo Rodríguez!
>
> I was run with sucessfully your python scripts in qemu virtual
> machines in debian lenny 5 and in ubuntu 8.04 server i386
> environment and it is run smoothly and kill lots of pending jobs for
> several reasons. Next week i will run more tests in a ldap server.
> Thank you for your explanations about gambas2.
> Regards from são paulo - Brazil!
>
>
Reply to: