Re: Restart systemd service based on memory usage

2021-07-25 Thread Barry
> On 22 Jul 2021, at 20:01, Richard Shaw wrote: > >  > I have a Kiosk I'm trying out using Chromium, unfortunately it seems to have > a memory leak and crashes in less than 24 hours of usage. It likely that the problem is not a bug in chromium but rather the javascript that has been run on

Re: Restart systemd service based on memory usage

2021-07-22 Thread Ed Greshko
On 23/07/2021 04:22, Richard Shaw wrote: On Thu, Jul 22, 2021 at 2:41 PM Ed Greshko mailto:ed.gres...@greshko.com>> wrote: On 23/07/2021 03:00, Richard Shaw wrote: > I have a Kiosk I'm trying out using Chromium, unfortunately it seems to have a memory leak and crashes in less than 24 ho

Re: Restart systemd service based on memory usage

2021-07-22 Thread Richard Shaw
On Thu, Jul 22, 2021 at 2:41 PM Ed Greshko wrote: > On 23/07/2021 03:00, Richard Shaw wrote: > > I have a Kiosk I'm trying out using Chromium, unfortunately it seems to > have a memory leak and crashes in less than 24 hours of usage. > > > > I see systemD has an option for "MemoryMax" but was won

Re: Restart systemd service based on memory usage

2021-07-22 Thread Ed Greshko
On 23/07/2021 03:00, Richard Shaw wrote: I have a Kiosk I'm trying out using Chromium, unfortunately it seems to have a memory leak and crashes in less than 24 hours of usage. I see systemD has an option for "MemoryMax" but was wondering if anyone has actually used it? Is it as simple as Memo

Restart systemd service based on memory usage

2021-07-22 Thread Richard Shaw
I have a Kiosk I'm trying out using Chromium, unfortunately it seems to have a memory leak and crashes in less than 24 hours of usage. I see systemD has an option for "MemoryMax" but was wondering if anyone has actually used it? Is it as simple as MemoryMax=512M OnFailure=Restart or something li