Linked monitors sometimes work

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
tortho
Posts: 11
Joined: Tue May 25, 2021 8:56 pm
Location: Sandefjord, Norway

Linked monitors sometimes work

Post by tortho »

Good day,

Zoneminder 1.36.5 on Debian 11.

Camera Foscam 9901EP
M1 HiRes camera stream 1080p
Linked to M11
Nodect - Analysis enabled
Save JPEG disable, Video Writer camera passthrough

M11 LoRes camerastream 640x480
Modect - Analysis enabled
Save JPEG Frames + analysis , Video Writer camera passthrough

1. Does the above seems to be correct settings for lowest CPU usage? (Have 8 monitors and plan to add a few more)
2. Monitor M11 saves all motion and appears to be OK. M1 however saves only some instances. can only see errors below and cannot figure out what they are..

Jun 30 09:49:44 ormarstad zmc_m1[180079]: ERR [zmc_m1] [Bogus number of lines return from query, 0 returned for query SELECT Id FROM States WHERE IsActive=1.]
Jun 30 09:49:53 ormarstad zmc_m1[180079]: ERR [zmc_m1] [Error writing trailer Error number 300 occurred]
Jun 30 09:49:53 ormarstad zmc_m11[179568]: ERR [zmc_m11] [Error writing trailer Error number 338 occurred]
Jun 30 09:49:55 ormarstad zmc_m11[179568]: ERR [zmc_m11] [Bogus number of lines return from query, 0 returned for query SELECT Id FROM States WHERE IsActive=1.]
Jun 30 09:49:56 ormarstad zmc_m1[180079]: ERR [zmc_m1] [Bogus number of lines return from query, 0 returned for query SELECT Id FROM States WHERE IsActive=1.]
Jun 30 09:50:00 ormarstad zmc_m9[179564]: ERR [zmc_m9] [Bogus number of lines return from query, 0 returned for query SELECT Id FROM States WHERE IsActive=1.]
Jun 30 09:50:00 ormarstad zmc_m8[179556]: ERR [zmc_m8] [Bogus number of lines return from query, 0 returned for query SELECT Id FROM States WHERE IsActive=1.]
Jun 30 09:50:00 ormarstad zmc_m8[179556]: ERR [zmc_m8] [Error writing trailer Error number 11928 occurred]
Jun 30 09:50:00 ormarstad zmc_m5[179548]: ERR [zmc_m5] [Bogus number of lines return from query, 0 returned for query SELECT Id FROM States WHERE IsActive=1.]
Jun 30 09:50:00 ormarstad zmc_m4[179544]: ERR [zmc_m4] [Bogus number of lines return from query, 0 returned for query SELECT Id FROM States WHERE IsActive=1.]
Jun 30 09:50:00 ormarstad zmc_m2[179536]: ERR [zmc_m2] [Bogus number of lines return from query, 0 returned for query SELECT Id FROM States WHERE IsActive=1.]
Jun 30 09:50:00 ormarstad zmc_m2[179536]: ERR [zmc_m2] [Error writing trailer Error number 11890 occurred]
Jun 30 09:50:04 ormarstad zmc_m11[179568]: ERR [zmc_m11] [Error writing trailer Error number 376 occurred]
Jun 30 09:50:04 ormarstad zmc_m1[180079]: ERR [zmc_m1] [Error writing trailer Error number 262 occurred]
Jun 30 09:50:19 ormarstad zmc_m11[179568]: ERR [zmc_m11] [Bogus number of lines return from query, 0 returned for query SELECT Id FROM States WHERE IsActive=1.]
Jun 30 09:50:20 ormarstad zmc_m1[180079]: ERR [zmc_m1] [Bogus number of lines return from query, 0 returned for query SELECT Id FROM States WHERE IsActive=1.]
Jun 30 09:50:28 ormarstad zmc_m11[179568]: ERR [zmc_m11] [Error writing trailer Error number 376 occurred]
Jun 30 09:50:29 ormarstad zmc_m1[180079]: ERR [zmc_m1] [Error writing trailer Error number 262 occurred]
Jun 30 10:11:34 ormarstad mariadbd[1117]: 2021-06-30 10:11:34 56018 [Warning] Aborted connection 56018 to db: 'zm' user: 'zmuser' host: 'localhost' (Got an error reading communication packets)
Jun 30 10:13:36 ormarstad mariadbd[1117]: 2021-06-30 10:13:36 56050 [Warning] Aborted connection 56050 to db: 'zm' user: 'zmuser' host: 'localhost' (Got an error reading communication packets)
tortho
Posts: 11
Joined: Tue May 25, 2021 8:56 pm
Location: Sandefjord, Norway

Re: Linked monitors sometimes work

Post by tortho »

I do get a huge amount of these Error writing trailer Error number xxx occured.
The xxx is several different numbers

It relates to zm:videostore line 642 all of them

I get these on the linked monitor setups only
Another Monitor in modect do not create errors

Any help on tracking down this issue?
Post Reply