Thursday, 26 July 2007

Feature/admin: Stack trace for terminated transactions

Added a handler for the {\tt INT} signal which, when received, prints a stack trace to {\tt STDERR} (which will thus appear in the HTTP server error log) and terminates. This simplifies the task of debugging CPU hang or other problems which lead to a CGI program timeout and the resulting 500 response to the requester.

No comments: