wviewweather.com Forum Index wviewweather.com
wview and Weather Topics
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

openslug 3.1 kernel panic from htmlgend

 
Post new topic   Reply to topic    wviewweather.com Forum Index -> Troubleshooting
View previous topic :: View next topic  
Author Message
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Thu Jul 06, 2006 9:31 pm    Post subject: openslug 3.1 kernel panic from htmlgend Reply with quote

or at least that's what it looks like in /var/log/messages...

Code:

Jul  6 20:18:32 (none) user.warn wviewsqld[3981]: <1191077473> : dbdatabaseInsertRecord: TableInsertRow failed!
Jul  6 20:18:34 (none) user.info htmlgend[3984]: <1191079561> : ARCREC: using header file /etc/wview/arcrec-header.conf ...
Jul  6 20:18:34 (none) user.info htmlgend[3984]: <1191079568> : ARCREC: saving ALL daily archive reports ...
Jul  6 20:18:42 (none) user.info htmlgend[3984]: <1191086798> : ARCREC: 228 daily archive reports available
Jul  6 20:18:43 (none) user.info htmlgend[3984]: <1191087672> : starting html generation in 2 mins 27 secs
Jul  6 20:18:43 (none) user.info htmlgend[3984]: <1191087674> : doing initial html generation now...
Jul  6 20:18:54 (none) user.warn kernel: oom-killer: gfp_mask=0x201d2, order=0
Jul  6 20:18:54 (none) user.warn kernel: Mem-info:
Jul  6 20:18:54 (none) user.warn kernel: DMA per-cpu:
Jul  6 20:18:54 (none) user.warn kernel: cpu 0 hot: high 6, batch 1 used:0
Jul  6 20:18:54 (none) user.warn kernel: cpu 0 cold: high 2, batch 1 used:1
Jul  6 20:18:54 (none) user.warn kernel: DMA32 per-cpu: empty
Jul  6 20:18:54 (none) user.warn kernel: Normal per-cpu: empty
Jul  6 20:18:54 (none) user.warn kernel: HighMem per-cpu: empty
Jul  6 20:18:54 (none) user.warn kernel: Free pages:         728kB (0kB HighMem)
Jul  6 20:18:54 (none) user.warn kernel: Active:3016 inactive:2949 dirty:0 writeback:0 unstable:0 free:181 slab:623 mapped:5932 pagetables:139
Jul  6 20:18:54 (none) user.warn kernel: DMA free:724kB min:724kB low:904kB high:1084kB active:12136kB inactive:11724kB present:32768kB pages_scanned:835 all_unreclaimable? no
Jul  6 20:18:54 (none) user.warn kernel: lowmem_reserve[]: 0 0 0 0
Jul  6 20:18:54 (none) user.warn kernel: DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jul  6 20:18:54 (none) user.warn kernel: lowmem_reserve[]: 0 0 0 0
Jul  6 20:18:54 (none) user.warn kernel: Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jul  6 20:18:54 (none) user.warn kernel: lowmem_reserve[]: 0 0 0 0
Jul  6 20:18:54 (none) user.warn kernel: HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jul  6 20:18:54 (none) user.warn kernel: lowmem_reserve[]: 0 0 0 0
Jul  6 20:18:54 (none) user.warn kernel: DMA: 1*4kB 0*8kB 1*16kB 0*32kB 1*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 724kB
Jul  6 20:18:54 (none) user.warn kernel: DMA32: empty
Jul  6 20:18:54 (none) user.warn kernel: Normal: empty
Jul  6 20:18:54 (none) user.warn kernel: HighMem: empty
Jul  6 20:18:54 (none) user.warn kernel: Swap cache: add 12190, delete 11963, find 324/469, race 0+0
Jul  6 20:18:54 (none) user.warn kernel: Free swap  = 0kB
Jul  6 20:18:54 (none) user.warn kernel: Total swap = 24088kB
Jul  6 20:18:54 (none) user.warn kernel: Free swap:            0kB
Jul  6 20:18:54 (none) user.warn kernel: 8192 pages of RAM
Jul  6 20:18:54 (none) user.warn kernel: 319 free pages
Jul  6 20:18:54 (none) user.warn kernel: 630 reserved pages
Jul  6 20:18:54 (none) user.warn kernel: 623 slab pages
Jul  6 20:18:54 (none) user.warn kernel: 2245 pages shared
Jul  6 20:18:54 (none) user.warn kernel: 227 pages swap cached
Jul  6 20:18:54 (none) user.err kernel: Out of Memory: Kill process 3984 (htmlgend) score 1176 and children.
Jul  6 20:18:54 (none) user.err kernel: Out of memory: Killed process 3985 (htmlgend).
Jul  6 20:18:54 (none) user.warn kernel: oom-killer: gfp_mask=0x200d2, order=0
Jul  6 20:18:54 (none) user.warn kernel: Mem-info:
Jul  6 20:18:54 (none) user.warn kernel: DMA per-cpu:
Jul  6 20:18:54 (none) user.warn kernel: cpu 0 hot: high 6, batch 1 used:5
Jul  6 20:18:54 (none) user.warn kernel: cpu 0 cold: high 2, batch 1 used:1
Jul  6 20:18:54 (none) user.warn kernel: DMA32 per-cpu: empty
Jul  6 20:18:54 (none) user.warn kernel: Normal per-cpu: empty
Jul  6 20:18:54 (none) user.warn kernel: HighMem per-cpu: empty
Jul  6 20:18:54 (none) user.warn kernel: Free pages:         880kB (0kB HighMem)
Jul  6 20:18:54 (none) user.warn kernel: Active:3008 inactive:2921 dirty:0 writeback:0 unstable:0 free:220 slab:623 mapped:5908 pagetables:135
Jul  6 20:18:54 (none) user.warn kernel: oom-killer: gfp_mask=0x201d2, order=0
Jul  6 20:18:54 (none) user.warn kernel: Mem-info:
Jul  6 20:18:54 (none) user.warn kernel: DMA per-cpu:
Jul  6 20:18:54 (none) user.warn kernel: cpu 0 hot: high 6, batch 1 used:5
Jul  6 20:18:54 (none) user.warn kernel: cpu 0 cold: high 2, batch 1 used:1
Jul  6 20:18:54 (none) user.warn kernel: DMA32 per-cpu: empty
Jul  6 20:18:54 (none) user.warn kernel: Normal per-cpu: empty
Jul  6 20:18:54 (none) user.warn kernel: HighMem per-cpu: empty
Jul  6 20:18:54 (none) user.warn kernel: Free pages:         904kB (0kB HighMem)
Jul  6 20:18:54 (none) user.warn kernel: Active:2879 inactive:2986 dirty:0 writeback:0 unstable:0 free:226 slab:617 mapped:5908 pagetables:135
Jul  6 20:18:54 (none) user.warn kernel: DMA free:904kB min:724kB low:904kB high:1084kB active:11516kB inactive:11944kB present:32768kB pages_scanned:25347 all_unreclaimable? no


