Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 26th July 2006, 15:19
Stokesy Stokesy is offline
Junior Member
 
Join Date: Jul 2006
Location: UK
Posts: 12
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
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Memory Leak? adamluz General 6 25th August 2006 12:41
Debian Sarge memory release problem luxpops Installation/Configuration 7 22nd April 2006 15:50
Debian Sarge 3.1 memory release problem luxpops Technical 1 19th April 2006 14:41


All times are GMT +2. The time now is 19:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.