I have this annoying problem when I try to use the zmfilter to email me captured events as mpeg files.
Basically after the event video is just about to be emailed, the system drops all network connections and is no longer accessible via network.
The zmfilter.pl is using ZM_NEW_MAIL_MODULES and I have downloaded the latest versions of both MIME::Lite and Net::SMTP modules.
After turning logging on and just before the networkd dies I can see these entries in the log:
04/28/2009 13:19:14.273902 zmfilter[4509].INF [Attaching '/var/www/html/zm/events/4/84143/109-capture.jpg]
04/28/2009 13:19:14.275207 zmfilter[4509].INF [Attaching '/var/www/html/zm/events/4/84143/Event-84143-r1-s1.mpg]
By the way, restarting the network does not seem to help so I think it may be either the NIC driver or some other service that gets corrupted somehow.
Anyway I also noticed this kernel message on the console: "image_upload used greatest stack depth: 2008 bytes left".
I don't know how this is related but it prompted me to do some investigation and eventually I came across this parameter in the php.ini file - upload_max_filesize.
Mine was originally set to 2M and seeing that most of my mpeg files were about 10M I changed this to 30M.
After restarting the httpd daemon my problem went away.
I am not sure if this is the final solution but perhaps someone else might be able to shed some light on this or maybe this fix could help someone else.
Emailing event video kills network connectivity
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: