Scheduled reboot Toon 1 for getting sluggish.
Moderators: marcelr, TheHogNL, Toonz
Scheduled reboot Toon 1 for getting sluggish.
Hello,
Today my Toon got real unresponsive, and I got to manage to go to the "herstart' option before it dimmed again.
The "herstart" took 1 hour 15 minutes, but is now responsive again.
Maybe it is an idea to ad a option for a scheduled reboot, once a week(??) at a certain adjustable time (night)
Just a thought
Ron.
Today my Toon got real unresponsive, and I got to manage to go to the "herstart' option before it dimmed again.
The "herstart" took 1 hour 15 minutes, but is now responsive again.
Maybe it is an idea to ad a option for a scheduled reboot, once a week(??) at a certain adjustable time (night)
Just a thought
Ron.
Re: Scheduled reboot Toon 1 for getting sluggish.
Should not be necessary. Before and after reboot the memory usage should be the same (or Eneco has a memory leakage in the application). I think your toon was running something which caused the cpu/memory to spike. On what firmware are you? Did you do a recent update with the TSC (update-rooted.sh) method?Ron_nl wrote:Hello,
Today my Toon got real unresponsive, and I got to manage to go to the "herstart' option before it dimmed again.
The "herstart" took 1 hour 15 minutes, but is now responsive again.
Maybe it is an idea to ad a option for a scheduled reboot, once a week(??) at a certain adjustable time (night)
Just a thought
Ron.
Member of the Toon Software Collective
Re: Scheduled reboot Toon 1 for getting sluggish.
My Toon is on 5.15.6 TSC 2.1.1 last updated about a month(??) ago by the check for updates button in TSC menu.
I did not update with update-rooted.sh.
Saw Toon was sluggish because the animation for the solar panels almost stopped.
Only app I have is buitenradar.
Toonstore 5.0.
Ron.
I did not update with update-rooted.sh.
Saw Toon was sluggish because the animation for the solar panels almost stopped.
Only app I have is buitenradar.
Toonstore 5.0.
Ron.
-
- Administrator
- Posts: 494
- Joined: Thu May 04, 2017 9:28 pm
Re: Scheduled reboot Toon 1 for getting sluggish.
fw 5.18.8 is the latest, the update-rooted changed on multiple things for Toon1 in the meanwhile.
Can you update to the latest firmware en share your results?
Can you update to the latest firmware en share your results?
Re: Scheduled reboot Toon 1 for getting sluggish.
That button uses that script also So yeah, use that button to update to 5.18.8. In a more recents version of the update script there are some memory tweaks for the toon1 just for this reason.Ron_nl wrote:My Toon is on 5.15.6 TSC 2.1.1 last updated about a month(??) ago by the check for updates button in TSC menu.
I did not update with update-rooted.sh.
.
Member of the Toon Software Collective
Re: Scheduled reboot Toon 1 for getting sluggish.
Ok, I had hoped to skip that version because of those childish /tacky Xmas, Easter etc. icons..
Will update this week.
Thanks.
Ron.
Will update this week.
Thanks.
Ron.
Re: Scheduled reboot Toon 1 for getting sluggish.
Great work; I was on 5.15 or 5.13 something and allready had some reboots and the device was very sluggish. I updated it this morning through TSC to 5.18.8 and it goes smoothlier through the menu's than I have ever experienced so it seems.TheHogNL wrote: That button uses that script also So yeah, use that button to update to 5.18.8. In a more recents version of the update script there are some memory tweaks for the toon1 just for this reason.
Re: Scheduled reboot Toon 1 for getting sluggish.
Updated last Monday, had no issues since then.TerrorSource wrote:fw 5.18.8 is the latest, the update-rooted changed on multiple things for Toon1 in the meanwhile.
Can you update to the latest firmware en share your results?
Hope it stays this way, will keep a close eye on it.
Ron.
Re: Scheduled reboot Toon 1 for getting sluggish.
Its an old topic but i would like to request a auto reboot option in Toon.
After a few days Toon reacts slow en auto soft starts itself and processor load is between 80 and 100%. Even connection trough ssh is going slow. After a reboot the Toon works prefect with a processor load about 20%
I have installed the Solaredge app and P2000 running on 5.49.7
After a few days Toon reacts slow en auto soft starts itself and processor load is between 80 and 100%. Even connection trough ssh is going slow. After a reboot the Toon works prefect with a processor load about 20%
I have installed the Solaredge app and P2000 running on 5.49.7
Re: Scheduled reboot Toon 1 for getting sluggish.
Same setup here also Toon 1 and latest firmware, running several apps: Homeassistant, Buienradar , Afvalwijzer , boilerstatus and water.Havym wrote:Its an old topic but i would like to request a auto reboot option in Toon.
After a few days Toon reacts slow en auto soft starts itself and processor load is between 80 and 100%. Even connection trough ssh is going slow. After a reboot the Toon works prefect with a processor load about 20%
I have installed the Solaredge app and P2000 running on 5.49.7
I made an Python app on a Raspberry to poll the Toon1 every minute to store usage and memory.
What I see in the data that after 3-4 days Toon is not able anymore to clean its memory and after 2 days it reboots.
Solution for me is to let the Raspberry do a reset on the Toon every night @ 4 am.
Now Toon stays ok without performance issues.
So i agree it should be nice to have this option on the Toon itself.
- Attachments
-
- ToonMemFree.png (102.16 KiB) Viewed 5955 times
Re: Scheduled reboot Toon 1 for getting sluggish.
Can you tell me how you did that? Im not that good with code.4nuts wrote: Solution for me is to let the Raspberry do a reset on the Toon every night @ 4 am.
Re: Scheduled reboot Toon 1 for getting sluggish.
The python code does the following:
-1- Setup an SSH connection to the Toon
-2- Daily @ 4 am it sents out the ssh command /sbin/shutdown -r now , the Toon will reboot and freeup the memory.
-3- every minute send the following command to the Toon : uptime , free and iostat -c 1 1 and store the results in Homeassistant via MQTT.
Re: Scheduled reboot Toon 1 for getting sluggish.
If you just want the toon to reboot every night at 04:00, you don't need an external device running a script. You can simply create a cron job on the toon itself:
This method has the additional advantage that it still works when toon has lost its WiFi connection.
Code: Select all
toon:~# crontab -l
no crontab for root
toon:~# echo '0 4 * * * /sbin/shutdown -r now' | crontab -
toon:~# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (- installed on Mon Apr 11 09:23:35 2022)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
0 4 * * * /sbin/shutdown -r now
Schelte
Re: Scheduled reboot Toon 1 for getting sluggish.
Hmm, not sure if cron is installed on all toon's. At least not on my toon2
Re: Scheduled reboot Toon 1 for getting sluggish.
If i enter the first command : crontab -lhvxl wrote: ↑Mon Apr 11, 2022 11:30 am If you just want the toon to reboot every night at 04:00, you don't need an external device running a script. You can simply create a cron job on the toon itself:This method has the additional advantage that it still works when toon has lost its WiFi connection.Code: Select all
toon:~# crontab -l no crontab for root toon:~# echo '0 4 * * * /sbin/shutdown -r now' | crontab - toon:~# crontab -l # DO NOT EDIT THIS FILE - edit the master and reinstall. # (- installed on Mon Apr 11 09:23:35 2022) # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $) 0 4 * * * /sbin/shutdown -r now
the result is : -sh: crontab: not found
So I think there is no crontab on Toon1 ?