Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: tariqf on June 28, 2006, 10:21:23 AM

Title: RC3 out of memory crash each night
Post by: tariqf on June 28, 2006, 10:21:23 AM
I have installed a new sme7 rc3 onto my amd 2600+ mobo with 512MB RAM and an 80GB hard disk. I have 5 users.

The server works fine all day but crashes each and every night and then needs power cycling each morning to get it going. If I look into /var/log/messeges I can see

Jun 28 01:54:06 planflow kernel: oom-killer: gfp_mask=0x1d2
Jun 28 01:54:06 planflow kernel: Mem-info:
Jun 28 01:54:06 planflow kernel: DMA per-cpu:
Jun 28 01:54:06 planflow kernel: cpu 0 hot: low 2, high 6, batch 1
Jun 28 01:54:06 planflow kernel: cpu 0 cold: low 0, high 2, batch 1
Jun 28 01:54:06 planflow kernel: Normal per-cpu:
Jun 28 01:54:06 planflow kernel: cpu 0 hot: low 32, high 96, batch 16
Jun 28 01:54:06 planflow kernel: cpu 0 cold: low 0, high 32, batch 16
Jun 28 01:54:06 planflow kernel: HighMem per-cpu: empty
Jun 28 01:54:06 planflow kernel:
Jun 28 01:54:06 planflow kernel: Free pages:       13160kB (0kB HighMem)
Jun 28 01:54:06 planflow kernel: Active:50929 inactive:51052 dirty:0 writeback:0 unstable:0 free:3290 slab:3425 mapped:101523 pagetables:1934
Jun 28 01:54:06 planflow kernel: DMA free:12576kB min:20kB low:40kB high:60kB active:0kB inactive:0kB present:16384kB pages_scanned:3394 all_unreclaimable? yes
Jun 28 01:54:07 planflow kernel: protections[]: 0 0 0
Jun 28 01:54:07 planflow kernel: Normal free:584kB min:640kB low:1280kB high:1920kB active:203716kB inactive:204208kB present:441216kB pages_scanned:475299 all_unreclaimable? yes
Jun 28 01:54:07 planflow kernel: protections[]: 0 0 0
Jun 28 01:54:07 planflow kernel: HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jun 28 01:54:07 planflow kernel: protections[]: 0 0 0
Jun 28 01:54:07 planflow kernel: DMA: 4*4kB 4*8kB 3*16kB 4*32kB 3*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 2*4096kB = 12576kB
Jun 28 01:54:07 planflow kernel: Normal: 0*4kB 1*8kB 0*16kB 0*32kB 5*64kB 0*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 584kB
Jun 28 01:54:07 planflow kernel: HighMem: empty
Jun 28 01:54:08 planflow kernel: Swap cache: add 319341, delete 319113, find 91034/109831, race 0+0
Jun 28 01:54:08 planflow kernel: 0 bounce buffer pages
Jun 28 01:54:08 planflow kernel: Free swap:            0kB
Jun 28 01:54:08 planflow kernel: 114400 pages of RAM
Jun 28 01:54:08 planflow kernel: 0 pages of HIGHMEM
Jun 28 01:54:09 planflow kernel: 2208 reserved pages
Jun 28 01:54:09 planflow kernel: 14335 pages shared
Jun 28 01:54:09 planflow kernel: 228 pages swap cached
Jun 28 01:54:09 planflow kernel: Out of Memory: Killed process 2908 (clamd).
Jun 28 02:45:58 planflow kernel: oom-killer: gfp_mask=0x1d2
Jun 28 02:45:58 planflow kernel: Mem-info:
Jun 28 02:45:58 planflow kernel: DMA per-cpu:
Jun 28 02:45:58 planflow kernel: cpu 0 hot: low 2, high 6, batch 1
Jun 28 02:45:58 planflow kernel: cpu 0 cold: low 0, high 2, batch 1
Jun 28 02:45:58 planflow kernel: Normal per-cpu:
Jun 28 02:45:58 planflow kernel: cpu 0 hot: low 32, high 96, batch 16
Jun 28 02:45:58 planflow kernel: cpu 0 cold: low 0, high 32, batch 16
Jun 28 02:45:58 planflow kernel: HighMem per-cpu: empty
Jun 28 02:45:58 planflow kernel:
Jun 28 02:45:58 planflow kernel: Free pages:       13208kB (0kB HighMem)
Jun 28 02:45:58 planflow kernel: Active:65537 inactive:36764 dirty:0 writeback:0 unstable:0 free:3302 slab:3215 mapped:101663 pagetables:1932
Jun 28 02:45:59 planflow kernel: DMA free:12576kB min:20kB low:40kB high:60kB active:0kB inactive:0kB present:16384kB pages_scanned:3408 all_unreclaimable? yes
Jun 28 02:46:00 planflow kernel: protections[]: 0 0 0
Jun 28 02:46:01 planflow kernel: Normal free:632kB min:640kB low:1280kB high:1920kB active:262148kB inactive:147056kB present:441216kB pages_scanned:62762016 all_unreclaimable? yes
Jun 28 02:46:02 planflow kernel: protections[]: 0 0 0
Jun 28 02:46:02 planflow kernel: HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jun 28 02:46:02 planflow kernel: protections[]: 0 0 0
Jun 28 02:46:02 planflow kernel: DMA: 4*4kB 4*8kB 3*16kB 4*32kB 3*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 2*4096kB = 12576kB
Jun 28 02:46:03 planflow kernel: Normal: 0*4kB 1*8kB 1*16kB 11*32kB 4*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 632kB
Jun 28 02:46:03 planflow kernel: HighMem: empty
Jun 28 02:46:04 planflow kernel: Swap cache: add 327548, delete 327320, find 91210/110265, race 0+2
Jun 28 02:46:04 planflow kernel: 0 bounce buffer pages
Jun 28 02:46:04 planflow kernel: Free swap:            0kB
Jun 28 02:46:04 planflow kernel: 114400 pages of RAM
Jun 28 02:46:05 planflow kernel: 0 pages of HIGHMEM
...

this goes on until eventually the server freezes.

Please can anyone advise? Should I put more memory in? I thought 512MB would be enough for 5 users using email + domain logons.

I noticed that the swap size is only 300 odd meg. Is it me or does this seem low?
Title: RC3 out of memory crash each night
Post by: byte on June 28, 2006, 11:00:02 AM
Please report any problems to the Bug Tracker. Thanks.
Title: RC3 out of memory crash each night
Post by: chris burnat on June 28, 2006, 04:55:48 PM
http://bugs.contribs.org/show_bug.cgi?id=1660