Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Catalyst, FastCGI and fork

by tobbo (Novice)
on Feb 11, 2013 at 02:47 UTC ( #1018086=perlquestion: print w/ replies, xml ) Need Help??
tobbo has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

I'm currently working on a Catalyst project using FastCGI. The problem is, I can't figure out how to fork correctly within the application. A simple fork call leaves me with fastcgi zombie processes.

I've read the FastCGI FAQ (http://www.fastcgi.com/docs/faq.html#Perlfork ) and it seems like thats what I need. But I can't find a way to get the FCGI::Request object.

Comment on Catalyst, FastCGI and fork
Replies are listed 'Best First'.
Re: Catalyst, FastCGI and fork
by Anonymous Monk on Feb 11, 2013 at 03:44 UTC
Re: Catalyst, FastCGI and fork
by Anonymous Monk on Feb 11, 2013 at 13:09 UTC
    Better yet hand the request (e.g. by another FastCGI-protocol link... why not?) to a true offline-service process. "POE" would do as a basis in a pinch. Let the online web-user monitor the progress of the batch job, and to retrieve the results when finished.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1018086]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (14)
As of 2015-08-28 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (338 votes), past polls