Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Parent process waiting for child process

by Corion (Pope)
on Oct 06, 2011 at 07:01 UTC ( #929948=note: print w/ replies, xml ) Need Help??


in reply to Parent process waiting for child process

The technique outlined in Watching Long Running Processes Through CGI should have both, the dissociation of the background process from the parent and a way of displaying the "Please hold the line" page.


Comment on Re: Parent process waiting for child process
Re^2: Parent process waiting for child process
by scorpio17 (Monsignor) on Oct 06, 2011 at 14:37 UTC
    I think the step most people overlook, is that when you use fork, then child process has to 'close STDOUT', in order to "break the connection" to the web server.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (12)
As of 2014-12-17 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (33 votes), past polls