Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Quick tail check of /var/log/messages returned next output:
Code:
Nov 22 05:01:42 um-1027 kernel: Node 0 DMA32 free:3988kB min:4008kB low:5008kB high:6012kB active:956080kB inactive:4816kB present:1017072kB pages_scanned:1895625 all_unreclaimable? yes
Nov 22 05:01:42 um-1027 kernel: lowmem_reserve[]: 0 0 0 0
Nov 22 05:01:42 um-1027 kernel: Node 0 Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Nov 22 05:01:42 um-1027 kernel: lowmem_reserve[]: 0 0 0 0
Nov 22 05:01:42 um-1027 kernel: Node 0 HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Nov 22 05:01:42 um-1027 kernel: lowmem_reserve[]: 0 0 0 0
Nov 22 05:01:42 um-1027 kernel: Node 0 DMA: 4*4kB 4*8kB 4*16kB 3*32kB 2*64kB 3*128kB 2*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 2256kB
Nov 22 05:01:42 um-1027 kernel: Node 0 DMA32: 15*4kB 5*8kB 3*16kB 0*32kB 14*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 3988kB
Nov 22 05:01:42 um-1027 kernel: Node 0 Normal: empty
Nov 22 05:01:42 um-1027 kernel: Node 0 HighMem: empty
Nov 22 05:01:42 um-1027 kernel: Swap cache: add 0, delete 0, find 0/0, race 0+0
Nov 22 05:01:42 um-1027 kernel: Free swap = 0kB
Nov 22 05:01:42 um-1027 kernel: Total swap = 0kB
Nov 22 05:01:42 um-1027 kernel: Free swap: 0kB
Nov 22 05:01:42 um-1027 kernel: 261888 pages of RAM
Nov 22 05:01:42 um-1027 kernel: 5353 reserved pages
Nov 22 05:01:42 um-1027 kernel: 44677 pages shared
Nov 22 05:01:42 um-1027 kernel: 0 pages swap cached
Nov 22 05:01:42 um-1027 kernel: Out of memory: Killed process 1370 (clamd).
Nov 22 05:09:07 um-1027 kernel: httpd invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
Nov 22 05:09:07 um-1027 kernel:
Nov 22 05:09:07 um-1027 kernel: Call Trace:
Nov 22 05:09:07 um-1027 kernel: [<ffffffff800bffdf>] out_of_memory+0x8e/0x2f5
Nov 22 05:09:07 um-1027 kernel: [<ffffffff8000f082>] __alloc_pages+0x22b/0x2b4
Nov 22 05:09:07 um-1027 kernel: [<ffffffff80012741>] __do_page_cache_readahead+0x95/0x1d9
Nov 22 05:09:07 um-1027 kernel: [<ffffffff800628e1>] __wait_on_bit_lock+0x5b/0x66
Nov 22 05:09:07 um-1027 kernel: [<ffffffff8003f13e>] __lock_page+0x5e/0x64
Nov 22 05:09:07 um-1027 kernel: [<ffffffff800130cc>] filemap_nopage+0x148/0x322
Nov 22 05:09:07 um-1027 kernel: [<ffffffff800087ed>] __handle_mm_fault+0x1f8/0xdf4
Nov 22 05:09:07 um-1027 kernel: [<ffffffff80065a6a>] do_page_fault+0x4b8/0x81d
Nov 22 05:09:07 um-1027 kernel: [<ffffffff8005cde9>] error_exit+0x0/0x84
Nov 22 05:09:07 um-1027 kernel:
Nov 22 05:09:09 um-1027 kernel: Mem-info:
Nov 22 05:09:10 um-1027 kernel: Node 0 DMA per-cpu:
Nov 22 05:09:10 um-1027 kernel: cpu 0 hot: high 0, batch 1 used:0
Nov 22 05:09:10 um-1027 kernel: cpu 0 cold: high 0, batch 1 used:0
Nov 22 05:09:10 um-1027 kernel: cpu 1 hot: high 0, batch 1 used:0
Nov 22 05:09:10 um-1027 kernel: cpu 1 cold: high 0, batch 1 used:0
Nov 22 05:09:10 um-1027 kernel: Node 0 DMA32 per-cpu:
Nov 22 05:09:10 um-1027 kernel: cpu 0 hot: high 186, batch 31 used:162
Nov 22 05:09:10 um-1027 kernel: cpu 0 cold: high 62, batch 15 used:50
Nov 22 05:09:10 um-1027 kernel: cpu 1 hot: high 186, batch 31 used:57
Nov 22 05:09:10 um-1027 kernel: cpu 1 cold: high 62, batch 15 used:17
Nov 22 05:09:10 um-1027 kernel: Node 0 Normal per-cpu: empty
Nov 22 05:09:10 um-1027 kernel: Node 0 HighMem per-cpu: empty
Nov 22 05:09:10 um-1027 kernel: Free pages: 6248kB (0kB HighMem)
Nov 22 05:09:10 um-1027 kernel: Active:239484 inactive:347 dirty:0 writeback:0 unstable:0 free:1562 slab:4426 mapped-file:973 mapped-anon:239090 pagetables:5625
Nov 22 05:09:10 um-1027 kernel: Node 0 DMA free:2256kB min:40kB low:48kB high:60kB active:0kB inactive:0kB present:10824kB pages_scanned:0 all_unreclaimable? yes
Nov 22 05:09:10 um-1027 kernel: lowmem_reserve[]: 0 993 993 993
Nov 22 05:09:10 um-1027 kernel: Node 0 DMA32 free:3992kB min:4008kB low:5008kB high:6012kB active:958048kB inactive:1260kB present:1017072kB pages_scanned:2140318 all_unreclaimable? yes
Nov 22 05:09:10 um-1027 kernel: lowmem_reserve[]: 0 0 0 0
Nov 22 05:09:10 um-1027 kernel: Node 0 Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Nov 22 05:09:10 um-1027 kernel: lowmem_reserve[]: 0 0 0 0
Nov 22 05:09:10 um-1027 kernel: Node 0 HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Nov 22 05:09:10 um-1027 kernel: lowmem_reserve[]: 0 0 0 0
Nov 22 05:09:10 um-1027 kernel: Node 0 DMA: 4*4kB 4*8kB 4*16kB 3*32kB 2*64kB 3*128kB 2*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 2256kB
Nov 22 05:09:11 um-1027 kernel: Node 0 DMA32: 14*4kB 8*8kB 4*16kB 1*32kB 3*64kB 6*128kB 1*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 3992kB
Nov 22 05:09:11 um-1027 kernel: Node 0 Normal: empty
Nov 22 05:09:11 um-1027 kernel: Node 0 HighMem: empty
Nov 22 05:09:11 um-1027 kernel: Swap cache: add 0, delete 0, find 0/0, race 0+0
Nov 22 05:09:11 um-1027 kernel: Free swap = 0kB
Nov 22 05:09:11 um-1027 kernel: Total swap = 0kB
Nov 22 05:09:11 um-1027 kernel: Free swap: 0kB
Nov 22 05:09:11 um-1027 kernel: 261888 pages of RAM
Nov 22 05:09:11 um-1027 kernel: 5353 reserved pages
Nov 22 05:09:11 um-1027 kernel: 44992 pages shared
Nov 22 05:09:11 um-1027 kernel: 0 pages swap cached
Nov 22 05:09:11 um-1027 kernel: Out of memory: Killed process 1893 (clamd).
Looks like there is a problem with calmd, but I suspect that it may be hardware problem with memory... Can you give me some suggestions what to check more to locate the problem?
OOM-killer more likely means software, not hardware, problem.
Looks like a 32-bit system with not much memory, and no swap.
So:
1) define some swap space - start with 4 Gig.
2) add some RAM.
3) get a 64-bit system with a decent amount of RAM - these days you probably can't buy less than 8 Gig.
Looks like a 32-bit system with not much memory, and no swap.
Where did you get the idea it was a 32-bit system? There was a 64-bit stack trace, which I think is unlikely in a 32-bit system.
I agree with "not much memory and no swap".
Quote:
1) define some swap space - start with 4 Gig.
Yes.
Quote:
Originally Posted by proNick
Can you give me some suggestions what to check more to locate the problem?
Is this a physical machine or some kind of VM? The low amount of ram and lack of swap seems unlikely for a physical machine.
If it is a VM, it is probably under configured for the task you are trying to do (though probably the task could be tuned to use less memory).
If it is a physical machine, does it really have so little RAM? Or do you have some BIOS setting wrong stopping the OS from seeing the rest of the ram? In any case, if it is a physical machine you should configure some swap space. If it is a VM, maybe you should configure some swap space. That depends on what kind of VM.
what confuses me is that this is few years old server, and there was no issues like this in the past.
Do you know how much ram and how much swap space it had when it was working? In other words, has some hardware or software malfunction reduced the available resources, or has something increased the used resources?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.