Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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
Replies are listed 'Best First'.
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 lurking in the Monastery: (13)
As of 2015-07-31 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls