Excessive use of RAM

Previous development branch now released as 1.36
Locked
Hex
Posts: 14
Joined: Sat Jan 31, 2009 4:16 pm

Excessive use of RAM

Post by Hex »

Hello,

I just read through this one, which seems to describe a similar issue:
posting.php?mode=post&f=42

Running any camera eats up all available RAM, then the computer starts swapping and slows down to a crawl. I've tried a multitude of different buffer settings, nothing helps. I couldn't find the release notes for 1.35.18, but so far I've never had an issue with my buffer settings.

Log shows the following three errors:

Code: Select all

Memory map file '/dev/shm/zm.mmap.4' does not exist in zmMemAttach. zmc might not be running.
Last analyse time for 4 Shop-In was zero.
Can't find process with command of 'zmc -m 4'
Any help is greatly appreciated, as I can't record anything at the moment.
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Excessive use of RAM

Post by knight-of-ni »

Welcome to bleeding edge development.

The underlying zoneminder services are going through massive change. At the moment, the ideal buffer settings are between 2-5.
In order to get up to the minute info and troubleshooting, join us in our Slack channel. That is where most of the activity is happening for this issue.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Hex
Posts: 14
Joined: Sat Jan 31, 2009 4:16 pm

Re: Excessive use of RAM

Post by Hex »

Thank you for your reply!

Bleeding edge, but it used to work! :D

I've tried similar buffer settings and the issue persists... Never used Slack - link to your channel?
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Excessive use of RAM

Post by knight-of-ni »

Sure, it used to work, but 1.35.x is our development branch, where breakage is going to happen.

Quite a few people show up in this forum and express surprise when they learn things aren't always going to work in our development branch. If you are ok with that, then feel free to keep using it. However, I do need to set this expectation for you and anyone else who comes upon this thread.

I believe this is the correct link to join our slack channel:
https://join.slack.com/t/zoneminder-cha ... TdmMjE2MTE
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Excessive use of RAM

Post by Magic919 »

If you really want the 1.35.x branch then don’t run updates and look before you leap. I’m holding on 1.35.16 currently and keeping an eye on developments.
-
Hex
Posts: 14
Joined: Sat Jan 31, 2009 4:16 pm

Re: Excessive use of RAM

Post by Hex »

Magic919 wrote: Thu Feb 25, 2021 4:38 pm If you really want the 1.35.x branch then don’t run updates and look before you leap. I’m holding on 1.35.16 currently and keeping an eye on developments.
I've always just updated and it mostly worked... Any idea how to downgrade to 1.35.16? I'm running Ubuntu server.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Excessive use of RAM

Post by Magic919 »

Archive here https://launchpad.net/~iconnor/+ppa-packages

Grab your previous version.
-
Hex
Posts: 14
Joined: Sat Jan 31, 2009 4:16 pm

Re: Excessive use of RAM

Post by Hex »

Magic919 wrote: Thu Feb 25, 2021 5:32 pm Archive here https://launchpad.net/~iconnor/+ppa-packages

Grab your previous version.
I've really never done this - I understand I have to install a previous package version, but when I run:
apt list -a zoneminder

I get only:
zoneminder/bionic,now 1.35.18~20210224135011-bionic amd64 [installed]

I have the iconner bionic repository added. Help?
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Excessive use of RAM

Post by Magic919 »

You need to find and download the file. Note the name below. Make sure you get the amd64 or whatever you have if it differs.

Code: Select all

sudo dpkg -i zoneminder_1.35.16~20210122121212-focal_amd64.deb 
sudo apt-get install -f
Then stick ZM on hold.

Code: Select all

sudo apt-mark showhold
sudo apt-mark hold zoneminder
You can unhold when you are ready.
-
Locked