Bug#485413: apache2/lenny/amd64 eats up all RAM
Dixi quod…
> Trying with the attached patch now.
> Let’s see whether this helps to work around the problem.
It doesn’t:
root@dev-hudson:/proc/4480 # cat limits
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited ms
Max file size unlimited unlimited bytes
Max data size 268435456 268435456 bytes
Max stack size 8388608 unlimited bytes
Max core file size 0 unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 102400 102400 processes
Max open files 1024 1024 files
Max locked memory 32768 32768 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 102400 102400 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Max realtime timeout unlimited unlimited us
root@dev-hudson:/proc/4480 # cat status
Name: apache2
State: S (sleeping)
Tgid: 4480
Pid: 4480
PPid: 7113
TracerPid: 0
Uid: 33 33 33 33
Gid: 33 33 33 33
FDSize: 64
Groups: 33
VmPeak: 13022820 kB
VmSize: 13022820 kB
VmLck: 0 kB
VmHWM: 11278624 kB
VmRSS: 10980224 kB
VmData: 12901596 kB
VmStk: 88 kB
VmExe: 392 kB
VmLib: 11840 kB
VmPTE: 25436 kB
Threads: 1
SigQ: 0/102400
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000001000
SigCgt: 00000001880046eb
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: ffffffffffffffff
Cpus_allowed: 00000007
Cpus_allowed_list: 0-2
Mems_allowed: 00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 51843420
nonvoluntary_ctxt_switches: 303994690
Can please someone recommend a different ulimit,
or some other suggestion?
Thanks,
//mirabilos
--
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 52675-25
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Elmar Geese
Reply to: