Motion Crashes. No logs...
Question
Using
FreeBSD 8.4 + Motion. 5 cameras. Also using PHP-proxy with readfile() function to hide Motion stream at localhost.
During some hours Motion crashes and i have no logs to view a reason of crash. Daemon just disappears. /var/log/messages have no info about crash.
Dual-Core Processor at 2,1GHz, 2Gb RAM (it free)...
Below is TOP output and typical config form cam...
Thank you a lot...
last pid: 10130; load averages: 0.83, 1.10, 1.16 up 0+16:28:16 00:35:21
43 processes: 1 running, 42 sleeping
CPU: 42.5% user, 0.0% nice, 1.0% system, 1.2% interrupt, 55.3% idle
Mem: 142M Active, 1580M Inact, 142M Wired, 65M Cache, 112M Buf, 36M Free
Swap: 3072M Total, 128K Used, 3072M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
8191 root 10 44 0 95236K 42872K select 1 188:21 88.92% motion
1147 root 1 44 0 3580K 1892K select 1 15:49 0.00% natd
1451 mysql 10 44 0 51008K 22236K sigwai 1 0:54 0.00% mysqld
1273 bind 5 44 0 36012K 26256K kqread 0 0:23 0.00% named
1475 root 1 44 0 22132K 10928K select 0 0:01 0.00% httpd
1188 root 1 44 0 3368K 1116K select 0 0:01 0.00% syslogd
1488 root 1 44 0 6116K 2652K select 1 0:01 0.00% sendmail
8148 www 1 44 0 24180K 12292K accept 1 0:01 0.00% httpd
1391 dhcpd 1 44 0 7764K 3808K select 1 0:01 0.00% dhcpd
8160 Kesano 1 44 0 9568K 3324K select 1 0:00 0.00% sshd
8295 www 1 44 0 23156K 12252K accept 0 0:00 0.00% httpd
9322 www 1 44 0 23156K 12172K accept 0 0:00 0.00% httpd
1495 root 1 44 0 3396K 1156K nanslp 0 0:00 0.00% cron
9407 www 1 44 0 23156K 12104K accept 0 0:00 0.00% httpd
10043 www 1 44 0 23156K 12056K accept 0 0:00 0.00% httpd
8167 root 1 44 0 26956K 4344K select 0 0:00 0.00% mc
====================
#Config
#thread7.conf 622/622 100%
netcam_url http://192.168.1.247:81/video.cgi?showlength=1
netcam_userpass admin:admin
text_left VIDEO7
target_dir /backup/webcams/cam7
movie_filename %Y-%m-%d_%H.%M.%S
max_mpeg_time 3600
webcam_port 8087
webcam_maxrate 10
output_all off
output_motion off
output_normal off
ffmpeg_cap_new on
ffmpeg_cap_motion off
ffmpeg_timelapse 0
ffmpeg_timelapse_mode daily
ffmpeg_bps 300000
ffmpeg_variable_bitrate 0
ffmpeg_video_codec mpeg4
ffmpeg_deinterlace off
snapshot_interval 0
gap 5
threshold 10
width 640
height 480
framerate 10
quality 100
auto_brightness on
noise_level 32
brightness 0
contrast 0
saturation 0
hue 0
ffmpeg version 0.7.15, Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 19 2013 16:29:15 with gcc 4.2.1 20070831 patched [FreeBSD]
Environment
Motion version: |
3.2.12 |
ffmpeg version: |
0.7.15 |
Libraries: |
ffmpeg, mysql, postgresql |
Server OS: |
FreeBSD 8.4-RELEASE |
--
KesanoKX - 12 Aug 2013
Answer