shitdamn....snapshotted a live system and fubar'd it...yay
the_k has quit
cool....reinstalled zm and back up and running
the_k joined the channel
all in all took me about 20 minutes to get it up and running like it was again
jack-james has quit
jackjames joined the channel
zapotah has quit
zapotah joined the channel
insecta has quit
insecta joined the channel
ren0v0_
xnxs, yes i have KVM setup but getting 100s of ERR llogs
all quite similar to the other container
mkfink joined the channel
xnxs
i have no idea whats going on...i just did a reinstall and absolutely no issues
e-anima joined the channel
ren0v0_
meh
mastertheknife
ren0v0_: Yes, like i said, the container is unable to clear the memory cache, only the host (kernel) can, and it does it when the memory runs too low. If you will watch free -m, you will see that your free memory gets to zero, and only then, it frees the cache
ren0v0_: I once read about a workaround for this, but never had the time to test it. The workaround is fairly simple. Instead of setting the soft&hard limit identical (or not setting the soft limit at all), set the soft limit to like 80%
Currently as far as i remember, Promoxmox sets them both the same, while LXD sets the soft limit to 90%
ren0v0_
mastertheknife, where are these limits set?
actually i was referring to my new KVM install that has all the errors :D
mastertheknife
ren0v0_: LXC uses cgroups for these limits
the shared memory error is weird, saeems like a bug
ren0v0_
not a UI option then ?
mastertheknife
the UI option sets them both to 100%
ren0v0_
SHM stops at 24%, regardless of how many montitors i start
currently I only have 3 recording and i'm getting this Got empty memory map file size 0, is the zmc process for this monitor running?
mastertheknife
and what do you see in the zmc log
ren0v0_
07/04/18 08:38:27.996690 zmc_m3[1744].WAR-zm_monitor.cpp/2390 [Return from Capture (-1), signal loss]
07/04/18 08:38:27.997706 zmc_m3[1744].ERR-zmc.cpp/309 [Failed to capture image from monitor 3 (1/1)]
i just did a new install on a kvm on proxmox and had zero issues with 10 monitors on it
ren0v0_
xnxs, must say i'm using 1.31.44 so completely different
but it seems this may be related to a specific monitor or two for me
this one specifically is WiFi
mastertheknife, does that sound about right, from what those logs show? Is there anyway i can force ZM to be more fault tolerant or something, rather than crashing everytime
xnxs
nope...i just installed 131.44 5oo
too
ren0v0_
the KVM was far far worse for me
10000s of errors there
so i've gone back to this LXC one
xnxs
i even went to ubuntu 18.04 this time too
ren0v0_
07/04/18 08:55:27.270040 zmc_m3[2470].INF-zm_ffmpeg_camera.cpp/707 [Unable to read packet from stream 0: error -541478725 "End of file".]
this is where its failing every time
imox joined the channel
xnxs
grab ffmpeg and dump the camera to a file on the cli to see if it shits itself?
mastertheknife, are you sure about this being LXC and not ZM regarding buffers? because when i stop ZM it frees up
imox joined the channel
with zoneminder stopped the cache still sits there, could this be mysql ?
imox has quit
imox joined the channel
imox has quit
void9
anybody here running zoneminder on nginx ? I need help with the config. I get a 404 when trying to access http://ip/zm
ren0v0_
void9, what version ?
void9
compiled from git master, nginx 1.14
zoneminder git, nginx 1.14*
ren0v0_
no zoneminder
void9
just fixed it with the help of a friend, i had two server blocks on the same port :D i thought it's allowed if they dont point to the same location
ren0v0_
mastertheknife, I've spoken with some proxmox guys for a long while, and whilst you're right that LXC may not be able to clear these caches, why the hell are they filling up so quickly? what exactly is using them? I've got 26GB of RAM on this container now, and after 30minutes there is only 1GB free, the rest in cache
I can force clear caches from host, but what is zoneminder doing?
Also, why is this even happening if SHM is only at 14% ??
void9
anyone try the git version? does the web interface render properly ?
looks pretty bad here, like no skin
ren0v0_
change CSS to "base" in options
void9, ^
void9
as a matter of fact I just did that, still looks the same
and the add button for new camera doesn't do anything :\
ren0v0_
screenshot
my guess is your apache config isn't right
which is why i asked what version of zoneminder you are talking about
There is no issue using nginx, you just need to know how to use it, and translate the required settings to nginx :)
ren0v0_ has quit
void9
Here is what the packaging scripts need to do:
- ZoneMinder uses a cache (busting) folder now. This folder path needs to be set at build time using -DCMAKE_CACHEDIR
- Packaging scripts need to ensure the new cache folder is owned by the web server account. The name of this account is different for every distro
- The apache config file that ships with the package has to be updated to incorporate the new features. A generic template can be found here: https://github.com/ZoneMinder/zoneminde ... he.conf.in
should I change this compile option ? -DZM_CONTENTDIR=/var/cache/zoneminder \
and what should I set -DCMAKE_CACHEDIR to ?
in another place I've seen: There is now a web cache folder. You need to specify its location during build with the cmake flag -DZM_CACHEDIR
confused :/
compdoc joined the channel
chandoo joined the channel
jochrist has quit
jochrist joined the channel
e-anima has quit
recompiled with that option.. removed cache, and layout is fixed :)
ok now, any tutorials for getting the streaming links from chinese ip cameras ?
compdoc
there are, but theyre in chinese
void9
the rtsp port is open but i can't get it to stream, in zoneminder or vlc