From:             jiangcat at gmail dot com
Operating system: Centos 5.2
PHP version:      5.2.11
PHP Bug Type:     Sockets related
Bug description:  Socket shuts down automatically after X seconds of idling

Description:
------------
I've made a chat server using php socket features, and it works pretty
well as I've expected. However, the server shuts down automatically after
about 3 hours of idling (no connections).

I've set the php execution time limit to 0, and running this script from
shell in the background. Can't think of any other reason causing this
strange behavior.

Reproduce code:
---------------
The code is too long to submit.


-- 
Edit bug report at http://bugs.php.net/?id=50281&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=50281&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=50281&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=50281&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=50281&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50281&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=50281&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=50281&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=50281&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=50281&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=50281&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=50281&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=50281&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=50281&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=50281&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=50281&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=50281&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=50281&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=50281&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=50281&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=50281&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=50281&r=mysqlcfg

Reply via email to