ChrisJ-UK has asked for the wisdom of the Perl Monks concerning the following question:
I am running a very long perl script under Apache 2.0.48 with Suse.
The script crawls web pages and analyses them. In order to avoid overloading the server/s these pages come from it has been agreed that there will be a short pause between each page request. This makes the script run for even longer.
The first server my employers put me on stopped the script after a couple of hours as a precaution against 'run away' scripts, for example; those in infinite loops.
This is, of course, a sensible precaution but as I could not over-ride this I was moved to a new, dedicated, server where we could, supposedly, configure things to avoid this timing problem.
The new server is now ending the script after approximately five minutes!
Is there a way to avoid this problem in a similar manner to how PHP allows you to set runtime variables within a script or must I wait until the server admin. guy has had a look?
Thanks for any light you can shed on this.
Chris.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Script Timeout Settings?
by skx (Parson) on Jul 23, 2004 at 11:09 UTC | |
by ChrisJ-UK (Novice) on Jul 23, 2004 at 11:16 UTC | |
by tilly (Archbishop) on Jul 23, 2004 at 13:04 UTC | |
by Grygonos (Chaplain) on Jul 23, 2004 at 12:42 UTC | |
by ChrisJ-UK (Novice) on Jul 26, 2004 at 16:50 UTC |