Re: how to catch a killed task?

2001-10-10 Thread Stas Bekman
Christoph Bergmann wrote: > Stas Bekman wrote: > >>Christoph Bergmann wrote: >> >> >>>hi... >>> >>>i use BSD::Resource to limit the ressources of the apache tasks. this >>>works fine but now i want to clean up afterwards but i don&

Re: how to catch a killed task?

2001-10-09 Thread Christoph Bergmann
Perrin Harkins wrote: > > > Perrin Harkins wrote: > > > > > > I believe the limiting done by BSD::Resource is pretty harsh and may > > > actually be at the kernel level. I don't think you can catch the signal > and > > > deal with it yourself. What you should do is use Apache::SizeLimit to > >

Re: how to catch a killed task?

2001-10-09 Thread Christoph Bergmann
Stas Bekman wrote: > > Christoph Bergmann wrote: > > > hi... > > > > i use BSD::Resource to limit the ressources of the apache tasks. this > > works fine but now i want to clean up afterwards but i don't know how to > > catch a kill

Re: how to catch a killed task?

2001-10-09 Thread Perrin Harkins
> Perrin Harkins wrote: > > > > I believe the limiting done by BSD::Resource is pretty harsh and may > > actually be at the kernel level. I don't think you can catch the signal and > > deal with it yourself. What you should do is use Apache::SizeLimit to > > handle your size constraints, and jus

Re: how to catch a killed task?

2001-10-09 Thread Christoph Bergmann
Perrin Harkins wrote: > > I believe the limiting done by BSD::Resource is pretty harsh and may > actually be at the kernel level. I don't think you can catch the signal and > deal with it yourself. What you should do is use Apache::SizeLimit to > handle your size constraints, and just use BSD::

Re: how to catch a killed task?

2001-10-07 Thread Perrin Harkins
> it just killed the task at soft limit without calling "cleanup". what is > wrong? I believe the limiting done by BSD::Resource is pretty harsh and may actually be at the kernel level. I don't think you can catch the signal and deal with it yourself. What you should do is use Apache::SizeLimit

Re: how to catch a killed task?

2001-10-07 Thread Stas Bekman
Christoph Bergmann wrote: > hi... > > i use BSD::Resource to limit the ressources of the apache tasks. this > works fine but now i want to clean up afterwards but i don't know how to > catch a killed task... here is what i tried with signals: > > my entries in h

how to catch a killed task?

2001-10-06 Thread Christoph Bergmann
hi... i use BSD::Resource to limit the ressources of the apache tasks. this works fine but now i want to clean up afterwards but i don't know how to catch a killed task... here is what i tried with signals: my entries in httpd.conf: PerlModule Apache::Resource PerlSetEnv PERL_RLIMIT_CP