Re: BSD::Resource und apache/mod_perl

2002-01-10 Thread Christoph Bergmann
Perrin Harkins wrote: The difference is that Apache::Resource should apply this limit to each new child process. When you do this from the shell, you are limiting the parent Apache process, which isn't very useful. I put use BSD::Resource; setrlimit RLIMIT_AS, 3200, 6400; at the

BSD::Resource und apache/mod_perl

2002-01-09 Thread Christoph Bergmann
iterations are set lower (i.g. to 1) the script should give test...ok but it stops immediately with out of memory as well) has anybody any ideas? thanx in advance, best regards, christoph bergmann

Re: BSD::Resource und apache/mod_perl

2002-01-09 Thread Christoph Bergmann
RLIMIT_AS, 3200, 6400; at top of the test script. I use setrlimit directly so I could test if BSD::Resource works at all - and it DOES if run from the shell - but it does NOT if run from Apache/mod_perl. What could cause the different behaviour?? Best regards, Christoph Bergmann Perrin

How to use LWP::Simple inside a safe compartment?

2001-12-19 Thread Christoph Bergmann
with the name get elsewhere) I tried some other things but they all didn't work. Does anybody know how to use LWP::Simple::get inside a save compartment? Thanks in advance, Best regards, Christoph Bergmann PS: Sorry for this is not a 100% mod_perl question but I haven't get any help anywhere else right

How to use LWP::Simple inside a safe compartment?

2001-12-12 Thread Christoph Bergmann
with the name get elsewhere) I tried some other things but they all didn't work. Does anybody know how to use LWP::Simple::get inside a save compartment? Thanks in advance, Best regards, Christoph Bergmann PS: Sorry for this is not a 100% mod_perl question but I haven't get any help anywhere else right

predefined arrays @- and @+ with mod_perl?

2001-10-10 Thread Christoph Bergmann
(except br) - as expected. I use apache 1.3.20, perl 5.6.1 and mod_perl 1.26. I've never read about such predefined Arrays - what do they contain and why are they global? Thanks in advance! Best regards, Christoph Bergmann

Re: predefined arrays @- and @+ with mod_perl?

2001-10-10 Thread Christoph Bergmann
Ilya Martynov wrote: On Wed, 10 Oct 2001 20:17:19 +0200, Christoph Bergmann [EMAIL PROTECTED] said: CB Hi... CB I wonder if there exists the predefined arrays @- and @+ in mod_perl. See 'perldoc perlvar'. AFAIK These arrays should be defined after any successful regexp match (in new

Re: how to catch a killed task?

2001-10-09 Thread Christoph Bergmann
::SizeLimit is not harsh enough for this ;-) Best regards, Christoph Bergmann

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 killed task... here is what i tried with signals: ... Does

Re: how to catch a killed task?

2001-10-09 Thread Christoph Bergmann
, sorry, I overlooked that. Yes that makes sense... Best regards, Christoph Bergmann

how to catch a killed task?

2001-10-06 Thread Christoph Bergmann
, how can i check if the program has ended as it shoulds or if it was killed by BSD::resource ? thanx in advance! best regards, christoph bergmann

Callback called exit. x 100000

2001-09-11 Thread Christoph Bergmann
guess so, because of the Attempt to free unreferenced scalar during global destruction. lines before... Does anybody know what happens here and what to do? Thanx in advance! Best regards, Christoph Bergmann