Gents,

I know  that in certain circles, PHP has not a good
reputation( security) Untill know, i had never any problems.

I have a machine, not directly connected to the Net, and the only php
application on it is "cacti".

Yesterday, coming home i found the machine unresponsive, it did reply to
"ping", but that was all i could see (console dead, no reply to ssh)

After rebooting i found this in messages (below).
This section of "messages" repeated about hundred times
Is this a know feature of 10.1??

If there's a runaway process, too bad, that's life, it can happen.
But ending up in an endless loop is not good at all.
As it states "free swap = 0kb" it looks like a kernel process has eaten
all the mem, and that php gives the final trigger!

As it only happened once: i'll guess it's not reproducable.

Hans
======================================================================
nov 13 18:55:01 fw3 /usr/sbin/cron[963]: (wwwrun) CMD (
php /usr/share/cacti/poller.php &> /dev/null)
Nov 13 19:00:01 fw3 /usr/sbin/cron[998]: (wwwrun) CMD (
php /usr/share/cacti/poller.php &> /dev/null)
Nov 13 19:05:11 fw3 kernel: printk: 504 messages suppressed.
Nov 13 19:05:11 fw3 kernel: oom-killer: gfp_mask=0x201d2, order=0
Nov 13 19:05:11 fw3 kernel:
Nov 13 19:05:11 fw3 kernel: Call Trace: <ffffffff8015ae11>{out_of_memory
+53} <ffffffff8015cc81>{__alloc_pages+552}
Nov 13 19:05:11 fw3 kernel:
<ffffffff8015e4af>{__do_page_cache_readahead+149}
<ffffffff802ceaf4>{thread_return+0}
Nov 13 19:05:11 fw3 kernel:        <ffffffff8015a477>{filemap_nopage
+323} <ffffffff80164b59>{__handle_mm_fault+911}
Nov 13 19:05:11 fw3 kernel:        <ffffffff802d1f7e>{do_page_fault+965}
<ffffffff8018c9c7>{sys_select+795}
Nov 13 19:05:11 fw3 kernel:        <ffffffff8010b449>{error_exit+0}
Nov 13 19:05:11 fw3 kernel: Mem-info:
Nov 13 19:05:11 fw3 kernel: Node 0 DMA per-cpu:
Nov 13 19:05:11 fw3 kernel: cpu 0 hot: high 0, batch 1 used:0
Nov 13 19:05:11 fw3 kernel: cpu 0 cold: high 0, batch 1 used:0
Nov 13 19:05:12 fw3 kernel: cpu 1 hot: high 0, batch 1 used:0
Nov 13 19:05:13 fw3 kernel: cpu 1 cold: high 0, batch 1 used:0
Nov 13 19:05:13 fw3 kernel: Node 0 DMA32 per-cpu:
Nov 13 19:05:13 fw3 kernel: cpu 0 hot: high 186, batch 31 used:20
Nov 13 19:05:13 fw3 kernel: cpu 0 cold: high 62, batch 15 used:24
Nov 13 19:05:14 fw3 kernel: cpu 1 hot: high 186, batch 31 used:8
Nov 13 19:05:14 fw3 kernel: cpu 1 cold: high 62, batch 15 used:61
Nov 13 19:05:14 fw3 kernel: Node 0 Normal per-cpu: empty
Nov 13 19:05:14 fw3 kernel: Node 0 HighMem per-cpu: empty
Nov 13 19:05:14 fw3 kernel: Free pages:        8016kB (0kB HighMem)
Nov 13 19:05:14 fw3 kernel: Active:104983 inactive:112014 dirty:0
writeback:0 unstable:0 free:2004 slab:13709 mapped:204535
pagetables:15090
Nov 13 19:05:14 fw3 kernel: Node 0 DMA free:4016kB min:44kB low:52kB
high:64kB active:3400kB inactive:3208kB present:12056kB
pages_scanned:16107 all_unreclaimable? yes
Nov 13 19:05:14 fw3 kernel: lowmem_reserve[]: 0 993 993 993
Nov 13 19:05:15 fw3 kernel: Node 0 DMA32 free:4000kB min:4008kB
low:5008kB high:6012kB active:416532kB inactive:444848kB
present:1017828kB pages_scanned:2416680 all_unreclaimable? yes
Nov 13 19:05:15 fw3 kernel: lowmem_reserve[]: 0 0 0 0
Nov 13 19:05:15 fw3 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 13 19:05:15 fw3 /usr/sbin/cron[1069]: (wwwrun) CMD (
php /usr/share/cacti/poller.php &> /dev/null)
Nov 13 19:05:15 fw3 kernel: lowmem_reserve[]: 0 0 0 0
Nov 13 19:05:15 fw3 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 13 19:05:15 fw3 kernel: lowmem_reserve[]: 0 0 0 0
Nov 13 19:05:15 fw3 kernel: Node 0 DMA: 0*4kB 0*8kB 1*16kB 1*32kB 0*64kB
1*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 4016kB
Nov 13 19:05:15 fw3 kernel: Node 0 DMA32: 0*4kB 2*8kB 7*16kB 1*32kB
0*64kB 4*128kB 1*256kB 2*512kB 0*1024kB 1*2048kB 0*4096kB = 4000kB
Nov 13 19:05:15 fw3 kernel: Node 0 Normal: empty
Nov 13 19:05:15 fw3 kernel: Node 0 HighMem: empty
Nov 13 19:05:15 fw3 kernel: Swap cache: add 420648, delete 420648, find
82842/99473, race 0+39
Nov 13 19:05:16 fw3 kernel: Free swap  = 0kB
Nov 13 19:05:16 fw3 kernel: Total swap = 1052248kB
Nov 13 19:05:16 fw3 kernel: Free swap:            0kB
Nov 13 19:05:16 fw3 kernel: 262080 pages of RAM
Nov 13 19:05:16 fw3 kernel: 5020 reserved pages
Nov 13 19:05:16 fw3 kernel: 9462 pages shared
Nov 13 19:05:16 fw3 kernel: 0 pages swap cached
Nov 13 19:05:16 fw3 kernel: Out of Memory: Kill process 32061 (php)
score 62063 and children.
Nov 13 19:05:16 fw3 kernel: Out of memory: Killed process 32065 (php).
======================================================================


-- 
pgp-id: 926EBB12
pgp-fingerprint: BE97 1CBF FAC4 236C 4A73  F76E EDFC D032 926E BB12
Registered linux user: 75761 (http://counter.li.org)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to