ID:               38757
 User updated by:  davidb at pins dot net
 Reported By:      davidb at pins dot net
 Status:           Closed
 Bug Type:         Apache related
 Operating System: Solaris 8
 PHP Version:      5.1.6
 Assigned To:      dmitry
 New Comment:

Greetings.

Does this mean you are *not* going to commit a fix of 20s, but will
leave in the 5s?

One can argue about where the error is, but if you consider a submit
from a remote site is uploading at 8kb/sec on average over 8 seconds,
than that's 8KB in 8 seconds.  Even at 16kb/sec, you're going to take
more than 5 seconds to fill a 16KB or 32KB buffer, which is the buffer
between HTTP and mod_fastcgi.

Can this be a config option or something so I don't have to keep
patching?  The downside of not putting in some sort of patch like this
is a slow connection upstream will get regular errors.


Previous Comments:
------------------------------------------------------------------------

[2006-10-03 09:24:01] [EMAIL PROTECTED]

You can address this bug to mod_fastcgi people. It is really terrible
to allocate PHP process and make it wait for more then 5 seconds. I
don't like make PHP hang because of bugs (or bad decision) in it.

I am closing this bug.

You can try to use ZendEnabler from ZendCore distribution instead of
mod_fastcgi.

------------------------------------------------------------------------

[2006-09-26 14:05:24] davidb at pins dot net

Greetings.

I pulled the file out of CVS and built it.  I see that the line you
changed is the struct tv{} stuff.  After some testing, it looks like
moving it to 5 seconds helped, but did not fix the problem 100% of the
time.

I moved it to 20 seconds, and that seems to fix the problem for our
developers in Australia who were experiencing it the most.  I also
backported this into 5.1.6 (it was only the single line change) and
that seems to work there as well.

Can we put this on closed for now, and I'll reopen it if it doesn't fix
it permenantly?

------------------------------------------------------------------------

[2006-09-20 14:50:28] davidb at pins dot net

I just downloaded the latest snap php5.2-200609200230, but the poll()
still shows the same thing:

  poll(0xFFBEDB18, 1, 1000)                       = 1

can you please tell me where to get the right stuff to test?

Thanks.

------------------------------------------------------------------------

[2006-09-19 20:52:55] davidb at pins dot net

Ummm...well, here's what I installed:

   php5.2-200609141630

Does this have what I need?  If not, can you tell me what URL to go
look for?  I went to the snaps.php.net page for this.

------------------------------------------------------------------------

[2006-09-19 20:43:12] [EMAIL PROTECTED]

You have tested the old version, pool(..., 1000) means 1 second
timeout. In new version you should have 5 seconds.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/38757

-- 
Edit this bug report at http://bugs.php.net/?id=38757&edit=1

Reply via email to