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
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
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
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
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
(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
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
::SizeLimit is not harsh enough for this ;-)
Best regards,
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
, sorry, I overlooked that. Yes that makes sense...
Best regards,
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
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
12 matches
Mail list logo