Page 2 of 3

Re: Spontaneous restarts, why?

Posted: Sat Nov 16, 2019 8:51 am
by TheHogNL
mogwai wrote:
Forgot to mention in my post, but I did issue a 'reboot' afterwards, so the 'top' results are after the reboot had finished.
Ok. I'm curious about your experience now. The in-cache memory is large (compared to the first top), but that means that the system has enough memory free to do some disk-caching. Free memory is a bit low but I expect the system to release the cache fast enough if memory becomes an issue now. So your toon should be more responsive now.

Re: Spontaneous restarts, why?

Posted: Wed Nov 20, 2019 12:01 am
by mogwai
TheHogNL wrote:
mogwai wrote:
Forgot to mention in my post, but I did issue a 'reboot' afterwards, so the 'top' results are after the reboot had finished.
Ok. I'm curious about your experience now. The in-cache memory is large (compared to the first top), but that means that the system has enough memory free to do some disk-caching. Free memory is a bit low but I expect the system to release the cache fast enough if memory becomes an issue now. So your toon should be more responsive now.
The toon is indeed more responsive now (but still lagging sometimes..), but most importantly the reboots have disappeared!!

Thanks for your memory tweaking solution. At first glance the improvement didn't seem too big, but taking into account the amount of memory available for cache the improvement is indeed huge..! I'm curious what tweaking you actually did...

After running for some days, the memory available did decrease again, but not leading to problems:

Code: Select all

Mem: 123528K used, 2668K free, 632K shrd, 0K buff, 9328K cached
CPU: 33.7% usr 43.9% sys  0.0% nic 18.2% idle  3.5% io  0.0% irq  0.5% sirq
Load average: 1.50 1.03 0.71 1/150 31418
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
  767     1 root     S     333m269.5  0.3 {hcb_comm} HCBv2 hcb_comm       [OK] [20 clients] [S1|N1]
  763     1 root     S     183m148.1 11.3 /qmf/sbin/qt-gui -platform linuxfb -plugin Tslib
  796     1 root     S    39924 31.5  4.3 {hdrv_zwave} HCBv2 hdrv_zwave     [OK] [ED4B6C27 SIS 3.67] [S1|N1]
  784     1 root     S    36420 28.7 40.3 {hcb_rrd} HCBv2 hcb_rrd        [OK] [S1|N1]
  777     1 root     S    25980 20.5  0.2 {hcb_config} HCBv2 hcb_config     [OK] [S1|N1]
  794     1 root     S    24452 19.3  0.0 {hdrv_hue} HCBv2 hdrv_hue       [OK] [S1|N1]
  775     1 root     S    24240 19.1  0.0 {happ_weather} HCBv2 happ_weather   [OK] [S20|N1]
  770     1 root     S    23716 18.7  0.7 {happ_pwrusage} HCBv2 happ_pwrusage  [OK] [S1|N1]
  773     1 root     S    23540 18.6  0.3 {happ_thermstat} HCBv2 happ_thermstat [OK] [S20|N1]
  766     1 root     S    23168 18.3  0.2 {hcb_netcon} HCBv2 hcb_netcon     [OK] [S1|N1]
  769     1 root     S    23100 18.2  0.0 {happ_kpi} HCBv2 happ_kpi       [OK] [S1|N1]
  771     1 root     S    23080 18.2  0.0 {happ_scsync} HCBv2 happ_scsync    [OK] [S1|N1]
  774     1 root     S    22936 18.1  0.0 {happ_usermsg} HCBv2 happ_usermsg   [OK] [S1|N1]
  795     1 root     S    22440 17.7  1.3 {hdrv_p1} HCBv2 hdrv_p1        [OK] [C:OK E:OP (P1) G:OP (P1) S:OP ] [S1|N1]
  768     1 root     S    21968 17.3  0.0 {happ_eventmgr} HCBv2 happ_eventmgr  [OK] [S1|N1]
  772     1 root     S    21416 16.9  0.0 {happ_smartplug} HCBv2 happ_smartplug [OK] [S1|N1]
  785     1 root     S    21316 16.8  0.2 {hcb_watchdog} HCBv2 hcb_watchdog   [OK] [S20|N1]
  776     1 root     S    17620 13.9  0.0 {hcb_bxtproxy} HCBv2 hcb_bxtproxy   [OK] [S:0:307:200 R:0:0 Q:2 (PRD)] [S1|N1]
  806     1 root     S    14124 11.1  1.1 /usr/sbin/lighttpd -D -m /usr/lib/lighttpd -f /qmf/etc/lighttpd/lighttpd.conf
  783     1 root     S    12096  9.5  0.2 {hcb_log} HCBv2 hcb_log        [OK] [S1|N1]

