Excessive resource usage on fanless PC

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
gstraccio
Posts: 6
Joined: Fri Aug 09, 2019 6:47 am

Excessive resource usage on fanless PC

Post by gstraccio »

Hi all!

I'm configuring ZM 1.32 installed on Ubuntu 18.04 LTS.

I've 3 IP cams decently running.When i ask for "Montage Review",
i observe an average cpu usage of about 40%.

Instead, if i ask for a full window of one of them Zm seems to get stuck.
Both cores reaches 100% of usage and to recover the control of ZM
i've to shut down Mozilla.

Any ideas?

Below details on my PC:
-memory
size: 7871MiB
-cpu
description: CPU
product: Intel(R) Celeron(R) CPU 1007U @ 1.50GHz
vendor: Intel Corp.
physical id: 41
bus info: cpu@0
version: Intel(R) Celeron(R) CPU 1007U @ 1.50GHz
slot: SOCKET 0
size: 1493MHz
capacity: 3800MHz
width: 64 bits
clock: 100MHz

I see two cores running.

Below some details of the SV3C cam that gave me problems:
Source type_: FFmpeg
Analysis FPS: 20
Maximum FPS: 20
Alarm Maximum FPS: 20
Source path :RTSP
Method :TCP
Target Color space:32bit
Width:1024
height:768



Bye!
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Excessive resource usage on fanless PC

Post by bbunge »

What happens to your /dev/shm? Set your resolution lower and the frame rate lower. Set the frame rate at the camera and halve the resolution in Zoneminder. Just see what happens...
gstraccio
Posts: 6
Joined: Fri Aug 09, 2019 6:47 am

Re: Excessive resource usage on fanless PC

Post by gstraccio »

About your questions:

- The voice " /dev/shm" as visibile in blue in ZM reports values always below 6%

- If a reduce the FPSs in tab "General" - only there - somethimes, it stops to capture at all.

- if i reduce "Capure Width/height" - only in that fields, somethimes it stops to capture,
other times, the cpu usage get reduced significantly.

Last time, i've forgot the "Scale" to 4x, meaning to magnifying some details,
and that cause the unresponsivity of the whole system.

Suggestions?
User avatar
iconnor
Posts: 2880
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Excessive resource usage on fanless PC

Post by iconnor »

The FPS settings should be empty.
The width and height should match what the camera is sending.

You can always try upgrading to 1.33.14, it has a lot of fixes and improvements.
sudo add-apt-repository ppa:iconnor/zoneminder-master
gstraccio
Posts: 6
Joined: Fri Aug 09, 2019 6:47 am

Re: Excessive resource usage on fanless PC

Post by gstraccio »

The final solution seems the upgrade to 1.33.14 !!

Now, it looks very cool!

Thx.
Post Reply