i only have to make sure i fstab mount the nfs vol and add the symlink
and ive got as much storage as i need (the nfs vol is actually a zpool to which i can add as many vdevs as i like)
keeps the VM img small
and paths in config standard
ren0v0
jzaw, not what i meant
i've created a LV on another drive and mounted that using vps.mount to my 10GB container
i was talking about the symlink over bind-mount suggestion
Question: Why can't I just symlink the newdrive to the events folder? Answer: Because it does not work in every case. Many rpm and deb packages need the file folders set up exactly the way they were when the first zoneminder package was installed. Changing that around can cause package upgrades to fail, or worse you could lose all your data!
this is in the FAQ, so i went with what knnniggett recommended
jzaw nods
jzaw
fair enough
ren0v0
though, its still an absolute dir in fstab, so i don't see the difference
seems its working, however i don't know how to tell if the data is residing in both folders
jzaw
but if zm sees a *dir* as /var/www/events
surely it doesnt matter if it's a symlink ?
ren0v0
jzaw, yea i have no idea, just what knnniggett said ^
jzaw
ok :)
knnniggett
By symlinking, what you are doing is changing the folder structure from what the package installed. What do you expect to happen after a package upgrade? Right, the package will put it back to the way it was. This has caused some user to lose all their events.
jzaw
interesting
knnniggett
This is by design for any package
jzaw
cos if that were to happen ... ie i get symlink overwirtten by a dir
then my orig data is still on the mount ?
knnniggett
The way around that is to mount your volume to the folder, rather than symlink
jzaw
ah k
i can do that /me nods
ren0v0
knnniggett, so with that setup, if i go to /var/cache/zoneminder, i'll be seeing the data from my mount ?
jzaw
what happens if folder youre mounting to isnt empty ?
knnniggett
same thing that always happens.... the original files are no longer accessible because the mount is covering them up. The steps in the Wiki I linked earlier show how to safely migrate your events so you don't lose them
ren0v0
knnniggett, can you confirm with the setup in the wiki that one would be seeing files in /var/cache/zoneminder ?
jzaw
right now symlink removed and stuff mounted to events and images
thanks knnniggett
knnniggett
If any of you are willing to beta test, apparently you can put an absolute path for the events folder under options. However, we need to test this to makes sure there are no issues across multiple distros and upgrades
That way we don't have to worry about bind mounts or symlinks
jzaw nods
jzaw
ill have to make some time and spin up another VM and try the movie storage build too
knnniggett
ren0v0: the folder is different across different distros. So the answer to your question is "maybe".
ren0v0
knnniggett, i'll rephrase, the folder IS /var/cache/zoneminder, i've followed the FAQ and bind-mounted this to my mount, new events are appearing in /var/cache/zoneminder, is this correct?
asker_
Would it be useful to have a mode where ZM allows for live view of a monitor but does not keep pre-capturing? pre-capturing takes up precious memory for lower end systems and prohibits us from adding multiple monitors that don't need any sort of recording but just viewing
Ah wait, what if I use monitor mode and set buffer to 1 ? will that help?
aquarat has quit
knnniggett
asker_: correct. Just adjust your buffers
aquarat joined the channel
asker_
so the min. buffer I am allowed is 10
knnniggett
I don't know. Did the system tell you that?
asker_
yup
it spoke with a popup
knnniggett
It said "Sorry asker, I just can't do that"
asker_
yeah, looks like I submitted a patch to integrate Siri into it and you merged it :-D
knnniggett
Oh, I was quoting HAL from Space Odessy
So which buffer where you trying to change?
s/where/were
asker_
reducing too much causes too many RTSP errors
knnniggett
slow down your framerate?
asker_
buffers tab
knnniggett
*Which* buffer on the buffers tab?
asker_
all of them. current setting:
image buffer size = 10 (min), warmup = 5 pre = 5, post = 5, stream = 5
reduce frame rate: good idea, but the camera lets me go down to 5 not less
should I make it 1 in ZM
[ WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]]
knnniggett
Yeah, I wouldn't go any lower than 5 fps
asker_
so looks like 10 is too less
that sucks - 10 = 10 images
knnniggett
Can you set your pre to just 1?
asker_
ok
knnniggett
don't know what that will do
other than reduce the amount of pre-roll
asker_
darn that killed it. camerapc zmwatch[5312]: ERR [Unable to run "/usr/local/bin/zmdc.pl restart zmc -m 3", output is "Unable to connect to server"]
lets see if it recovers
works, but keeps throwing RTSP warnings
Sep 28 10:16:35 camerapc zmc_m3[6788]: WAR [Unexpected format RTSP interleaved data, resyncing by 1064 bytes]
Sep 28 10:17:01 camerapc zmc_m3[6788]: WAR [Unexpected format RTSP interleaved data, resyncing by 33 bytes]
I don't think the current code is geared to work with minimal buffers
quyen1 joined the channel
NoFinessin joined the channel
ic0n
It's really not. I think it needs to change because keeping that many decoded frames is taking up a huge amount of memory on HD cameras.
asker_
yup, so it seems
quyen1 has quit
also knnniggett : do the RTSP WAR [Unexpected format RTSP interleaved data, resyncing by 1210 bytes] need to be warnings? They seem to be temporary frame issues and don't affect the overall feed. Should they be demoted to Debug instead of DB logging it at warning level?
(because it dumps a large sequence of bytes after that)
knnniggett
don't know
asker_
maybe the dump bytes should be Debug
ic0n
It's the whole shared memory bit that makes it complex. Which is why I want zmc to just write the stream and then have zma load it back from disk and get rid of the shared memory thing...
asker_
but still keep SHM on for events as the perl processes use them?
ic0n
shm would still be used to for general info sharing. Just not buffers. Then make buffers dynamic.
asker_
looking at the code - I wonder if to validate the concept, I can modify Monitor::connect and Monitor::getImage to load from a real file instead of the mmaped file
and I get asked why my branch names are verbose...
ic0n
knnniggett: are you still tracking the problem with current master and mjpeg cameras? I'm using some of those and I don't think I have any problems...
yeah my airlink cam is working good
knnnniggett: My airlink cameras get into a state where they won't send an image. Their UI still works and they start working fine after a reboot. So I just have a script reboot them every night.
in the event list... listing the id# seems a bit redundant. Given that it is in the name and if needed could be seen in the url when you hover over the link
zune has quit
asker_
augh
fixxxermet: can you find a few minutes to look at how the api event delete has been implemented? If I use the API to delete an event, it says success but then it looks like it's not removing both the event and frame DB entries and any subsequent API queries on events returns a failure with "cannot find frame for event XXXX"
I had to clear all my events to get back to sane state
zune joined the channel
calling zmaudit manually did not help either - API was still in funky state
asker_ has quit
knnniggett
ic0n: Yes, still having problems with my airlink. It's a demo camera and has been recently powered on. If I "yum downgrade" back to 1.28.1 the camera starts working again. Still trying to figure out the cause, but I really haven't had time yet to spend on it.
ic0n
which model?
knnniggett
SkyIPCam1777W
I'm getting "can't bind", but that is a red herring... the frontend does create the socket, but it loops and tries to create the socket a second time
There was a PR that reduced the wait time to 2/10's of a second. Putting that back to 1 second was the first thing I tried, but that did not fix the issue
achan joined the channel
ic0n
Looks just like my 777, but with usb....
you have tried rebooting right? We havn't done much to capture....
Actually that's a dumb suggestion
knnniggett
Yes, and I get the same results in CentOS 6, CentOS 7, and Fedora 22
The lack of a helpful error message is making this tough to figure out
Oh, and guess what? When I turn on debug.... the camera starts working?!?!?!
ic0n
hmm.. I can't seem to find that other half of my 777.... just have the main circuit board... also need a 5v power adapter.
knnniggett
Mine has a hole in it where I let the soldering iron touch it. :-) Didn't hit the electronics fortunately
aquarat has quit
aquarat joined the channel
ren0v0 has quit
ren0v0 joined the channel
asker joined the channel
Slackology has quit
lwiscovitch has quit
Slackology joined the channel
lwiscovitch joined the channel
lwiscovitch has quit
mavensk joined the channel
asker
ah
fixed that event delete API problem. PR submitted. knnniggett ic0n when is your next package coming out? The next release of the app will cause pain if people don't apply the merged patches
ic0n
I can do one today.
asker
aha
lovely
thanks
ic0n
This is a new one: max blob count reached. Unable to allocate new blobs so terminating. Zone settings may be too sensitive.