Subject: | Apache::SizeLimit (shared mem pages) broken for bsd systems |
ApacheSizeLimit on bsd systems uses BSD::Resource to get the memory and
shared-pages size.
Show quoted text
> sub bsd_size_check {
> return (&BSD::Resource::getrusage())[2,3];
> }
this are (see BSD::Resource perldoc)
Show quoted text> 2 maxrss maximum shared memory or current resident set
> 3 ixrss integral shared memory
maxrss is in KB, but ixrss is not
ApacheSizelimit incurrectly assumes ixrss to be in KB