asdfgroup has asked for the wisdom of the Perl Monks concerning the following question:
Unfortunatelly it mystically stops working after ~10 mins.redirect_to("Prev_page.html") if fork(); close STDIN; close STDERR; close STDOUT; use POSIX 'setsid'; setsid or die 'cant start new session'; # Long-running code here
Sincerely, Nikita Savin-bash-2.05b# uname -a FreeBSD www3 4.8-RC FreeBSD 4.8-RC #0: Tue Mar 11 15:00:17 GMT 2003 + netwave@www3:/usr/obj/usr/src/sys/GENERIC i386 -bash-2.05b# perl -v This is perl, v5.8.0 built for i386-freebsd ... [Tue Mar 11 16:24:04 2003] [notice] Apache/1.3.26 (Unix) mod_perl/1.26 + mod_throttle/3.1.2 PHP/4.2.2 mod_ssl/2.8.10 OpenSSL/0.9.6f configure +d
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with for in CGI
by robartes (Priest) on Apr 25, 2003 at 11:54 UTC | |
|
Re: Problem with for in CGI
by PodMaster (Abbot) on Apr 25, 2003 at 10:32 UTC | |
by asdfgroup (Beadle) on Apr 25, 2003 at 23:16 UTC | |
|
Re: Problem with for in CGI
by Notromda (Pilgrim) on Apr 25, 2003 at 15:30 UTC | |
|
Re: Problem with for in CGI
by marinersk (Priest) on Apr 25, 2003 at 19:37 UTC |