in reply to Re^2: how to timeout an operation under mod_perl (fork?!)
in thread how to timeout an operation under mod_perl
Sam and I came up with this while working on a project together that had the potential to generate very long-running queries. We tried a few other things before doing it this way, and they all had downsides. The potential for trouble when you use unsafe signals with XS code is pretty high. If forking really bothers you, you could do a more complicated approach with a prefork server.
You do mention that you already use the unsafe signals approach. If that's working for you, what more were you looking for?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: how to timeout an operation under mod_perl (looking)
by tye (Sage) on Sep 07, 2008 at 16:42 UTC | |
by perrin (Chancellor) on Sep 07, 2008 at 16:54 UTC | |
by ysth (Canon) on Sep 08, 2008 at 04:57 UTC | |
by tye (Sage) on Sep 08, 2008 at 06:37 UTC |