Re: PHP scripts timeout
| From: | Fred | Date: | Thu, 03 Jan 2002 19:21:23 +0000 |
| Subject: | Re: PHP scripts timeout | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79348@lists.php.net to get a copy of this message | ||
First of all, there is no need to worry about database connections, PHP does
not count the time that it is waiting for database connections to complete.
The best suggestion I can make is to try to determine if the scripts that
time out have been passed a common post or get variable, that may be
upsetting your code.
Fred
Charlesk <charlesk@netgaintechnology.com> wrote in message
news:200201031019.AA30474338@mail01.netgaintechnology.com...
> Every once in a while, maybe 10 times a day, scripts timeout. Different
scripts, different places in the script, different IP addresses.
> I wrote an auto_append script that dumps the phpinfo to a file if the
script ran longer than 30 seconds, and nothing is odd in those phpinfo's.
> Sometimes the same IP address gets the script fast sometimes timeout. I
have increased the timeout from 60 to 120 then to 240. I still get a few
timeouts.
> I have looked through the code and it cant be a database connection
because some of the scripts don't use a database. It doesn't look like it
can be an infinite loop either.
>
> Does anyone have any thoughts?
>
> Charles Killmer
> NetgainTechnology.com
> IIS 5.0 Win2000 Server PHP 4.1.0
>
> ---------- Original Message ----------------------------------
> From: Henning Sprang <hsprang@epharmexx.de>
> Date: 03 Jan 2002 15:33:31 +0100
>
> Am 03 Jan 2002 08:10:08 -0600 schrieb charlesk :
> > Is the php engine slowed by users with a slow connection?
> it _should_ not under "normal" circumstances - but what problems are you
> exactly experiencing?
>
> henning
>
>
>