I am running ZoneMinder 1.30.4 on Slackware (using the build script here:
http://slackbuilds.org/repository/14.2/ ... oneMinder/, modified only to bump the version to 1.30.4). I recently migrated the database from my laptop, where I was testing it, to a new dedicated server. This server is just a mini PC with 4x 1.6 GHz Celeron processors, so not extremely powerful, but I am only running one camera right now anyway (will soon increase to 4). Everything was working fine on my laptop, and for the most part it's working fine on the server, except that the Load and Disk % listed in the console are wrong. Even when ZoneMinder is not running, the load is listed as about 1 - 1.5, and it remains about the same when ZoneMinder is running. However, if I look at the load in top, it's only 0 - 3% when ZoneMinder is not running and 5 - 8% when it is running. The zmc process itself is hovering at around 10-15% of a single core. I noticed that the htop "Load average" seems to be the same as what is listed on the ZoneMinder console, but also not making sense based on the breakdown by core and by process.
I'm thinking that since htop shows the same thing, this is some sort of problem with my system as opposed to with my ZoneMinder configuration. On my laptop, the htop output is fine. For what it's worth, I have a python script that reports CPU load based on the information in /proc/stat, and it agrees with the 5-8% load reported by top. The first two screenshots below show output from top and htop when ZoneMinder is running on the server.
Similarly, my disk usage percentage seems to be wrong. It is listed as 5% on the console, but according to df -h, it should only be 1%. /dev/shm is right, at least.
Code: Select all
dan@zmserver:~$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 32M 1016K 32M 4% /run
devtmpfs 8.0M 0 8.0M 0% /dev
/dev/sda1 30G 6.7G 22G 24% /
tmpfs 1.9G 704M 1.2G 37% /dev/shm
cgroup_root 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda2 99G 110M 94G 1% /var/www
/dev/sda3 785G 55G 691G 8% /home
cgmfs 100K 0 100K 0% /run/cgmanager/fs
A picture of my Paths configuration is in the last screenshot. When I was running this on my laptop, I found that I needed to enter the full path to the events, images, and sounds in order to get the correct disk usage %, and I've done the same thing on the new server.