perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wheeler <da...@kineticode.com>
Subject Re: Apache::SizeLimit snaffoo?
Date Fri, 11 Aug 2006 19:45:41 GMT
On Aug 11, 2006, at 12:34, Philip M. Gollucci wrote:

> That was supposed to be 0.90 the current release.
>
>> .91 is not out yet.
> Next up is not out yet.

I'm also noticing that Apache::SizeLimit seems to be killing each  
process after a single request on 64-bit Linux. I set the max process  
size to 102400 and processes start at 66m, but it's still killing  
every process every time. I'm wondering if perhaps Apache::SizeLimit  
is checking the wrong memory information. Check this out:

top - 14:43:49 up 14 days,  5:29,  1 user,  load average: 0.03, 0.03,  
0.00
Tasks: 123 total,   1 running, 122 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.1% us,  0.0% sy,  0.0% ni, 99.9% id,  0.0% wa,  0.0% hi,   
0.0% si
Mem:   4038100k total,  3799644k used,   238456k free,   561128k buffers
Swap:  1004052k total,      160k used,  1003892k free,  2264340k cached

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  SWAP  
COMMAND
20403 nobody    16   0  194m  66m 6092 S  0.0  1.7   0:00.00 127m httpd
20404 nobody    16   0  194m  66m 6092 S  0.0  1.7   0:00.00 127m httpd
20405 nobody    16   0  194m  66m 6092 S  0.0  1.7   0:00.00 127m httpd

Note that the RES is correct, and VIRT is not. I'm wondering if, on  
64-bit Linux, at least, it's checking the wrong memory attribute. Or  
could it perhaps be something else? I honestly have no idea why else  
it would be killing every process after every request.

Oh, and the architecture and OS:

   This is perl, v5.8.8 built for x86_64-linux
   Red Hat Enterprise Linux ES release 4 (Nahant Update 3)

Thanks,

David

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message