View Single Post
  #1  
Old 26th July 2006, 15:19
Stokesy Stokesy is offline
Junior Member
 
Join Date: Jul 2006
Location: UK
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Memory leak? oom-killer problem yikes!

Hi Folks - I am in the process of setting up a new (remote) web-server (debian 3.1, kernel 2.6) to replace my old aging one. I have successfully transferred the web directories, users and 42goisp configuration files to it, and am in the process of testing sites before I make the switch.

Unfortunately, fairly frequently it seems to freeze/lock-up for a few seconds, and when I examine the logs I find (in the syslog) what appears to have been out of memory problems where oom-killer has stepped in and killed a process (usually mysqld). I wonder if this is what is causing the system to lock-up, and if so what I might be able to do about it....

It puzzles me because the machine has very little load at the moment, and is running pretty much the bare minimum processes.

Below is a typical excert from the syslog. If anyone can help in any way I would be grateful...

<snip>
Jul 26 11:51:50 localhost kernel: oom-killer: gfp_mask=0x1d2
Jul 26 11:51:50 localhost kernel: DMA per-cpu:
Jul 26 11:51:50 localhost kernel: cpu 0 hot: low 2, high 6, batch 1
Jul 26 11:51:50 localhost kernel: cpu 0 cold: low 0, high 2, batch 1
Jul 26 11:51:50 localhost kernel: Normal per-cpu:
Jul 26 11:51:50 localhost kernel: cpu 0 hot: low 32, high 96, batch 16
Jul 26 11:51:50 localhost kernel: cpu 0 cold: low 0, high 32, batch 16
Jul 26 11:51:50 localhost kernel: HighMem per-cpu: empty
Jul 26 11:51:50 localhost kernel:
Jul 26 11:51:50 localhost kernel: Free pages: 2752kB (0kB HighMem)
Jul 26 11:51:50 localhost kernel: Active:61090 inactive:60234 dirty:0 writeback:0 unstable:0 free:688 slab:2778 mapped:121210 pagetables:889
Jul 26 11:51:50 localhost kernel: DMA free:1424kB min:20kB low:40kB high:60kB active:6012kB inactive:5992kB present:16384kB
Jul 26 11:51:50 localhost kernel: protections[]: 10 356 356
Jul 26 11:51:50 localhost kernel: Normal free:1328kB min:692kB low:1384kB high:2076kB active:238348kB inactive:234944kB present:498560kB
Jul 26 11:51:50 localhost kernel: protections[]: 0 346 346
Jul 26 11:51:50 localhost kernel: HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB
Jul 26 11:51:50 localhost kernel: protections[]: 0 0 0
Jul 26 11:51:50 localhost kernel: DMA: 0*4kB 0*8kB 33*16kB 14*32kB 1*64kB 1*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1424kB
Jul 26 11:51:50 localhost kernel: Normal: 0*4kB 0*8kB 1*16kB 1*32kB 0*64kB 0*128kB 1*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1328kB
Jul 26 11:51:50 localhost kernel: HighMem: empty
Jul 26 11:51:50 localhost kernel: Swap cache: add 11543237, delete 11543217, find 1415125/1447558, race 4+38
Jul 26 11:51:50 localhost kernel: Out of Memory: Killed process 981 (mysqld).

</snip>
Occasionaly getting:
'Out of Memory: Killed process 1631 (grpconv).'
instead of mysqld
Reply With Quote
Sponsored Links