an update to exec_helper.pl script

2005-03-13 Thread Igor Shevchenko
Hi all, Some time ago we had a thread about starting long-running background processes from mp2. I've found a race condition in our last solution. The helper background script could be killed by apache cleanup handler before it had a chance to fork into background and do "setsid". Here's the sc

Re: an update to exec_helper.pl script

2005-03-11 Thread Stas Bekman
Igor Shevchenko wrote: On Saturday 12 March 2005 02:52, you wrote: Igor Shevchenko wrote: Hi all, Some time ago we had a thread about starting long-running background processes from mp2. I've found a race condition in our last solution. The helper background script could be killed by apache cleanup

Re: an update to exec_helper.pl script

2005-03-11 Thread Igor Shevchenko
On Saturday 12 March 2005 02:52, you wrote: > Igor Shevchenko wrote: > > Hi all, > > > > Some time ago we had a thread about starting long-running background > > processes from mp2. I've found a race condition in our last solution. The > > helper background script could be killed by apache cleanup

Re: an update to exec_helper.pl script

2005-03-11 Thread Stas Bekman
Igor Shevchenko wrote: Hi all, Some time ago we had a thread about starting long-running background processes from mp2. I've found a race condition in our last solution. The helper background script could be killed by apache cleanup handler before it had a chance to fork into background and do "

an update to exec_helper.pl script

2005-03-11 Thread Igor Shevchenko
Hi all, Some time ago we had a thread about starting long-running background processes from mp2. I've found a race condition in our last solution. The helper background script could be killed by apache cleanup handler before it had a chance to fork into background and do "setsid". Here's the sc