Hello,

Tegnap kaptam par OOM kinyirt ezt-azt uzenetet. (level vegere raktam 
egyet, kb 8 db hasonlo jott osszesen)

Sajna ertelmezni nem nagyon sikerult.

A geprol, ami informaciorol meg sejtem, hogy idevag:
$ cat /proc/sys/vm/vfs_cache_pressure
1
$ cat /proc/sys/vm/lowmem_reserve_ratio
256     256     32
$ cat /proc/sys/vm/min_free_kbytes
3831

A gep 8 G memoriaval van felszerelve, es a debian 2.6.18-bigmem kernel fut 
rajta.
Egyebkent nfs es apache2 van meg rajta.

Annyit sikerult kideritenem, hogy a lowmem_reserve_ratio es a 
min_free_kbytes ertekei befolyasoljak, hogy hogy banjon a memoriaval, de 
azt mar nem, hogy pontosan hogyan is.
A vfs_cache_pressure azert van igy leveve, hogy hasznalja cache-elesre a 
memoriat. (a default 100-on hagyva a 8 G-bol, 6 uresen all load meg eleg 
magas. (korabban irtam rola a listara))
Szoval ezt jo lenne nem novelni.

Valaki erti, hogy pontosan mi fogyott el? Es, hogy mivel lehetne elkerulni 
az elfogyasat?
Ebben a dumpban, minden free utan van valami pozitiv szam.
(kiveve a dma-32-t, de ott meg minden 0)
Szoval nem igazan ertem, hogy most tenylegesen elfogyott-e egyaltalan 
valami, vagy valami mas baja van.

Kernel doksikban "eleg szukszavuak" a fenti parameterekkel kapcsolatban, 
errol az OOM-s dumprol meg semmi erdemit nem talaltam. (csak par idezetet 
az LKML-en, de joval regibb kernel verziokrol, es nagyreszt kulonbozo 
azota mar javitott bugokra fogtak)

kernel: oom-killer: gfp_mask=0xd0, order=1
kernel:  [out_of_memory+37/314] out_of_memory+0x25/0x13a
kernel:  [__alloc_pages+501/629] __alloc_pages+0x1f5/0x275
kernel:  [cache_alloc_refill+659/1159] cache_alloc_refill+0x293/0x487
kernel:  [kmem_cache_alloc+50/59] kmem_cache_alloc+0x32/0x3b
kernel:  [copy_process+165/4265] copy_process+0xa5/0x10a9
kernel:  [split_vma+152/168] split_vma+0x98/0xa8
kernel:  [alloc_pid+442/529] alloc_pid+0x1ba/0x211
kernel:  [do_fork+145/378] do_fork+0x91/0x17a
kernel:  [sys_clone+40/45] sys_clone+0x28/0x2d
kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
kernel: Mem-info:
kernel: DMA per-cpu:
kernel: cpu 0 hot: high 0, batch 1 used:0
kernel: cpu 0 cold: high 0, batch 1 used:0
kernel: cpu 1 hot: high 0, batch 1 used:0
kernel: cpu 1 cold: high 0, batch 1 used:0
kernel: DMA32 per-cpu: empty
kernel: Normal per-cpu:
kernel: cpu 0 hot: high 186, batch 31 used:26
kernel: cpu 0 cold: high 62, batch 15 used:52
kernel: cpu 1 hot: high 186, batch 31 used:0
kernel: cpu 1 cold: high 62, batch 15 used:58
kernel: HighMem per-cpu:
kernel: cpu 0 hot: high 186, batch 31 used:167
kernel: cpu 0 cold: high 62, batch 15 used:4
kernel: cpu 1 hot: high 186, batch 31 used:181
kernel: cpu 1 cold: high 62, batch 15 used:6
kernel: Free pages:     1090376kB (1026948kB HighMem)
kernel: Active:796075 inactive:813029 dirty:124 writeback:0 unstable:0 
free:272594 slab:190693 mapped:2290 pagetables:2389
kernel: DMA free:3588kB min:68kB low:84kB high:100kB active:0kB inactive:0kB 
present:16384kB pages_scanned:0 all_unreclaimable? yes
kernel: lowmem_reserve[]: 0 0 880 8816
kernel: DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB 
present:0kB pages_scanned:0 all_unreclaimable? no
kernel: lowmem_reserve[]: 0 0 880 8816
kernel: Normal free:59840kB min:3756kB low:4692kB high:5632kB active:1964kB 
inactive:1676kB present:901120kB pages_scanned:32 all_unreclaimable? no
kernel: lowmem_reserve[]: 0 0 0 63488
kernel: HighMem free:1026948kB min:512kB low:8988kB high:17464kB 
active:3182336kB inactive:3250440kB present:8126464kB pages_scanned:0 
all_unreclaimable? no
kernel: lowmem_reserve[]: 0 0 0 0
kernel: DMA: 5*4kB 4*8kB 1*16kB 2*32kB 10*64kB 2*128kB 0*256kB 1*512kB 0*1024kB 
1*2048kB 0*4096kB = 3588kB
kernel: DMA32: empty
kernel: Normal: 14490*4kB 1*8kB 1*16kB 0*32kB 1*64kB 0*128kB 1*256kB 1*512kB 
1*1024kB 0*2048kB 0*4096kB = 59840kB
kernel: HighMem: 172003*4kB 32683*8kB 3716*16kB 263*32kB 30*64kB 6*128kB 
1*256kB 1*512kB 6*1024kB 0*2048kB 0*4096kB = 1026948kB
kernel: Swap cache: add 53, delete 53, find 8/10, race 0+0
kernel: Free swap  = 4891784kB
kernel: Total swap = 4891784kB
kernel: Free swap:       4891784kB
kernel: 2260992 pages of RAM
kernel: 2031616 pages of HIGHMEM
kernel: 182586 reserved pages
kernel: 293065 pages shared
kernel: 0 pages swap cached
kernel: 124 pages dirty
kernel: 0 pages writeback
kernel: 2290 pages mapped
kernel: 190693 pages slab
kernel: 2389 pages pagetables
kernel: Out of Memory: Kill process 15742 (apache2) score 1969988 and children.
kernel: Out of memory: Killed process 16051 (apache2).

-- 
Veres Lajos
[EMAIL PROTECTED]
+36 20 438 5909
_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz