Page 1 of 1

Afvalwijzer freezes Toon

Posted: Thu Aug 29, 2024 8:16 am
by jnieuw
Good morning,

Since yesterday my Toon1 5.49.19 started freezing/constant rebooting.

After logging in using SSH I could see:
100% CPU usage by

Code: Select all

/qmf/sbin/qt-gui -platform linuxfb -plugin Tslib
It was not possible to use the touchscreen so I moved all the "Toonstore" apps from

Code: Select all

/qmf/qml/apps
to a backup directory. (Without moving "Toonstore" itself).
Rebooted and my Toon1 was working normally again.
Tried installing the apps 1 by 1 and as soon as I installed "Afvalwijzer" my Toon locks up again...

Any idea? I would really like "Afvalwijzer" again :)

Re: Afvalwijzer freezes Toon

Posted: Thu Aug 29, 2024 11:39 am
by Toonz
Toon 1 can handle usually only 2 or 3 custom apps without running out of memory.

A known very memory intense app is the Kalender app, especially if you have linked large calendars (usually people never purge Google calendars for example to remove items from the past).
The Afvalwijzer app itself should be fine as long as you install not too many apps on Toon 1
If you really want to run more apps then I suggest an upgrade to a Toon 2 (no app limits anymore)

Re: Afvalwijzer freezes Toon

Posted: Thu Aug 29, 2024 4:24 pm
by jnieuw
Hi Toonz,

This setup has been running for months/almost a year.
I only had "Buienradar", "SpotEnergy", "Autoreboot" and "Afvalwijzer" running.
But since yesterday after installing "Afvalwijzer" the Toon takes 100% CPU. No memory problems.

So today I reinstalled "Afvalwijzer", just to check if it would eat up all memory, but no AND no 100% CPU.
All is working again ?? Could it be that "Afvalwijzer" just could not connect to get the waste data and then uses 100% CPU by getting in a loop or something? (I do use a firewall with blocklists).

For your information, Toon1 with "Buienradar", "SpotEnergy", "Autoreboot" and "Afvalwijzer" running, still 16372K memory free:

Code: Select all

Mem: 109824K used, 16372K free, 92K shrd, 0K buff, 33732K cached
CPU:  5.1% usr  7.8% sys  0.0% nic 86.9% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 0.20 0.33 0.26 1/100 7994
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
 6961  5872 root     R     3264  2.5  1.3 top
 7251     1 root     S     171m138.6  0.9 /qmf/sbin/qt-gui -platform linuxfb -plugin Tslib
  607     2 root     SW       0  0.0  0.5 [RtmpTimerTask]
  775     1 root     S    15712 12.4  0.3 /usr/sbin/lighttpd -D -m /usr/lib/lighttpd -f /qmf/etc/lighttpd/lighttpd.conf
  762     1 root     S     3088  2.4  0.3 {tsc} /bin/sh /usr/bin/tsc
  608     2 root     SW       0  0.0  0.3 [RtmpMlmeTask]
  767     1 root     S    23500 18.5  0.2 {happ_thermstat} HCBv2 happ_thermstat [OK] [S20|N1]
  764     1 root     S     174m141.3  0.0 {hcb_comm} HCBv2 hcb_comm       [OK] [10 clients] [S1|N1]
  773     1 root     S    25836 20.4  0.0 {hcb_config} HCBv2 hcb_config     [OK] [S1|N1]
  763     1 root     S    23164 18.3  0.0 {hcb_netcon} HCBv2 hcb_netcon     [OK] [S1|N1]
  766     1 root     S    23064 18.2  0.0 {happ_scsync} HCBv2 happ_scsync    [OK] [S1|N1]
  768     1 root     S    22916 18.1  0.0 {happ_usermsg} HCBv2 happ_usermsg   [OK] [S1|N1]
  774     1 root     S    22884 18.0  0.0 {hcb_watchdog} HCBv2 hcb_watchdog   [OK] [S20|N1]
  765     1 root     S    21952 17.3  0.0 {happ_eventmgr} HCBv2 happ_eventmgr  [OK] [S1|N1]
  612     1 root     S     4176  3.3  0.0 /usr/sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -c /etc/network/wpa_supplicant.wlan0.conf -D wext

