Re: Loop aborts on web server
- From: smallpond <smallpond@xxxxxxxx>
- Date: Wed, 13 May 2009 10:31:31 -0700 (PDT)
On May 13, 1:26 pm, "Emil Horowitz" <i...@xxxxxxx> wrote:
On May 13, 9:20 am, "Emil Horowitz" <i...@xxxxxxx> wrote:
Hi,
I have noticed that a large For loop (10,000 to 20,000 loops) aborts
after
about 500 to 600 loops and terminates script execution when running on
the
web server of my ISP. On my local host, the complete loop runs without
problems. Any idea about this?
Thanks, Emil
Web servers put a time limit on CGIs. Does your
server allow you to fork a long-running process?
I am afraid that a time limit is not the reason for the problem. I made this
test: I put a one second's "sleep" into each loop, extending the runtime of
the script many times over. Still the script aborts after about 500 loops,
as before without the "sleep" command. Any ideas?
Emil
Is it creating a large data structure on each loop?
.
- References:
- Loop aborts on web server
- From: Emil Horowitz
- Re: Loop aborts on web server
- From: smallpond
- Re: Loop aborts on web server
- From: Emil Horowitz
- Loop aborts on web server
- Prev by Date: Re: Loop aborts on web server
- Next by Date: Re: Loop aborts on web server
- Previous by thread: Re: Loop aborts on web server
- Next by thread: Re: Loop aborts on web server
- Index(es):
Relevant Pages
|