Hello,

I am currently involved in a site where users frequently need to upload text
files of various sizes. Every so often users will experience problems where
the uploads will start timing-out and need to be reinitiated.

The timeout problem comes and goes, so far I've been unable to find the root
cause. It happens with files of all sizes, from 10k to several MB,
eventually they all get uploaded, tho sometimes it can take days re-trying.

Another issue is experienced when the above symptom is happening which makes
me think they're related. An additional tool on the site writes out files
with information provided by a user thru a form. A user submits a form with
some text and php writes out a file with the received info and notifies the
user the task was done. Every so often the browser will timeout with no file
written out by php or notification. This symptom can go on for days. The
info being written to a file is never longer than a dozen lines of text so
it's quite small.

Initially we thought that the server just did not have the resources to
service simultaneous uploads but monitoring tools show the cpu appears to be
near idle when this is experienced. I've experienced the file writing
problem when I was the only user on the server with all unnecessary services
disabled. The browser will just time out, then one days voila! it works
until the next problem day.

This is on a Linux box with Apache 1.3, php 4.2.2 & experienced across
multiple browsers. All the scripts have set_time_limit(0). File system has
the proper permissions and with plenty of free space.

We've been collecting quite a lot of info from the server to try to capture
it's state at the time of the problem but nothing raises any flags.

Has anyone experienced this issue or a similar issue? Any pointers and help
is greatly appreciated. 

Ivo

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to