Hali, Kicsit ugy nem ertem a helyzetet, mert elmeletileg mindent beallitottam, talan meg jol is. Van egy apache+php, ami 1 honapja lett sarge-rol etch-ra frissitve. Az upgrade utan 2-3 hetig tokeletesen is ment minden, nem lett babralva semmi, orultem. 1 hete viszont naponta tobbszor a kernel kilovi az apacsot, mert elfogyott a memoria alola (ld. lentebb)
Az apache konfigjaban be van allitva soft es hard RLimitMEM is, nem egy nagyon nagy forgalmu gepre kell gondolni (~napi 15-20e request). Kulon a php-nak is be van allitva memory_limit, ugyhogy most mar nagyon kapargatom a fejem... :( Mit javasolnatok mit nezzek meg? Ime az ominozus log: printk: 2793 messages suppressed. apache-ssl invoked oom-killer: gfp_mask=0xa00d2, order=0, oomkilladj=0 [<c013cca3>] out_of_memory+0x69/0x18e [<c013e2a8>] __alloc_pages+0x1fc/0x283 [<c014b664>] read_swap_cache_async+0x2f/0xac [<c0143fd1>] swapin_readahead+0x3a/0x58 [<c01452d9>] handle_mm_fault+0x31b/0x574 [<c01141cd>] do_page_fault+0x213/0x58e [<c0147210>] remove_vma+0x31/0x36 [<c0113fba>] do_page_fault+0x0/0x58e [<c031222a>] error_code+0x72/0x78 [<c0310000>] klist_iter_exit+0x6/0x18 ======================= Mem-info: DMA per-cpu: CPU 0: Hot: hi: 0, btch: 1 usd: 0 Cold: hi: 0, btch: 1 usd: 0 CPU 1: Hot: hi: 0, btch: 1 usd: 0 Cold: hi: 0, btch: 1 usd: 0 Normal per-cpu: CPU 0: Hot: hi: 186, btch: 31 usd: 17 Cold: hi: 62, btch: 15 usd: 58 CPU 1: Hot: hi: 186, btch: 31 usd: 142 Cold: hi: 62, btch: 15 usd: 52 HighMem per-cpu: CPU 0: Hot: hi: 186, btch: 31 usd: 1 Cold: hi: 62, btch: 15 usd: 48 CPU 1: Hot: hi: 186, btch: 31 usd: 17 Cold: hi: 62, btch: 15 usd: 52 Active:226596 inactive:269970 dirty:0 writeback:0 unstable:0 Nov 10 08:26:36 sakk kernel: free:12275 slab:4687 mapped:59 pagetables:2223 bounce:0 DMA free:8124kB min:68kB low:84kB high:100kB active:3100kB inactive:1640kB present:16256kB pages_scanned:7563 all_unreclaimable? yes lowmem_reserve[]: 0 873 2015 2015 Normal free:40428kB min:3744kB low:4680kB high:5616kB active:430920kB inactive:375096kB present:894080kB pages_scanned:1405720 all_unreclaimable? yes lowmem_reserve[]: 0 0 9137 9137 HighMem free:548kB min:512kB low:1736kB high:2960kB active:472364kB inactive:703032kB present:1169608kB pages_scanned:2115454 all_unreclaimable? yes lowmem_reserve[]: 0 0 0 0 DMA: 3*4kB 0*8kB 1*16kB 1*32kB 0*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 1*4096kB = 8124kB Normal: 53*4kB 9*8kB 1*16kB 2*32kB 0*64kB 1*128kB 0*256kB 14*512kB 0*1024kB 0*2048kB 8*4096kB = 40428kB HighMem: 45*4kB 0*8kB 5*16kB 1*32kB 0*64kB 0*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 548kB Swap cache: add 3691259, delete 3691251, find 1313919/1427019, race 0+53 Free swap = 0kB Total swap = 996008kB Free swap: 0kB 524080 pages of RAM 294704 pages of HIGHMEM 5202 reserved pages 15066 pages shared 7 pages swap cached 0 pages dirty 0 pages writeback 59 pages mapped 4687 pages slab 2223 pages pagetables Ennyire csak nem keves 2GB? :) Koszonom elore is! ByeZ, WaS _________________________________________________ linux lista - [email protected] http://mlf2.linux.rulez.org/mailman/listinfo/linux
