Comment 4 for bug 705433

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

In a discussion on IRC, I recall that we came up with a good idea here. The hooks should be sent SIGUSR1 first. If they have a handler for SIGUSR1, they can choose to defer the timeout with a hook executable, something like 'hook-control defer-timeout'. This way hooks that are expected to take a really long time can write handlers and defer. If they do not respond to the SIGUSR1 within X seconds, then SIGTERM and SIGKILL will be used, and errors raised.

I'm going to mark this as Confirmed. I've had a few misbehaving hooks now that locked everything up.