On Tue, Oct 20, 2020 at 08:57:27AM -0400, Jon Ringle wrote:
> On Tue, Oct 20, 2020 at 2:06 AM Ladislav Michl <la...@linux-mips.org> wrote:
> >
> > On Mon, Oct 19, 2020 at 02:32:49PM -0400, Jon Ringle wrote:
> > > I recently updated to ptxdist-2020.10.0 for running on our device that
> > > has 64MB or physical ram.
> > > With systemd-246.6 that is installed,I'm finding that systemd
> > > daemon-reload now fails:
> > >
> > > $ sudo systemctl daemon-reload
> > > Failed to reload daemon: Refusing to reload, not enough space
> > > available on /run/systemd. Currently, 10.6M are free, but a safety
> > > buffer of 16.0M is enforced.
> > >
> > > Has anyone else encountered this issue?
> > > What is the recommended way to handle this? I'm hesitant to increase
> > > the size of /run in fstab because of the limited RAM I have available.
> >
> > I lowered RELOAD_DISK_SPACE_MIN with hope for the best. In my scenario,
> > daemon-reload is almost never called - only in case technician is doing
> > some tests on device and there is always watchdog to fix failed software.
> 
> Yeah, I noticed that systemd hardcoded the value of
> RELOAD_DISK_SPACE_MIN to 16MB.
> What did you patch your value to be?

1MB, previously there was no such check and it was added to fix
https://github.com/systemd/systemd/issues/5016
and those 16MB seems to be just a number big enough...

> Our firmware update script calls `systemctl daemon-reload` after
> installing an updated ipk package which then leads to failing to
> restart our application service

Btw, we are using rauc and casync to update firmware, so device gets
rebooted once done - but casync is storage hungry as well, so data
partition is sacrificed for update purposes and casync's TMP is set
to point there; all logged data are downloaded and erased before
firmware update begins.

        ladis

> -Jon
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to 
> ptxdist-requ...@pengutronix.de

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to