killing a process exceeding its time quota spams log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Distributed Development |
Fix Released
|
High
|
Vincent Ladeuil |
Bug Description
While monitoring nexuiz-data I found a lot of log messages like :
2011-12-01 15:30:46,877 - udd.scripts.
2011-12-01 15:30:46,878 - udd.scripts.
2011-12-01 15:30:46,880 - udd.scripts.
This is caused by the mass-import script writing such a message every time it *tries* to kill the process (during a grace period of 10 seconds).
At the end of the grace period it kills again but with SIGKILL:
2011-12-01 15:30:57,807 - udd.scripts.
2011-12-01 15:30:57,808 - udd.scripts.
2011-12-01 15:30:57,817 - udd.scripts.
2011-12-01 15:30:57,942 - udd.scripts.
and all is well.
So that's indeed a process *surviving* a kill(SIGTERM) so the fix for bug #735477 is correct in this regard but has introduced another source of spam.
Related branches
- Ubuntu Distributed Development Developers: Pending requested
-
Diff: 161 lines (+62/-35)3 files modifiedudd/scripts/mass_import.py (+7/-5)
udd/tests/test_threads.py (+48/-24)
udd/threads.py (+7/-6)
Changed in udd: | |
assignee: | nobody → Vincent Ladeuil (vila) |
Changed in udd: | |
status: | In Progress → Fix Released |