Bug #66572 [Opn->Fbk]: Crash

From: Date: Sun, 26 Jan 2014 00:04:13 +0000
Subject: Bug #66572 [Opn->Fbk]: Crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-184007@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66572&edit=1

 ID:                 66572
 Updated by:         requinix@php.net
 Reported by:        jitesh dot prajapati at infostretch dot com
 Summary:            Crash
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Sockets related
 Operating System:   Cent OS 6
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

Still not enough info. We need to see demo code (a short sample that exhibits the same problem, not
your real thing), or error information, or backtraces, or something. A textual description of what
you observe is alright but doesn't really offer us much to go on.

You say "crash" but the process is running? Then it's not a crash. socket_write()
never returns? It's really just a call to write(3) so there's not much room for it to have
problems. Could the socket be blocked, implying the client isn't reading everything from it?


Previous Comments:
------------------------------------------------------------------------
[2014-01-25 10:41:22] jitesh dot prajapati at infostretch dot com

More Information
-----------------

We have implemented web socket server, and it is working fine, it able to handle so many
read/writes.

Now issue is after some time (around 20-30 mins and sometime longer than it), server got crash, it
shows service in process list but server does not able to request response.

We have placed different debugging points and found that server goes crash on executing function
socket_write.

------------------------------------------------------------------------
[2014-01-25 10:39:34] jitesh dot prajapati at infostretch dot com

More Information
-----------------

We have implemented web socket server, and it is working fine, it able to handle so many
read/writes.

Now issue is after some time (around 20-30 mins and sometime longer than it), server got crash, it
shows service in process list but server does not able to request response.

We have placed different debugging points and found that server goes hand on executing function
socket_write.

------------------------------------------------------------------------
[2014-01-25 04:02:04] requinix@php.net

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




------------------------------------------------------------------------
[2014-01-25 04:01:03] jitesh dot prajapati at infostretch dot com

Description:
------------
---
From manual page: http://www.php.net/function.socket-write
---

Socket server crashes on write after around 20-30 minutes, and does not reveal any information of
crash.



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



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


Thread (9 messages)

« previous php.bugs (#184007) next »