good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Issue with Running Long Processes thru CGIby snoopy (Curate) |
on Jul 04, 2006 at 02:20 UTC ( [id://559073]=note: print w/replies, xml ) | Need Help?? |
Hi Sarah,
Just to analyse execution:
When processing a cgi request with query parameter sleep eq 'sleep', you get to (2). A child process is forked, then two things happen concurrently:
The flag may, or may not get 'set' prior to get depending on timing (load, task size, scheduling etc..). This might explain why you are sometimes, but not consistantly getting to (2a).
In Section
Seekers of Perl Wisdom
|
|