Memory usage still quite stable after 5+ days
Search found 13 matches
- Sat Jan 22, 2022 3:40 pm
- Forum: ZoneMinder Distributions
- Topic: Zoneminder processes being killed by OOM and OOMD on Fedora
- Replies: 17
- Views: 104692
- Tue Jan 18, 2022 5:18 pm
- Forum: ZoneMinder Distributions
- Topic: Zoneminder processes being killed by OOM and OOMD on Fedora
- Replies: 17
- Views: 104692
Re: Zoneminder processes being killed by OOM and OOMD on Fedora
I installed an older version of ZM (1.34.26-1) on Fedora 34. This was installed without on disk swap, so with only compressed swap in RAM. This older version of ZM was unavailable on Fedora 35, otherwise I would have gone with the newer Fedora. The memory usage has been low and stable over time ...
- Tue Jan 11, 2022 12:25 am
- Forum: ZoneMinder Distributions
- Topic: Zoneminder processes being killed by OOM and OOMD on Fedora
- Replies: 17
- Views: 104692
Re: Zoneminder processes being killed by OOM and OOMD on Fedora
Turning off Save JPGs does disable live view, which is a dealbreaker. I don't know what to do at this point, perhaps I'll try a different distribution perhaps CentOS or Ubuntu. Or perhaps install an older version of ZoneMinder (1.34).
- Sat Jan 08, 2022 3:30 pm
- Forum: ZoneMinder Distributions
- Topic: Zoneminder processes being killed by OOM and OOMD on Fedora
- Replies: 17
- Views: 104692
Re: Zoneminder processes being killed by OOM and OOMD on Fedora
Also, for some reason I could no longer see any live views (e.g. montage or camera view). I need to investigate if disabling JPEGs caused this. I will add that if ZM crashes after 3 days, I can work around this with nightly reboots. Still probably needs some investigation by the devs at some point ...
- Sat Jan 08, 2022 3:26 pm
- Forum: ZoneMinder Distributions
- Topic: Zoneminder processes being killed by OOM and OOMD on Fedora
- Replies: 17
- Views: 104692
Re: Zoneminder processes being killed by OOM and OOMD on Fedora
Try disable saving JPEGs if you haven't already. ZM got killed by OOM after 3 days (?) after disabling JPEGs. I will note that I was running with OOMD off (see oomd.conf in my first post). Here are some "top"s over time. I only got 2 days worth. ZM was killed about 12 hours after the last image ...
- Thu Jan 06, 2022 4:35 pm
- Forum: ZoneMinder Distributions
- Topic: Zoneminder processes being killed by OOM and OOMD on Fedora
- Replies: 17
- Views: 104692
Re: Zoneminder processes being killed by OOM and OOMD on Fedora
Settings for buffers:
- Thu Jan 06, 2022 4:35 pm
- Forum: ZoneMinder Distributions
- Topic: Zoneminder processes being killed by OOM and OOMD on Fedora
- Replies: 17
- Views: 104692
Re: Zoneminder processes being killed by OOM and OOMD on Fedora
Just to add some more information, here are the settings for one of the cameras. There appears to be a limit, so will add more settings in another post.
- Thu Jan 06, 2022 4:09 pm
- Forum: ZoneMinder Distributions
- Topic: Zoneminder processes being killed by OOM and OOMD on Fedora
- Replies: 17
- Views: 104692
Re: Zoneminder processes being killed by OOM and OOMD on Fedora
Thanks. I will try that and report back. "Save JPEGs" was set to "Analysis Images Only (if available)".
- Wed Jan 05, 2022 6:30 pm
- Forum: ZoneMinder Distributions
- Topic: Zoneminder processes being killed by OOM and OOMD on Fedora
- Replies: 17
- Views: 104692
Re: Zoneminder processes being killed by OOM and OOMD on Fedora
Not solved. ZM keeps getting killed. It looks like ZM is hanging onto too much memory. If there's anything else I can post here that can be of help, let me know. Here's a "top" of the system after running for a while:
- Mon Jan 03, 2022 10:36 pm
- Forum: ZoneMinder Distributions
- Topic: Zoneminder processes being killed by OOM and OOMD on Fedora
- Replies: 17
- Views: 104692
Re: Zoneminder processes being killed by OOM and OOMD on Fedora
Adjusting the reserve ratio did not work. I kept halving the numbers until I reached the minimum. In other words, I tried these values for vm.lowmem_reserve_ratio: 128 128 32 64 64 32 32 32 32 16 16 32 8 8 32 4 4 32 2 2 32 1 1 32 However, after each adjustment OOM always kicked in and killed ZM. I ...
- Fri Dec 31, 2021 12:06 am
- Forum: ZoneMinder Distributions
- Topic: Zoneminder processes being killed by OOM and OOMD on Fedora
- Replies: 17
- Views: 104692
Re: Zoneminder processes being killed by OOM and OOMD on Fedora
Spoke too soon... Zoneminder has been killed. I will keep on playing with the values for the reserve ratio and see what happens. Here's the service log, in case anyone is interested: Dec 30 16:53:03 zmstats[868]: INF [Stats Daemon exiting] Dec 30 16:53:03 zmdc[805]: INF ['zmc -m 1' exited normally ...
- Thu Dec 30, 2021 10:45 pm
- Forum: ZoneMinder Distributions
- Topic: Zoneminder processes being killed by OOM and OOMD on Fedora
- Replies: 17
- Views: 104692
Re: Zoneminder processes being killed by OOM and OOMD on Fedora
Forgot to mention Zoneminder is running under nginx, and not Apache. It's probably not relevant, but thought I'd include this.
- Thu Dec 30, 2021 10:39 pm
- Forum: ZoneMinder Distributions
- Topic: Zoneminder processes being killed by OOM and OOMD on Fedora
- Replies: 17
- Views: 104692
Zoneminder processes being killed by OOM and OOMD on Fedora
Hello, I recently installed Zoneminder on Fedora. I was having some issues with Zoneminder being killed by the system OOMD and OOM processes. I changed my settings for both and so far all seems ok. I'm hoping that what I post here can help someone. Or perhaps the powers that be can suggest better ...