fork dies

Juha-Jarmo Heinonen <[email protected]>
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
I have this problem involving making a subprocess under mod_ruby.
(It works fine when it's implemented as a cgi.)

-----------

fork { some_really_expensive_background_process }

-----------


The fork lives only as long as the request. Using sleep() makes the 
request
live a little longer, but the fork will die anyway and won't solve the 
problem.
The fork process could take hours to complete..
I have already solved my problem sub-optimally as a cronjob-kludge.
I'd anyway want to know if this behavior is a bug or "feature" in 
mod_ruby? ;)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.