andibraeu/weimarnetz — Issue #8: applyprofile.code is interrupted -> network config failed
Author: andibraeu
Created: 2012-02-28 13:52:28+00:00
State: open
Labels: Error

happend on a buffalo wht-hp-g54
10.63.4.1

applyprofile.code begins and will stop because of high load

it seems as the dnsmasq daemon takes a lot of load and ram, oom will come up.

this results in a wrong network config, e.g. the wan interface is missing

here comes the log of the oom-killer

Sep 8 15:48:21 ffweimar-adhoc--4 user.info sysinit: root: /etc/init.d/apply_profile.code: [ok] ready with section 'wireless'
Sep 8 17:48:22 ffweimar-adhoc--4 user.notice root: /etc/init.d/apply_profile.code: ....working on section 'network'
Sep 8 15:48:22 ffweimar-adhoc--4 user.info sysinit: root: /etc/init.d/apply_profile.code: ....working on section 'network'
Sep 8 17:48:24 ffweimar-adhoc--4 daemon.info fff+ /usr/bin/scheduler overload_detection(): detected high 5min-load: 1.87
Sep 8 17:49:59 ffweimar-adhoc--4 daemon.info fff+ /usr/bin/scheduler watch_topusage_task(): output: PID=4081 CPU= CPU_INT= TASK= -> TOPTASK= TEMPFILE=/tmp/top_2760 FILESIZE=1575bytes

^C^C

