Andy.L - 2009-11-24 02:48:28
Step
1)Start server
2) A client connect to my server
3) Client crashed down
4) The php script cause CPU to 99%
"Socket Server" use is_resource() to judge whether connection is alive. If client crash down, is_resource() still return true. Then it cause a horrible dead loop.