View Single Post
Old 05-26-2010, 09:05 AM   #6 (permalink)
core1024
The Wanderer
 
Join Date: May 2010
Posts: 19
Thanks: 1
core1024 is on a distinguished road
Default

I've tested it and the result is following
Code:
~/test$ php5 srv.php 
Waiting for socket connection on 127.0.1.1:9996
Incomming connection accepted!
Socket file data read and saved to
test_b4288d9c0ec0a1841b3b3728321e7088.test
Sockets closed!

 
~/test$ pgrep -lf php
~/test$ netstat -n| grep 9996
tcp        0      0 127.0.1.1:9996          127.0.1.1:49404         TIME_WAIT  
~/test$
After the script terminates there is not zombie process. In netstat manual says that TIME_WAIT means that after the socket is closed the port is still waiting for not delivered packets. I am not sure what is causing it, but for sure it is a parameter to be set.
core1024 is offline  
Reply With Quote
The Following User Says Thank You to core1024 For This Useful Post:
nefus (05-26-2010)