Bug #66605 [Opn->Dup]: socket_write suspends execution
Edit report at https://bugs.php.net/bug.php?id=66605&edit=1
ID: 66605
Updated by: requinix@php.net
Reported by: jitesh dot prajapati at infostretch dot com
Summary: socket_write suspends execution
-Status: Open
+Status: Duplicate
Type: Bug
Package: Sockets related
Operating System: Cent OS 6
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Duplicate of bug #66572
Previous Comments:
------------------------------------------------------------------------
[2014-01-29 12:27:27] jitesh dot prajapati at infostretch dot com
Description:
------------
Hello Executive,
I have implemented web socket server in php.
Server works fine for some amount of time (I can say 15-20 mins), then after at some point execution
of script got suspended and it goes to some wait/deadlock condition.
I have put debugging points and found that it goes to suspend/wait/deadlock condition on
socket_write function.
I tried many ways but do not luck.
Can you recommend any solution for same?
Test script:
---------------
http://202.131.96.147/test/wevsocketclass.php
(Here is our server code)
Expected result:
----------------
Server must be working continuously and do not stuck at any point.
Actual result:
--------------
Server goes to suspend/stuck/wait/deadlock situation intermittently.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66605&edit=1
Thread (3 messages)