#21736 [Opn]: fsockopen timeouts

2003-01-20 Thread support
 ID:   21736
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Sockets related
 Operating System: Linux (kernel 2.4.18)
 PHP Version:  4.3.1-dev
 New Comment:

Don't worry so. I will ask to my developpers to look in fsock.c to
correct the problem.
You can close the bug if you want.
Have a good day.


Previous Comments:


[2003-01-19 23:57:22] [EMAIL PROTECTED]

FYI: I can NOT reproduce this with PHP 4.3.1-dev.





[2003-01-19 18:34:04] [EMAIL PROTECTED]

Hi,

I just tried :
http://snaps.php.net/php4-STABLE-latest.tar.gz
and the problem remains the same.

I'm sorry to bore you with that.



[2003-01-19 18:28:13] [EMAIL PROTECTED]

leaving marked as feedback until user reports back.



[2003-01-19 09:45:10] [EMAIL PROTECTED]

Hi,

We have set default_socket_timeout=20
It changes nothing. 
fsockopen() doesn't respond even after 20 secs.
After 1 minute waiting for a respond, my browser give up.
So I don't have any error message from the script.
Again, it works fine in PHP4.2.x. It responds (positively) in less than
3 secs and the socket is correctly open.
Tonight I will try with
 http://snaps.php.net/php4-STABLE-latest.tar.gz
I will tell you what happens.

Thanks.



[2003-01-19 03:53:01] [EMAIL PROTECTED]

I stand by my original comment; you have your max_execution_time set to
30 seconds, while the default_socket_timeout is 60 seconds.
Try setting it to something less than 30 seconds (or even using the
timeout parameter to fsockopen).



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/21736

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




#21736 [Opn]: fsockopen timeouts

2003-01-19 Thread sniper
 ID:   21736
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Sockets related
 Operating System: Linux (kernel 2.4.18)
-PHP Version:  4.3.0
+PHP Version:  4.3.1-dev
 New Comment:

FYI: I can NOT reproduce this with PHP 4.3.1-dev.




Previous Comments:


[2003-01-19 18:34:04] [EMAIL PROTECTED]

Hi,

I just tried :
http://snaps.php.net/php4-STABLE-latest.tar.gz
and the problem remains the same.

I'm sorry to bore you with that.



[2003-01-19 18:28:13] [EMAIL PROTECTED]

leaving marked as feedback until user reports back.



[2003-01-19 09:45:10] [EMAIL PROTECTED]

Hi,

We have set default_socket_timeout=20
It changes nothing. 
fsockopen() doesn't respond even after 20 secs.
After 1 minute waiting for a respond, my browser give up.
So I don't have any error message from the script.
Again, it works fine in PHP4.2.x. It responds (positively) in less than
3 secs and the socket is correctly open.
Tonight I will try with
 http://snaps.php.net/php4-STABLE-latest.tar.gz
I will tell you what happens.

Thanks.



[2003-01-19 03:53:01] [EMAIL PROTECTED]

I stand by my original comment; you have your max_execution_time set to
30 seconds, while the default_socket_timeout is 60 seconds.
Try setting it to something less than 30 seconds (or even using the
timeout parameter to fsockopen).



[2003-01-19 03:48:50] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

sorry - I just re-read you report (it's early!).
Can you try a stable snapshot?
If it still hangs, can you read the instructions here:
http://bugs.php.net/bugs-generating-backtrace.php
and follow the If you can't get a core file section;
when/if php hangs (after approx 1 minute), interrupt the httpd by
pressing CTRL-C and then type bt full.




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/21736

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