Comment 109 for bug 36581

Revision history for this message
In , Philippe (philippe-redhat-bugs) wrote :

OK, after a few days without crash or 100% CPU usage, it happened
again.

gamin-0.0.17-1.FC3
kernel-2.6.9-1.681_FC3 x86_64

KDE-3.3.1 (compiled from sources)

CPU usage goes to the roof, freeze solid (cannot get a console or ssh
into the box, ping responds though), then after 5 minutes goes back
to normal (at this time, 'top' still shows a load of 26.00).

Post-mortem (post-freezem actually) diagnosis:

1. /var/log/mesaages
Nov 26 10:43:26 mybox kernel: oom-killer: gfp_mask=0x1d2
Nov 26 10:43:30 mybox kernel: DMA per-cpu:
Nov 26 10:43:30 mybox kernel: cpu 0 hot: low 2, high 6, batch 1
Nov 26 10:43:30 mybox kernel: cpu 0 cold: low 0, high 2, batch 1
Nov 26 10:43:30 mybox kernel: Normal per-cpu:
Nov 26 10:43:30 mybox kernel: cpu 0 hot: low 32, high 96, batch 16
Nov 26 10:43:30 mybox kernel: cpu 0 cold: low 0, high 32, batch 16
Nov 26 10:43:30 mybox kernel: HighMem per-cpu: empty
Nov 26 10:43:30 mybox kernel:
Nov 26 10:43:30 mybox kernel: Free pages: 1516kB (0kB HighMem)
Nov 26 10:43:30 mybox kernel: Active:181 inactive:236594 dirty:0
writeback:235967 unstable:0 free:379 slab:13567 mapped:2424
pagetables:2311
Nov 26 10:43:30 mybox kernel: DMA free:4kB min:12kB low:24kB
high:36kB active:0kB inactive:9788kB present:16384kB
Nov 26 10:43:30 mybox kernel: protections[]: 0 0 0
Nov 26 10:44:06 mybox kernel: Normal free:1512kB min:1004kB
low:2008kB high:3012kB active:724kB inactive:936588kB
present:1031552kB
Nov 26 10:44:52 mybox kernel: protections[]: 0 0 0
Nov 26 10:45:13 mybox gpm[2410]: *** info [mice.c(1766)]:
Nov 26 10:47:03 mybox kernel: HighMem free:0kB min:128kB low:256kB
high:384kB active:0kB inactive:0kB present:0kB
Nov 26 10:47:07 mybox gpm[2410]: imps2: Auto-detected intellimouse
PS/2
Nov 26 10:47:07 mybox kernel: protections[]: 0 0 0
Nov 26 10:47:08 mybox kernel: DMA: 1*4kB 0*8kB 0*16kB 0*32kB 0*64kB
0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 4kB
Nov 26 10:47:08 mybox kernel: Normal: 108*4kB 3*8kB 4*16kB 1*32kB
1*64kB 7*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1512kB
Nov 26 10:47:09 mybox kernel: HighMem: empty
Nov 26 10:47:09 mybox kernel: Swap cache: add 276677, delete 40720,
find 4408/4496, race 0+0
Nov 26 10:47:09 mybox kernel: Out of Memory: Killed process 23735
(gam_server).

FWIW, I customized /etc/sysctl.conf with these lines added:
# Control shared memory size
# (added for PostgreSQL)
kernel.shmall = 134217728
kernel.shmmax = 134217728

# Do not overcommit memory
vm.overcommit_memory = 2

2. in $HOME/.xsession-errors:
gam_poll_scan_directory_internal(/home/user) loop detected
gam_poll_scan_directory_internal(/home/user) loop detected
gam_poll_scan_directory_internal(/home/user) loop detected
...
465 lines like this

Hope this helps

Philippe