> PerlModule Apache::Resource
> PerlSetEnv PERL_RLIMIT_AS 32:64
> PerlChildInitHandler Apache::Resource
>
> in httpd.conf, but Apache::Resource uses BSD::Resource in the end and
> thus its the same as
>
> use BSD::Resource;
> setrlimit RLIMIT_AS, 32000000, 64000000;

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.

Are you sure you're using the right units (bytes vs. megabytes)?  Could
your server be immediately going higher than the limit you set for it?

- Perrin

Reply via email to