Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Parent process waiting for child process

by Corion (Patriarch)
on Oct 06, 2011 at 07:01 UTC ( [id://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.

Replies are listed 'Best First'.
Re^2: Parent process waiting for child process
by scorpio17 (Canon) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://929948]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-29 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found