[mod_python] Trouble spawning a long running process...

Gregory (Grisha) Trubetskoy grisha at modpython.org
Wed Jun 2 13:43:05 EDT 2004



On Tue, 1 Jun 2004, Eric Walstad wrote:

> Do any of you have advice for a good way to keep the user from having to wait
> for long processes to finish before seeing a response from mod_python?

Here is another idea - instead of spawning, register it as a cleanup
(req.register_cleanup()). It will execute within the Apache process, but
after the request is processed, and shouldn't really interfere with
anything.

Grisha


More information about the Mod_python mailing list