title: php-cgi processes not closed off after script finishes executing - PHP5.3.3, Win Server 2003, apache
body: <p>I have a strange problem running PHP5.3.3 on a Windows 2003 server with Apache.</p>
  
  <p>Sometimes scripts that have been initiated finish the work that they are doing, but the process does not close.</p>
  
  <p>This can leave a large number of orphan php-cgi.exe processes running, but not, apparently, doing anything (not using any CPU time).</p>
  
  <p>After a while, these build up and cause performance issues on the server.</p>
  
  <p>There doesn't seem to be a fault with the PHP script itself, as normally it runs and closes fine, it's just somethings it doesn't, and there doesn't seem to be any obvious pattern about it either.</p>
  
  <p>Also, we didn't have this problem before moving from PHP4 to PHP5.3.</p>
  
  <p>Any ideas? It feels like some config I've got wrong in Apache or PHP somewhere? I am NOT using the apache dll to run PHP,and neither is this an option for me.</p>
  
  <p>thanks in advance</p>