Gordon Stewart said at 06:13 10-6-2002:
>Well the script is quite small, But it processes a BIG file - 180 megs or
>so..
>& ive got a time-out for running the script.
Really? Must be 5400 rpm disks :-)
Seriously - if you do this often - get enough RAM and fast disks - no
matter how
you solve it - reading in large files does take it's time and worse: take
system
time, tying up other resources as well.
<plug>
If you need advice on what to buy or how to optimize windows, Jeff Adams
and Alex
Broens are excellent resources for these things.
</plug>
>Ive found the part that controlls thE CGI time-out & increasing it..
>- Hopefully that will solve it..
There may be more timeouts applying here, depending on how fast the read
goes and
whether the script writes any output during the read operation.
>EG - Keep the CGI timeout small, ut for this one script, any commands I
>can use to over-ride / inbcrease the time-out fotr this one process ?
I'm afraid not. Since this is a security feature, it's server-wide (maybe
it should be directory based...) - if it would be settable within a
script/program, it would defeat it's purpose :-)
____________________________________________________
</MELVYN>
void wakeup()
{
for(long int cuppajava;drink();cuppajava++);
}
-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/