^C
root@ffweimar-adhoc--4:/
root@ffweimar-adhoc--4:/
root@ffweimar-adhoc--4:/ lr[ 947.876000] kworker/u:0 invoked oom-killer: gfp_mask=0xd0, order=1, oom_adj=0, oom_score_adj=0
[ 947.884000] Call Trace:[<8001c630>] 0x8001c630
[ 947.888000] [<802332e4>] 0x802332e4
[ 947.892000] [<802332e4>] 0x802332e4
[ 947.896000] [<800599f8>] 0x800599f8
[ 947.900000] [<80060a58>] 0x80060a58
[ 947.904000] [<80059c0c>] 0x80059c0c
[ 947.908000] [<80059b64>] 0x80059b64
[ 947.912000] [<8005a430>] 0x8005a430
[ 947.916000] [<8005d910>] 0x8005d910
[ 947.920000] [<8059ffac>] 0x8059ffac
[ 947.924000] [<80234610>] 0x80234610
[ 947.928000] [<805a02ac>] 0x805a02ac
[ 947.928000] [<8008b048>] 0x8008b048
[ 947.932000] [<80021e68>] 0x80021e68
[ 947.936000] [<8019f33c>] 0x8019f33c
[ 947.940000] [<8058e7fc>] 0x8058e7fc
[ 947.944000] [<8058b3a8>] 0x8058b3a8
[ 947.948000] [<80495558>] 0x80495558
[ 947.952000] [<80032838>] 0x80032838
[ 947.956000] [<80589200>] 0x80589200
[ 947.960000] [<805855bc>] 0x805855bc
[ 947.964000] [<8058e7fc>] 0x8058e7fc
[ 947.968000] [<80585760>] 0x80585760
[ 947.972000] [<8058cfd0>] 0x8058cfd0
[ 947.976000] [<8058eaf0>] 0x8058eaf0
[ 947.980000] [<800146e8>] 0x800146e8
[ 947.984000] [<80032244>] 0x80032244
[ 947.988000] [<80184664>] 0x80184664
[ 947.992000] [<80033084>] 0x80033084
[ 947.992000] [<8023683c>] 0x8023683c
[ 947.996000] [<80032db0>] 0x80032db0
[ 948.000000] [<80032db0>] 0x80032db0
[ 948.004000] [<800372d8>] 0x800372d8
[ 948.008000] [<80006df0>] 0x80006df0
[ 948.012000] [<80037258>] 0x80037258
[ 948.016000] [<80006de0>] 0x80006de0
[ 948.020000]
[ 948.020000] Mem-Info:
[ 948.024000] Normal per-cpu:
[ 948.028000] CPU 0: hi: 0, btch: 1 usd: 0
[ 948.032000] active_anon:824 inactive_anon:85 isolated_anon:0
[ 948.032000] active_file:0 inactive_file:50 isolated_file:0
[ 948.032000] unevictable:0 dirty:0 writeback:0 unstable:0
[ 948.032000] free:129 slab_reclaimable:123 slab_unreclaimable:1080
[ 948.032000] mapped:5 shmem:150 pagetables:109 bounce:0
[ 948.060000] Normal free:516kB min:508kB low:632kB high:760kB active_anon:3296kB inactive_anon:340kB active_file:0kB inactive_file:200kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:16256kB mlocked:0kB dirty:0kB writeback:0kB mapped:20kB shmem:600kB slab_reclaimable:492kB slab_unreclaimable:4320kB kernel_stack:408kB pagetables:436kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:226 all_unreclaimable? yes
[ 948.100000] lowmem_reserve[]: 0 0
[ 948.104000] Normal: 1*4kB 4*8kB 0*16kB 1*32kB 1*64kB 1*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 516kB
[ 948.112000] 200 total pagecache pages
[ 948.116000] 0 pages in swap cache
[ 948.120000] Swap cache stats: add 0, delete 0, find 0/0
[ 948.128000] Free swap = 0kB
[ 948.128000] Total swap = 0kB
[ 948.136000] 4096 pages RAM
[ 948.136000] 737 pages reserved
[ 948.140000] 283 pages shared
[ 948.144000] 2902 pages non-shared
[ 948.148000] [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
[ 948.156000] [ 331] 0 331 389 31 0 0 0 rcS
[ 948.160000] [ 332] 0 332 381 22 0 0 0 ash
[ 948.168000] [ 333] 0 333 389 31 0 0 0 rcS
[ 948.176000] [ 334] 0 334 377 19 0 0 0 logger
[ 948.184000] [ 517] 0 517 380 21 0 0 0 syslogd
[ 948.192000] [ 519] 0 519 375 17 0 0 0 klogd
[ 948.200000] [ 521] 0 521 209 28 0 0 0 hotplug2
[ 948.208000] [ 638] 0 638 375 15 0 0 0 watchdog
[ 948.216000] [ 904] 0 904 378 20 0 0 0 udhcpc
[ 948.224000] [ 1261] 0 1261 379 20 0 0 0 crond
[ 948.232000] [ 1274] 0 1274 288 19 0 0 0 dropbear
[ 948.240000] [ 1292] 0 1292 262 20 0 0 0 uhttpd
[ 948.248000] [ 1320] 65534 1320 235 21 0 0 0 dnsmasq
[ 948.256000] [ 1321] 0 1321 235 21 0 0 0 dnsmasq
[ 948.264000] [ 1335] 0 1335 965 79 0 0 0 olsrd
[ 948.272000] [ 1361] 0 1361 389 29 0 0 0 S98apply_profil
[ 948.280000] [ 1364] 0 1364 405 48 0 0 0 apply_profile.c
[ 948.288000] [ 2755] 0 2755 378 19 0 0 0 sh
[ 948.296000] [ 2760] 0 2760 437 80 0 0 0 scheduler
[ 948.304000] [ 4140] 0 4140 463 106 0 0 0 scheduler
[ 948.312000] [ 4141] 0 4141 405 48 0 0 0 apply_profile.c
[ 948.320000] [ 4142] 0 4142 410 53 0 0 0 apply_profile.c
[ 948.332000] [ 4143] 0 4143 376 16 0 0 0 grep
[ 948.336000] [ 4144] 0 4144 376 15 0 0 0 cut
[ 948.344000] [ 4151] 0 4151 470 114 0 0 0 scheduler
[ 948.352000] [ 4158] 0 4158 410 53 0 0 0 apply_profile.c
[ 948.364000] [ 4159] 0 4159 375 11 0 0 0 cat
[ 948.368000] [ 4160] 0 4160 375 11 0 0 0 date
[ 948.376000] Out of memory: Kill process 1320 (dnsmasq) score 7 or sacrifice child
[ 948.384000] Killed process 1321 (dnsmasq) total-vm:940kB, anon-rss:84kB, file-rss:0kB
[ 976.232000] bcm47xx_wdt: Watchdog will fire soon!!!
>0x80FFFFFF>complite

CFE version 1.0.37-1.08 for BCM947XX (32bit,SP,LE)
Build Date: 2006Ç¯ 7ï¿œï¿œ 11ï¿œï¿œ ï¿œï¿œï¿œï¿œï¿œï¿œ 15:41:55 JST (root@ifedora)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.