Re: running custom commands during sysupgrade -

2020-11-23 Thread Sven Roederer
Am Sonntag, 22. November 2020, 18:07:05 CET schrieb Hannu Nyman: > Adrian Schmutzler wrote at Fri Oct 16 19:15:38 EDT 2020: > > Fortunately, and I don't fully understand why, we were able to drive this > > to effectively zero by simply running > > > echo 3 > /proc/sys/vm/drop_caches > > direct

Re: running custom commands during sysupgrade -

2020-11-22 Thread Reiner Karlsberg
Am 22.11.2020 um 19:23 schrieb Alberto Bursi: On 22/11/20 18:07, Hannu Nyman wrote: Adrian Schmutzler wrote at Fri Oct 16 19:15:38 EDT 2020:  > Fortunately, and I don't fully understand why, we were able to drive this to effectively zero by simply running  > echo 3 > /proc/sys/vm/drop_caches

Re: running custom commands during sysupgrade -

2020-11-22 Thread Alberto Bursi
On 22/11/20 18:07, Hannu Nyman wrote: Adrian Schmutzler wrote at Fri Oct 16 19:15:38 EDT 2020: > Fortunately, and I don't fully understand why, we were able to drive this to effectively zero by simply running > echo 3 > /proc/sys/vm/drop_caches > directly before sysupgrade. Out of a few h

Re: running custom commands during sysupgrade -

2020-11-22 Thread Hannu Nyman
Adrian Schmutzler wrote at Fri Oct 16 19:15:38 EDT 2020: > Fortunately, and I don't fully understand why, we were able to drive this to effectively zero by simply running > echo 3 > /proc/sys/vm/drop_caches > directly before sysupgrade. Out of a few hundred upgrades since then, I haven't had a

Re: running custom commands during sysupgrade - to free ram

2020-11-21 Thread Sven Roederer
Am Sonntag, 18. Oktober 2020, 18:59:19 CET schrieb Sven Roederer: > > > fail --- > > > root@gib-mir-einen-namen:~# cat /lib/upgrade/freifunk-berlin_freeup- > > > ram.sh > > > ffberlin_freeup_ram() { > > > > > > # stop uhttpd and luci > > > /etc/init.d/uhttpd stop > > >

Re: running custom commands during sysupgrade -

2020-10-18 Thread Sven Roederer
20 00:51 > > To: openwrt-devel@lists.openwrt.org > > Subject: running custom commands during sysupgrade - > > > > Hi, > > > > based on my setup for some 8/32 MB devices I'd like to run a custom script > > before / during sysupgrade. The main task of the script sh

RE: running custom commands during sysupgrade -

2020-10-16 Thread Adrian Schmutzler
Hi Sven, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Sven Roederer > Sent: Samstag, 17. Oktober 2020 00:51 > To: openwrt-devel@lists.openwrt.org > Subject: running custom commands during sysupgrade - > &

running custom commands during sysupgrade -

2020-10-16 Thread Sven Roederer
Hi, based on my setup for some 8/32 MB devices I'd like to run a custom script before / during sysupgrade. The main task of the script should be to free additional RAM, as I suspect some soft-bricks and aborted upgrades to a OOM- situation. To me the /lib/upgrade folder seems a good place to a