Re: Re: PHP scripts timeout
| From: | charlesk | Date: | Thu, 03 Jan 2002 19:51:55 +0000 |
| Subject: | Re: Re: PHP scripts timeout | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-79352@lists.php.net to get a copy of this message | ||
I have looked at the post variables and sometimes it times out when nothing is passed to it. Either
through post get or cookie.(I know this from looking at the phpinfo that I dump everytime a script
runs too long.) Its got me stumped. Hopefully someone someday will figure it out. Thanks though.
Charles Killmer
IIS 5.0 Win2000 Server PHP 4.1.0
---------- Original Message ----------------------------------
From: "Fred" <fred.nospam.please@querymagic.com>
Date: Thu, 3 Jan 2002 11:21:23 -0800
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
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net