#39766 [NEW]: PHP wastes time on a slow network connection instead of recieving the buffers
| From: | deepak dot vasudevan at lavanyadeepak dot tk | Date: | Thu, 07 Dec 2006 15:34:19 +0000 |
| Subject: | #39766 [NEW]: PHP wastes time on a slow network connection instead of recieving the buffers | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-106066@lists.php.net to get a copy of this message | ||
From: deepak dot vasudevan at lavanyadeepak dot tk
Operating system: Windows 2003/IIS 6.0
PHP version: 4.4.4
PHP Bug Type: CGI related
Bug description: PHP wastes time on a slow network connection instead of recieving the buffers
Description:
------------
I have configured PHP with IIS 6.0 in CGI flavor. I have also optimized
the following values in PHP.INI to facilitate huge uploads to the tune of
200 MB:
(*) Memory Limit
(*) Max Input Time
(*) Max Script Time
The file upload passes fine if the client browser is connected to the web
server in a high speed network. It works like a charm since it does not
spike the CPU too. However, when I move the webserver to a different
network and the access the server, because of network delays, even though
Network Packet Analyzers show incoming data to the webserver running PHP,
PHP does not do anything after 70% of the filesize.
It sits silently and then after Max Input Time/Max script Time, gets
recycled by IIS with the error message "CGI Misbehaved". All other
settings are identical.
Expected result:
----------------
PHP should behave identically in all environments. Slow network and CGI
flavor seems to disturb the buffering strategy.
Actual result:
--------------
The php process gets killed by IIS with CGI Error "CGI application
misbehaved ...".
--
Edit bug report at http://bugs.php.net/?id=39766&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39766&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39766&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39766&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39766&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39766&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39766&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39766&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39766&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39766&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39766&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39766&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39766&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39766&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39766&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39766&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39766&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39766&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39766&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39766&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39766&r=mysqlcfg