killing a process exceeding its time quota spams log

Bug #899231 reported by Vincent Ladeuil
6
This bug affects 1 person
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.mass_import - WARNING - Importing nexuiz-data killed, timeout 1 day, 0:00:00 exceeded
2011-12-01 15:30:46,878 - udd.scripts.mass_import - WARNING - Importing nexuiz-data killed, timeout 1 day, 0:00:00 exceeded
2011-12-01 15:30:46,880 - udd.scripts.mass_import - WARNING - Importing nexuiz-data killed, timeout 1 day, 0:00:00 exceeded

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.mass_import - WARNING - Importing nexuiz-data killed, timeout 1 day, 0:00:00 exceeded

2011-12-01 15:30:57,808 - udd.scripts.mass_import - WARNING - Importing nexuiz-data failed:

2011-12-01 15:30:57,817 - udd.scripts.mass_import - INFO - thread for nexuiz-data finished
2011-12-01 15:30:57,942 - udd.scripts.mass_import - INFO - Trying nexuiz-data

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

Vincent Ladeuil (vila)
Changed in udd:
assignee: nobody → Vincent Ladeuil (vila)
Vincent Ladeuil (vila)
Changed in udd:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.