and it goes on and on... for about 300 more lines, which I'll spare you. Smile

Is this perhaps a swap/memory full problem?

I have it running on a flash stick (but setup in turnup with turnup disk -i)... two partitions, one root, one swap.

just watching top as I restart the wview daemons...

things run fine until htmlgend starts up... it takes up 4% then 5 then 7% of memory, and then it reports 35% of memory... and/or crashes.

i will try turning off a bunch of my images see if that helps
Back to top
View user's profile Send private message MSN Messenger
bhnb



Joined: 28 Nov 2005
Posts: 127

PostPosted: Thu Jul 06, 2006 11:48 pm    Post subject: Reply with quote

I suspect this is down to a compatibility problem with the files copied from your old setup. IIRC that was a Mac, also big-endian so this shouldn't be an issue. If your files *are* litlle-endian, you'd need to run them through arc-le2be.

On the subject of swap, I've never seen usage above about 24MB on my heavily-loaded production slug. For a standard wview install it probably only swaps when you run ipkg update. So some swap is essential, but the behaviour you're seeing almost certainly won't happen once the file problem is sorted.

And if you're running on a flash stick but using turnup disk, I'd recommend passing it 'noatimes' to reduce some of the wear.
Back to top
View user's profile Send private message
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Fri Jul 07, 2006 8:35 am    Post subject: Reply with quote

hi john thanks for that.

ah, i never thought of the big/little endian issue. right.. this is arm... so it's big endian... and the files are coming from a debian linux x86 box... so little endian.

this is just for the archive files though yes? I'll run them through the converter and see what happens.

i was surprised by the swap usage as well, it would make sense if it was the big/little endian issue fouling that up too.... i'll check it out.

did you use the turnup memstick option instead? I tried that, but ran into some errors relating to turnup setting up the /var/log in flash instead of on the memstick. So i eliminated the problem by going to disk mode. Yep, I've added the noatime option to hopefully keep the wear down

thanks for you help.

chris
Back to top
View user's profile Send private message MSN Messenger
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Fri Jul 07, 2006 9:42 am    Post subject: Reply with quote

looks like the archive big/little endian issue was it...

everything seems to be fine now.

I unfortunately cleared the data logger on the VP unneccessarily last night... so I've lost a couple days of data... but better than 6 months!


thanks for you help John!
Back to top
View user's profile Send private message MSN Messenger
bhnb



Joined: 28 Nov 2005
Posts: 127

PostPosted: Fri Jul 07, 2006 10:41 am    Post subject: Reply with quote

PITA about the lost data.

If I was running wview on a memstick I'd do turnup disk as well - I've run a wview simulator this way.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group