Thread: PHP stderr lost
View Single Post
  #3  
Old 04-18-2004, 12:43 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
How about this.

1) When LSWS restarts, it spawns new php fastcgi group. Lsws would know at least the starting processid number of the new group.
2) Loop through current running processes and find all php processes with id lower than this number and send kill signal to them?

There is a loop-hole with this since lsws can kill long-running non-fastcgi spawned php proccesses such as scheduled cron jobs.
Reply With Quote