Re: alarms

2002-04-11 Thread Perrin Harkins
Damyan Ivanov wrote: > OK, but I am really curious. What really happens if I intentionally set > the alarm to ring after the request has finished? For example if I want > something to hapen if apache child is idle for more than 15 minutes. Try it. Most likely it will run the alarm, but will inte

Re: alarms

2002-04-11 Thread Stas Bekman
Damyan Ivanov wrote: > On Thu, Apr 11, 2002 at 12:30:53AM +0800 Stas Bekman wrote: > >>mire wrote: >> >>>I wish to know 2 things about mod_perl >>> >>>1) what happens when you set an alarm for lets say 30 seconds and the >>>request >>>finishes in 20 ? Since apache child is very likely still aliv

Re: alarms

2002-04-10 Thread Damyan Ivanov
On Thu, Apr 11, 2002 at 12:30:53AM +0800 Stas Bekman wrote: > mire wrote: > >I wish to know 2 things about mod_perl > > > >1) what happens when you set an alarm for lets say 30 seconds and the > >request > >finishes in 20 ? Since apache child is very likely still alive is mod_perl > >too ? > >

Re: alarms

2002-04-10 Thread Stas Bekman
mire wrote: > I wish to know 2 things about mod_perl > > 1) what happens when you set an alarm for lets say 30 seconds and the request > finishes in 20 ? Since apache child is very likely still alive is mod_perl too ? You don't set alarm around the request, do you? You set the alarm for a certa

Re: alarms

2002-04-10 Thread Perrin Harkins
mire wrote: > 1) what happens when you set an alarm for lets say 30 seconds and the request > finishes in 20 ? You are supposed to unset the alarm if the event you were timing finishes before it goes off. > 2) does apache child die when you issue die; from perl code (mod_perl > ofcourse) ? No,

alarms

2002-04-10 Thread mire
I wish to know 2 things about mod_perl 1) what happens when you set an alarm for lets say 30 seconds and the request finishes in 20 ? Since apache child is very likely still alive is mod_perl too ? 2) does apache child die when you issue die; from perl code (mod_perl ofcourse) ? -- Best reg

Re: Alarms?

2002-01-10 Thread Bill Moseley
At 06:56 PM 01/10/02 +0300, [EMAIL PROTECTED] wrote: >Hello! > >I'm getting lots of errors in log: > >[Thu Jan 10 18:54:33 2002] [notice] child pid 8532 exit signal Alarm clock >(14) I hope I remember this correctly: What's happening is you are setting a SIGALRM handler in perl, but perl is not

Alarms?

2002-01-10 Thread tarkhil
Hello! I'm getting lots of errors in log: [Thu Jan 10 18:54:33 2002] [notice] child pid 8532 exit signal Alarm clock (14) [Thu Jan 10 18:54:37 2002] [notice] child pid 8542 exit signal Alarm clock (14) [Thu Jan 10 18:54:42 2002] [notice] child pid 8537 exit signal Alarm clock (14) What causes t