Re: Afvalwijzer freezes Toon

Posted: Thu Aug 29, 2024 4:51 pm
by Toonz
weird, I haven't touched the afvalwijzer code for quite some time.
Have you tried to disable the blocklist, just to see if that makes a difference?

Which 'afvalverwerker' do you use?

Re: Afvalwijzer freezes Toon

Posted: Thu Aug 29, 2024 5:03 pm
by Vriesfde
I also had similar issues, unreponsive touchscreen but could see the toon2 was still operating (power display and temp changing)

After many reboots yesterday and a night off power I now find coming home the Toon2 is working normal…..

Coincidence?

Re: Afvalwijzer freezes Toon

Posted: Thu Aug 29, 2024 5:03 pm
by Toonz
which afvalverwerker do you use?

Re: Afvalwijzer freezes Toon

Posted: Thu Aug 29, 2024 5:59 pm
by Vriesfde
Afvalwijzer door Toonz, versie 5.5

Re: Afvalwijzer freezes Toon

Posted: Thu Aug 29, 2024 7:13 pm
by Toonz
ik bedoel, welke afvalverwerker heb je geselekteerd in het instellingenscherm van de app?
Voor iedere afvalverwerker wordt er een apart stukje code gedownload, daar zou iets mee kunnen zijn (bijv als er een website is aangepast waardoor die code niet meer goed werkt)

Re: Afvalwijzer freezes Toon

Posted: Thu Aug 29, 2024 8:44 pm
by Vriesfde
Mijnafvalwijzer.nl. Nr 1 op de lijst

Re: Afvalwijzer freezes Toon

Posted: Fri Aug 30, 2024 8:45 am
by jnieuw
Ik gebruik dezelfde, dus "Mijn afvalwijzer".
Denk dat door een automatische update van blocklists de blokkade is opgeheven op de firewall, maar het kan natuurlijk ook zo zijn dat de site zelf plat lag of zo.
Zou afvalwijzer zo aangepast kunnen worden dat hij dan niet vastloopt?

Re: Afvalwijzer freezes Toon

Posted: Fri Aug 30, 2024 12:46 pm
by Toonz
mijnafvalwijzer is een van de meest gebruikte plugins.
Zouden jullie eens de 4 cijfers van je postcode willen sturen (eventueel via een PM) zodat ik kan kijken of ik het kan reproduceren?

Als alternatief kan je ook provider 33 proberen in het instellingenscherm (geeft dezelfde data maar via een andere route).

Re: Afvalwijzer freezes Toon

Posted: Fri Aug 30, 2024 2:09 pm
by jnieuw
Deed het ook altijd prima! Heb de postcode via PM verstuurd.

Re: Afvalwijzer freezes Toon

Posted: Sat Aug 31, 2024 7:22 pm
by Toonz
jnieuw wrote: Fri Aug 30, 2024 2:09 pm Deed het ook altijd prima! Heb de postcode via PM verstuurd.
De afvalkalender heeft helemaal geen data. Er is alleen 1 ophaalmoment voor takken in November.
De rest van de kalender voor dit jaar is helemaal leeg.

Wellicht even wachten of anders melden bij de gemeente ?

EDIT: de code voor afvalverwerker 1 lijkt hier niet goed mee om te gaan, ga ik nu even naar kijken

Re: Afvalwijzer freezes Toon

Posted: Sun Sep 01, 2024 9:54 am
by jnieuw
Als ik in afvalwijzer kijk staat er een hele lijst met ophaaldagen, dus dat lijkt gewoon goed te gaan.
Nogmaals, ik denk dat er een á twee dagen ergens een blokkade zat waardoor de app in een loopje kwam.