Dear friends,
I got a zoneminder 1.23.1 running and working good. The only problem is it will periodically fill my memory and swap when it's working. And make my system periodically busy and doesn't respond to any operation. Is that a common problem or just happens to my 2 working computers?
Thank you for any clue.
Best Regards,
Fei
zoneminder will periodically fill up my memory and swap
Here is a system I just set up with 4 cams @ 30fps on a capture card, 3 recording and two of those with analysis. This is a minimalistic install just for ZM so the entire OS base is around 800 to 900 MB and nothing extra what so ever running.
This is with default settings for the most part so as you can see memory is tight without anything else running. Most all distros have cron jobs setup for various things like mlocate for example will run once a day and is setup in cron.daily, and it updates it's database file with all the files on your system and their location which can suck the life out of sparse resources.
Code: Select all
[root@localhost ~]# cat /proc/meminfo
MemTotal: 1035276 kB
MemFree: 16004 kB
Buffers: 1644 kB
Cached: 695352 kB
SwapCached: 0 kB
Active: 257736 kB
Inactive: 623296 kB
HighTotal: 131008 kB
HighFree: 260 kB
LowTotal: 904268 kB
LowFree: 15744 kB
SwapTotal: 3068352 kB
SwapFree: 3068212 kB
Dirty: 66020 kB
Writeback: 0 kB
AnonPages: 184080 kB
Mapped: 121512 kB
Slab: 60092 kB
PageTables: 3020 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 3585988 kB
Committed_AS: 1498980 kB
VmallocTotal: 114680 kB
VmallocUsed: 5428 kB
VmallocChunk: 108996 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 4096 kB
thank you cordel. thanks for your quick reply. Now I got the idea that the periodical memory overflow is because I'm using a "unstable" version of zoneminder. Because I have to use logitech orbit (UVC driver), so I'm trying the version "slbpatrol" developed. (http://mysite.verizon.net/brownslb/zoneminder/). It added the UVC support to zoneminder, and get my webcam to work! However, when the UVC webcam running, the memory usage start to raise, bit by bit, but finally to 100%. after 20 sec's dead, the memory use will fall down to normal, and repeat the procedure.
btw, the UVC version by the guy "slbpatrol" is really worth to try! Thank you slbpatrol.
btw, the UVC version by the guy "slbpatrol" is really worth to try! Thank you slbpatrol.
Actually, Phil has been working on V4L2 support and we will see it in the next few months.
I understand that it is about 90% done which if I understand Phil's way of thinking it is likely working and he is polishing up the code and working out the small details.
Phil is very meticulous in his coding so when he releases it, it will be very much usable.
I understand that it is about 90% done which if I understand Phil's way of thinking it is likely working and he is polishing up the code and working out the small details.
Phil is very meticulous in his coding so when he releases it, it will be very much usable.