You are here
Submitted by janadmin on Sat, 2009/06/27 - 13:31
Hello I am using the latest Turnkey witth Joomla 1.5.11, as I am a Joomla fan and wanted to have a test server. All is running in VMware server having 512Mb in the VM. I downloaded; Download 169MB: turnkey-joomla-2009.06-hardy-x86.iso (sig) (manifest) and installed. All very well and nice. But after a couple of days an error (see title) and the server could not be used any more. So I installed again and after 1 day same error, and server can nolonger be used, Webadmin still works but Apache and MySQL are down and so Joomla is down.
Is there maybe a relation with apt-get upgrade, as I did upgrade both VM's?
Is there a solution a fix for this?
I looked in the log files and found in the kernel messages (dmsesg) the following lines;
Mem-info: [ 933.358326] DMA per-cpu: [ 933.358336] CPU 0: Hot: hi: 0, btch: 1 usd: 0 Cold: hi: 0, btch: 1 usd: 0 [ 933.358359] CPU 1: Hot: hi: 0, btch: 1 usd: 0 Cold: hi: 0, btch: 1 usd: 0 [ 933.358399] Normal per-cpu: [ 933.358409] CPU 0: Hot: hi: 186, btch: 31 usd: 109 Cold: hi: 62, btch: 15 usd: 39 [ 933.358432] CPU 1: Hot: hi: 186, btch: 31 usd: 28 Cold: hi: 62, btch: 15 usd: 9 [ 933.358456] Active:103840 inactive:20863 dirty:0 writeback:0 unstable:0 [ 933.358470] free:1209 slab:1295 mapped:0 pagetables:318 bounce:0 [ 933.358491] DMA free:2044kB min:88kB low:108kB high:132kB active:1532kB inactive:8668kB present:16256kB pages_scanned:16330 all_unreclaimable? yes [ 933.358523] lowmem_reserve[]: 0 492 492 492 [ 933.358545] Normal free:2792kB min:2792kB low:3488kB high:4188kB active:413828kB inactive:74784kB present:503936kB pages_scanned:738147 all_unreclaimable? yes [ 933.358580] lowmem_reserve[]: 0 0 0 0 [ 933.358601] DMA: 1*4kB 1*8kB 1*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 2044kB [ 933.358646] Normal: 1*4kB 2*8kB 1*16kB 4*32kB 0*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2724kB [ 933.358691] Swap cache: add 191672, delete 191643, find 25097/25767, race 0+0 [ 933.358710] Free swap = 0kB [ 933.358720] Total swap = 240932kB [ 933.358730] Free swap: 0kB [ 933.360013] 131072 pages of RAM [ 933.360025] 0 pages of HIGHMEM [ 933.360035] 2207 reserved pages [ 933.360044] 56 pages shared [ 933.360053] 29 pages swap cached [ 933.360064] 0 pages dirty [ 933.360072] 0 pages writeback [ 933.360082] 0 pages mapped [ 933.360091] 1295 pages slab [ 933.360100] 318 pages pagetables [ 933.360113] Out of memory: kill process 4217 (apache2) score 185030 or a child [ 933.360358] Killed process 4217 (apache2) [ 933.441754] apache2 invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0 [ 933.441782] Pid: 4204, comm: apache2 Not tainted 2.6.24-24-generic #1 [ 933.441807] [<c0170bba>] oom_kill_process+0x10a/0x120 [ 933.441810] [<c0171007>] out_of_memory+0x167/0x1a0 [ 933.441863] [<c017347c>] __alloc_pages+0x36c/0x3a0 [ 933.441882] [<e08c9660>] mpt_get_msg_frame+0xc0/0x100 [mptbase] [ 933.441911] [<c01755ed>] __do_page_cache_readahead+0x11d/0x250 [ 933.441935] [<c0175b0c>] do_page_cache_readahead+0x4c/0x70 [ 933.441956] [<c01700f4>] filemap_fault+0x2f4/0x420 [ 933.441977] [<c017b4f1>] __do_fault+0x61/0x420 [ 933.441996] [<e088fa50>] scsi_next_command+0x30/0x50 [scsi_mod] [ 933.442033] [<c012109d>] kunmap_atomic+0x3d/0xb0 [ 933.442052] [<c017da78>] handle_mm_fault+0x118/0x730 [ 933.442071] [<c012f483>] do_wait+0x413/0xba0 [ 933.442091] [<c031e9ef>] do_page_fault+0x13f/0x730 [ 933.442111] [<c019fb84>] sys_select+0x194/0x1c0 [ 933.442131] [<c031e8b0>] do_page_fault+0x0/0x730 [ 933.442149] [<c031d082>] error_code+0x72/0x80 [ 933.442168] ======================= [ 933.442179] Mem-info: [ 933.442187] DMA per-cpu: [ 933.442197] CPU 0: Hot: hi: 0, btch: 1 usd: 0 Cold: hi: 0, btch: 1 usd: 0 [ 933.442314] CPU 1: Hot: hi: 0, btch: 1 usd: 0 Cold: hi: 0, btch: 1 usd: 0 [ 933.442338] Normal per-cpu: [ 933.442348] CPU 0: Hot: hi: 186, btch: 31 usd: 109 Cold: hi: 62, btch: 15 usd: 39 [ 933.442371] CPU 1: Hot: hi: 186, btch: 31 usd: 37 Cold: hi: 62, btch: 15 usd: 9 [ 933.442395] Active:103016 inactive:21684 dirty:0 writeback:57 unstable:0 [ 933.442410] free:1209 slab:1295 mapped:0 pagetables:318 bounce:0 [ 933.442430] DMA free:2044kB min:88kB low:108kB high:132kB active:1516kB inactive:8668kB present:16256kB pages_scanned:16394 all_unreclaimable? yes [ 933.442463] lowmem_reserve[]: 0 492 492 492 [ 933.442485] Normal free:2792kB min:2792kB low:3488kB high:4188kB active:410548kB inactive:78068kB present:503936kB pages_scanned:739675 all_unreclaimable? yes [ 933.442520] lowmem_reserve[]: 0 0 0 0 [ 933.442538] DMA: 1*4kB 1*8kB 1*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 2044kB [ 933.442583] Normal: 1*4kB 2*8kB 1*16kB 4*32kB 0*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2724kB [ 933.442628] Swap cache: add 191736, delete 191661, find 25097/25768, race 0+0 [ 933.442647] Free swap = 206672kB [ 933.442658] Total swap = 240932kB [ 933.442668] Free swap: 206672kB [ 933.443944] 131072 pages of RAM [ 933.443956] 0 pages of HIGHMEM [ 933.443966] 2207 reserved pages [ 933.443976] 56 pages shared [ 933.443985] 75 pages swap cached [ 933.443995] 0 pages dirty [ 933.444004] 57 pages writeback [ 933.444014] 0 pages mapped [ 933.444023] 1295 pages slab [ 933.444032] 318 pages pagetables [ 933.444045] Out of memory: kill process 4286 (mysqld) score 22921 or a child [ 933.444227] Killed process 4286 (mysqld)
Forum:
Are you sure you're not running the appliance in demo mode?
demo mode
can you describe exactly how you installed TurnKey Joomla
It would help if you could describe EXACTLY how you installed TurnKey Joomla.
Demo or no demo mode
apache maxclients too high?
The weird thing is that no one has reported similar issues, so I am not quiet sure what the problem could be.
Have you installed any memory intensive joomla extensions?
apache maxclients?
no one has reported this b4
The old auto-update bug is long irrelevant
How about you try a fresh reinstall of TurnKey Joomla? See if you can reproduce the bug in there?
maxclients too high?
max clients to high
Don't dispair!
Don't be discouraged!
Hi
Many reasons to run out of memory
In general, when you run out of memory like this, there is probably some kind of memory leak going on, where a process keeps allocating more and more memory without freeing it back to the system. If this happens it doesn't really matter how much memory you have because it will all eventually run out.
A couple of suggestions:
1) If you could diagnose which process is leaking memory (e.g., run "top" in the command line and then press "M" to sort by memory usage) that would help.
2) How is TurnKey Joomla configured? Did you install any Joomla extensions? Can you reproduce the problem with a clean install? Let's try to isolate this!
memory usage on 112
I will work on 2) now. The answer on 2) is; No it's not a clean install, I installed a new template, a visitor counter and Joomexplorer. Your' right isolation is the job, I'll try to install #3 asap and let you know.
best regards from a Joomla user.
3th server is running, 113
to Liraz, did a clean install, number 113, I did
Not so much difference on the first line, the first mysql line. Keep in touch.
best regards from a Joomla user.
server #4 is running
In my experience...
I think this probably applies even more-so to mission critical systems such as servers.
Perhaps that is the common theme between you and other users experiencing this issue whilst many others aren't??
why do we upgrade?
Automatic security updates
security upgrade
next morning 114 is down
Add new comment