apache/thrift — pull request #208 by bogdanalbei (2014-09-04 14:36:55+00:00)
Title: Update TForkingServer.php

The while() statement was causing the forked children to handle one request and then just spin without doing anything. By connecting to the server multiple times, you would end up with lots of children processes that wouldn't exit, but consume processor time.
The fix is to handle one request per child and then exit.