Re: Spontaneous restarts, why?

Posted: Wed Nov 20, 2019 2:42 pm
by TheHogNL
mogwai wrote:I'm curious what tweaking you actually did...
Disable of the netbios daemon (not necessary)
Disable of the native weather and kpi programs (not necessary, kpi is only for Eneco to see what toon is doing)
And per default disable of the toon apps which also can be disabled using the TSC menu 'toon subcription features'

Re: Spontaneous restarts, why?

Posted: Wed Nov 20, 2019 3:23 pm
by whizzz63
After removing Boiler_Status app Toon keeps restarting even after running the update-rooted.sh -f script.
Any suggestions?

Re: Spontaneous restarts, why?

Posted: Wed Nov 20, 2019 6:02 pm
by TheHogNL
whizzz63 wrote:After removing Boiler_Status app Toon keeps restarting even after running the update-rooted.sh -f script.
Any suggestions?
Do you mean the toonstore 'boiler status' app? If yes, no I don't know why this could happen. Is it completly removed from /qm/qml/apps/boilerstatus dir?

Re: Spontaneous restarts, why?

Posted: Wed Nov 20, 2019 6:20 pm
by whizzz63
Reinstalled it manually and also using the latest update script..... still rebooting

Re: Spontaneous restarts, why?

Posted: Wed Nov 20, 2019 6:24 pm
by whizzz63
TheHogNL wrote:
whizzz63 wrote:After removing Boiler_Status app Toon keeps restarting even after running the update-rooted.sh -f script.
Any suggestions?
Do you mean the toonstore 'boiler status' app? If yes, no I don't know why this could happen. Is it completly removed from /qm/qml/apps/boilerstatus dir?

And yes, the directories are empty.

Re: Spontaneous restarts, why?

Posted: Wed Nov 20, 2019 6:44 pm
by TheHogNL
whizzz63 wrote:Reinstalled it manually and also using the latest update script..... still rebooting
Is the toon rebooting or only the GUI (qt-gui process)?

Re: Spontaneous restarts, why?

Posted: Wed Nov 20, 2019 6:56 pm
by whizzz63
TheHogNL wrote:
whizzz63 wrote:Reinstalled it manually and also using the latest update script..... still rebooting
Is the toon rebooting or only the GUI (qt-gui process)?
As far as I can see it's the GUI

Re: Spontaneous restarts, why?

Posted: Wed Nov 20, 2019 8:36 pm
by whizzz63
Think I found what was causing the restart of the GUI. Removed the waste app and Toon stopped restarting.....

Re: Spontaneous restarts, why?

Posted: Wed Nov 20, 2019 8:45 pm
by TheHogNL
You probably need to check the qt log for why qt is crashing. See viewtopic.php?f=103&t=12565&p=92342 in the end how you can start the qt-logging.

Re: Spontaneous restarts, why?

Posted: Wed Nov 20, 2019 9:55 pm
by dexternl
Hi starting today my toon GUI keeps rebooting. I have created a qt log. I have tried the update -f but that didnt fixed the problem. I have the latest fw version. I have no idea what is going wrong.

Re: Spontaneous restarts, why?

Posted: Wed Nov 20, 2019 10:06 pm
by dexternl
dexternl wrote:Hi starting today my toon GUI keeps rebooting. I have created a qt log. I have tried the update -f but that didnt fixed the problem. I have the latest fw version. I have no idea what is going wrong.
Sorry i rebooted after deleting the waste app that solved the problem

Re: Spontaneous restarts, why?

Posted: Sun Nov 24, 2019 11:06 am
by TheHogNL
dexternl wrote:
dexternl wrote:Hi starting today my toon GUI keeps rebooting. I have created a qt log. I have tried the update -f but that didnt fixed the problem. I have the latest fw version. I have no idea what is going wrong.
Sorry i rebooted after deleting the waste app that solved the problem
Please try the new 4.26 waste app. It fixes some issue's with the #1 waste provider (mijnafvalkalender) which in some areas provides to much data which will crash the toon1. In 4.26 this is fixed.

Re: Spontaneous restarts, why?

