Search found 59 matches
- Sun Apr 17, 2016 1:09 pm
- Forum: ZoneMinder Distributions
- Topic: ZM on FreeBSD
- Replies: 56
- Views: 54078
Re: ZM on FreeBSD
I inserted some debug code and looks like I found the function that crashes zms if(zm_sendfile(fileno(stdout), fileno(fdj), 0, (int)filestat.st_size) != (int)filestat.st_size) { No return from here. I inserted debug code there and got Signal 11 after the first Foo1 (was Signal 4 with original source...
- Sat Apr 09, 2016 6:49 pm
- Forum: ZoneMinder Distributions
- Topic: ZM on FreeBSD
- Replies: 56
- Views: 54078
Re: ZM on FreeBSD
This likely means you are missing at least one Perl module. As always, execute the script from the command line (as root) to get more information. Probably, I didn't looked into it yet. Replay is a mode in ZoneMinder which can be one of: Single Event, Gapless Events, or All Events. However, from th...
- Sat Apr 09, 2016 9:47 am
- Forum: ZoneMinder Distributions
- Topic: ZM on FreeBSD
- Replies: 56
- Views: 54078
Re: ZM on FreeBSD
One blocker left - Signal 4 on replay. I doubt this one as easy as fcgiwrap settings. As ZM was compiled, it simply can't contain illegal instructions ? So, this is a stack corruption ?
- Sat Apr 09, 2016 9:44 am
- Forum: ZoneMinder Distributions
- Topic: ZM on FreeBSD
- Replies: 56
- Views: 54078
Re: ZM on FreeBSD
I solved the mystery of 1 camera show! fcgiwrap spawns 1 children on default settings (the rc file mentions 4 workers - so I was confused until I looked into rc script deeply).
- Wed Apr 06, 2016 2:34 pm
- Forum: ZoneMinder Distributions
- Topic: ZM on FreeBSD
- Replies: 56
- Views: 54078
Re: ZM on FreeBSD
I am not necessarily opposed to changing the folders configured when setting ZM_TARGET_DISTRO. However, there needs to be a good, documented reason why. The folders currently assigned are all based off the Filesystem Hierarchy Standard and the FreeBSD handbook: https://en.wikipedia.org/wiki/Filesys...
- Wed Apr 06, 2016 2:18 pm
- Forum: ZoneMinder Distributions
- Topic: ZM on FreeBSD
- Replies: 56
- Views: 54078
Re: ZM on FreeBSD
OK, let me know if you want me to generate some debugging or log information for comparison. 1. Do you have analog/USB cameras ? I have no luck compiling support of them - cmake doesn't detect V4L. However, I didn't investigated the matter. 2. Can you check my port under nginx? You need to install ...
- Wed Apr 06, 2016 9:36 am
- Forum: ZoneMinder Distributions
- Topic: ZM on FreeBSD
- Replies: 56
- Views: 54078
Re: ZM on FreeBSD
I have almost working distrubution for FreeBSD, however 2 blockers on zms preventing port release.
https://github.com/abishai/Zoneminder-port
If you wish, you can test it and send feedback.
https://github.com/abishai/Zoneminder-port
If you wish, you can test it and send feedback.
- Mon Mar 21, 2016 9:52 pm
- Forum: ZoneMinder 1.29.x
- Topic: FreeBSD port
- Replies: 4
- Views: 1451
Re: FreeBSD port
Architecture independent shared data, belongs under /usr/share/{application}, but if we look at the exceptions below the table, we can see that FreeBSD makes an exception for its ports collection. So for the case of FreeBSD, the folder becomes /usr/local/share/{application} . True, however scripts,...
- Mon Mar 21, 2016 7:42 pm
- Forum: ZoneMinder 1.29.x
- Topic: FreeBSD port
- Replies: 4
- Views: 1451
Re: FreeBSD port
I see, but I'd prefer to override them. 1. ZM_WEBDIR should point to /usr/local/www/zoneminder 2. Are there any reasons to keep zms not in /usr/local/www/zoneminder/cgi-bin? 3. ZM_CONTENTDIR from my point of view should point to directory relative to ZM_WEBDIR, but if images and events MUST be in ZM...
- Mon Mar 21, 2016 5:51 pm
- Forum: ZoneMinder 1.29.x
- Topic: FreeBSD port
- Replies: 4
- Views: 1451
FreeBSD port
I'm making port for FreeBSD and looks like I don't understand idea of ZM_CONTENTDIR. From INSTALL - Location of dynamic content (events and images), default: /var/lib/zoneminder From ZM description it is mentioned that folder is relative to web root. From PHP files // Check for valid content dirs if...
- Thu Dec 03, 2015 6:52 am
- Forum: Mobile Apps
- Topic: zmNinja for desktops
- Replies: 93
- Views: 44884
Re: zmNinja for desktops
Anyone experiencing effect: for example, I writing frames with 5 fps on disk. If I try to playback sequence it plays 1 frame per 1 second (option on Dev page, 1 second minimal). So, my playback runs 5 times slower. It's very hard to analyze more or less long sequence. I think, this option should be ...
- Thu Dec 03, 2015 6:21 am
- Forum: ZoneMinder 1.28.x
- Topic: Zoneminder crash
- Replies: 0
- Views: 2087
Zoneminder crash
Hello. I'm experiencing crashes ~1 per day without any noticeable reasons. ZM v1.28.109 Logs seems to be the same (zmc instance differs) Dec 03 04:36:28 zoneminder.home zmc_m4[2783]: WAR [Packet in sequence, gap 849] Dec 03 04:36:28 zoneminder.home zmc_m4[2783]: WAR [Discarding frame 84916] Dec 03 0...
- Tue Nov 24, 2015 5:39 pm
- Forum: ZoneMinder 1.28.x
- Topic: ZM is writing faster than it's ability to clean
- Replies: 4
- Views: 1580
Re: ZM is writing faster than it's ability to clean
I switched to ext4.
Looks like it handles ZM load pattern much better.
You shouldn't do this on root volume.
Code: Select all
mkfs.ext4 -T small -m 1 /dev/vdb
tune2fs -O ^has_journal /dev/vdb
Code: Select all
dev/vdb /zoneminder ext4 defaults,noatime,nodiratime,commit=120 0 2
You shouldn't do this on root volume.
- Sun Nov 22, 2015 1:29 pm
- Forum: ZoneMinder 1.28.x
- Topic: ZM is writing faster than it's ability to clean
- Replies: 4
- Views: 1580
Re: ZM is writing faster than it's ability to clean
I made some tweaks, but today purgewhenfull purged all data again. :( I have 3Gb of memory, 1,4 grabbed by ZM, other is cached. Maybe ext2 is not so good to keep so many files? [abishai@zoneminder ~]$ sudo iotop -b |grep rm 22869 be/4 apache 0.00 B/s 0.00 B/s 0.00 % 0.00 % rm -rf 6/15/11/22/00/40/00...
- Fri Nov 20, 2015 5:19 pm
- Forum: ZoneMinder 1.28.x
- Topic: ZM is writing faster than it's ability to clean
- Replies: 4
- Views: 1580
ZM is writing faster than it's ability to clean
My 8 cameras in mocord mode are writing faster than automatic rm working. :shock: 1.Analysis FPS are 3 FPS 2. dev/vdb /zoneminder ext2 defaults,noatime,nodiratime,commit=120 0 2 3. Approximately 400G/day is written (rather huge amount of data, my disk on test system is 1Tb). 3. Server is operating u...