ID: 12360 User updated by: sheep at fearthisclan dot com Reported By: sheep at fearthisclan dot com Status: Open Bug Type: Sockets related -Operating System: RedHat 6.2 +Operating System: FreeBSD PHP Version: 4.3.2 New Comment:
I'm going to be out of town (without comptuer) till this sunday. Please don't close it if i dont respond before late sunday night. I really wanna help any way that I can to get this fixed. Previous Comments: ------------------------------------------------------------------------ [2003-12-22 16:03:38] sheep at fearthisclan dot com It doesn't seem to have any effect on it. I tried 10, 5 and 0. ------------------------------------------------------------------------ [2003-12-22 14:21:58] [EMAIL PROTECTED] Try adjusting the default_socket_timeout ini setting, which defaults to 60 seconds. ini_set('default_socket_timeout', 10); fsockopen(...); (I know you shouldn't need to do this, but it will help me to figure out what is going on) ------------------------------------------------------------------------ [2003-12-22 13:45:37] sheep at fearthisclan dot com Maybe I can be a little more specific about the behavior. Whenever my program tries to query a server that is down, the socket seems to prevent php from doing anything at all. The max_execution_time of 30 seconds does not even step in and give a fatal error after 30 seconds of running. If there has been a fix or if you know around this I'd really like to know. I'm not sure how willing these guys will be to use a CVS or not, but if you tell me its fixed in one of them I could try and ask them to. ------------------------------------------------------------------------ [2003-12-02 01:57:21] sheep at fearthisclan dot com I am having this problem as well now. My host is running FreeBSd. Here is the info page that shows what they have compiled and everything. http://www.fearthisclan.com/info.php The script im using this for queries a bunch of game servers. I was having a problem with the socket hanging on servers that were up. The socket would wait(hang) even when the information was all sent. I worked around this using socket_get_status (when it's zero I can quit waiting), but if a server is down from the get go my script hangs forever it seems. If anyone has found a fix for this problem yet I'd appreciate the help. Thank you, Tommy ------------------------------------------------------------------------ [2003-09-22 06:51:12] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. PHP-devs: Do not reopen reports where the original submitter hasn't responded in years.. ------------------------------------------------------------------------ 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/12360 -- Edit this bug report at http://bugs.php.net/?id=12360&edit=1