Posted: Tue Jan 14, 2020 10:59 pm
by PeJeWe
My toon 1 has lately also spontaneous restarts.
i am running the latest firmware ( 5.18.8 )
i am running the latest TSC (2.1.1) with latest resources.
i have run the latest update-rooted.sh with -f option.
i am running toonstore app, buienradar, afvalkalender, DomoticzBoard.
all toon subscription features are off in TSC.

top results:
Mem: 88640K used, 37556K free, 3324K shrd, 0K buff, 24108K cached
CPU: 68% usr 31% sys 0% nic 0% idle 0% io 0% irq 0% sirq
Load average: 5.70 2.45 1.27 2/139 2526
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
2432 1 root R 102m 83% 72% /qmf/sbin/qt-gui -platform linuxfb -plugin Tslib
2526 2427 root R 3232 3% 22% top
1160 2 root SW 0 0% 6% [RtmpMlmeTask]
768 1 root S 317m 257% 0% {hcb_comm} HCBv2 hcb_comm [OK] [18 clients] [S1|N1]
781 1 root S 49380 39% 0% {hcb_rrd} HCBv2 hcb_rrd [OK] [S1|N1]
785 1 root S 39920 32% 0% {hdrv_zwave} HCBv2 hdrv_zwave [OK] [C4025F76 SIS 3.67] [S1|N1]
776 1 root S 25508 20% 0% {hcb_config} HCBv2 hcb_config [OK] [S1|N1]
783 1 root S 24496 19% 0% {hdrv_hue} HCBv2 hdrv_hue [OK] [S1|N1]
770 1 root S 23604 19% 0% {happ_pwrusage} HCBv2 happ_pwrusage [OK] [S1|N1]
773 1 root S 23508 19% 0% {happ_thermstat} HCBv2 happ_thermstat [OK] [ON/OFF] [S20|N1]
784 1 root S 23336 18% 0% {hdrv_p1} HCBv2 hdrv_p1 [OK] [C:OK E:OP (P1) G:OP (P1) ] [S1|N1]
767 1 root S 23164 18% 0% {hcb_netcon} HCBv2 hcb_netcon [OK] [S1|N1]
771 1 root S 23076 18% 0% {happ_scsync} HCBv2 happ_scsync [OK] [S1|N1]
774 1 root S 22932 18% 0% {happ_usermsg} HCBv2 happ_usermsg [OK] [S1|N1]
769 1 root S 21968 17% 0% {happ_eventmgr} HCBv2 happ_eventmgr [OK] [S1|N1]
772 1 root S 21344 17% 0% {happ_smartplug} HCBv2 happ_smartplug [OK] [S1|N1]
782 1 root S 21312 17% 0% {hcb_watchdog} HCBv2 hcb_watchdog [OK] [S20|N1]
775 1 root S 17672 14% 0% {hcb_bxtproxy} HCBv2 hcb_bxtproxy [OK] [S:0:93:736 R:0:0 Q:0 (PRD)] [S1|N1]
786 1 root S 14120 11% 0% /usr/sbin/lighttpd -D -m /usr/lib/lighttpd -f /qmf/etc/lighttpd/lighttpd.conf
777 1 root S 12080 10% 0% {hcb_log} HCBv2 hcb_log [OK] [S1|N1]
2454 1 root S 4604 4% 0% /usr/bin/psplash --angle 0
1177 1 root S 4176 3% 0% /usr/sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -c /et
2427 2407 root S 3408 3% 0% -sh
713 1 root S 3296 3% 0% /sbin/syslogd -n -C64 -m 20
19117 1 root S 3232 3% 0% {tsc} /bin/sh /usr/bin/tsc
1199 1 root S 3232 3% 0% udhcpc -b -R -i eth0 -A 5 -p /var/run/udhcpc.eth0.pid -H eneco-001-289077
716 1 root S 3232 3% 0% /sbin/klogd -n
1212 1 root S 3232 3% 0% udhcpc -R -n -p /var/run/udhcpc.wlan0.pid -i wlan0 -x hostname:eneco-001-289077
2418 2417 root S 3232 3% 0% sh -c /usr/libexec/sftp-server
2523 19117 root S 3100 2% 0% sleep 5
1260 1 root S 2748 2% 0% /usr/sbin/chronyd -r
2407 707 root S 2740 2% 0% /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22
2417 707 root S 2440 2% 0% /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22


what can i do to solve this?