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 t
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 Bergman
via browser from apache/mod_perl. (it has nothing to do
with "forecasting": if the loop 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
hy I use "wget" instead of "get" directly because I
have already a subroutine 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,
hy I use "wget" instead of "get" directly because I
have already a subroutine 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,
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'
he shell it prints out nothing (except "") - 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
imit catches normal growth,
> and BSD::Resource catches emergencies. You set the limit for BSD::Resource
> higher than the one for SizeLimit.
> - Perrin
Oops, sorry, I overlooked that. Yes that makes sense...
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 kill
onsume memory as they
want - Apache::SizeLimit is not harsh enough for this ;-)
Best regards,
Christoph Bergmann
hen a program is finished, if
so, 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
with mod_perl, but I
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