Forum: Ruby on Rails stopping long running actions

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Doug (Guest)
on 2008-11-22 21:42
(Received via mailing list)
I have been trying to find a way to stop a long running action.  The
method I have been trying is using an around filter with the
Terminator gem (
without-mercy)  however the Terminator gem doesn't seem to play well
with mongrel.  testing it in script/console gives the expected
results, but when I use it with script/server Terminator halts the
mongrel entirely.  I dug through mongrel Signal.trap calls and tried a
few different signals, but I never got anything to work.  I tried both
the standard Timeout Module and SystemTimer with even less luck.  So
the question is, has anyone else been able to get a similar setup
working?  How would you stop long running requests?
This topic is locked and can not be replied to.