Motion - Support Question 2011x 10x 06x 163706

motion: Thread 3 - Watchdog timeout, did NOT restart graceful,killing it!

Question

My Motion runs for a while, generally around an hour then stops.

The cameras are analog connected to an easycap device.

I've just upgraded to 3.2.12

Any pointers please?
Oct  6 17:13:41 GeneralServer motion: [0] Motion 3.2.12 Started
Oct  6 17:13:41 GeneralServer motion: [0] Created process id file /var/run/motion.pid. Process ID is 3778
Oct  6 17:13:41 GeneralServer motion: [0] Motion running as daemon process
Oct  6 17:13:41 GeneralServer motion: [0] ffmpeg LIBAVCODEC_BUILD 3426306 LIBAVFORMAT_BUILD 3424258
Oct  6 17:13:41 GeneralServer motion: [0] Thread 1 is from /etc/motion/thread1.conf
Oct  6 17:13:41 GeneralServer motion: [0] Thread 2 is from /etc/motion/thread2.conf
Oct  6 17:13:41 GeneralServer motion: [0] Thread 3 is from /etc/motion/thread3.conf
Oct  6 17:13:41 GeneralServer motion: [0] Thread 4 is from /etc/motion/thread4.conf
Oct  6 17:13:41 GeneralServer motion: [0] motion-httpd/3.2.12 running, accepting connections
Oct  6 17:13:41 GeneralServer motion: [0] motion-httpd: waiting for data on port TCP 8080
Oct  6 17:13:41 GeneralServer motion: [4] Thread 4 started
Oct  6 17:13:41 GeneralServer motion: [3] Thread 3 started
Oct  6 17:13:41 GeneralServer motion: [2] Thread 2 started
Oct  6 17:13:41 GeneralServer motion: [1] Thread 1 started
Oct  6 17:13:42 GeneralServer motion: [4] Resizing pre_capture buffer to 1 items
Oct  6 17:13:42 GeneralServer motion: [4] Started stream webcam server in port 8084
Oct  6 17:13:43 GeneralServer motion: [3] cap.driver: "easycap"
Oct  6 17:13:43 GeneralServer motion: [3] cap.card: "EasyCAP DC60"
Oct  6 17:13:43 GeneralServer motion: [3] cap.bus_info: "usb-0000:02:04.0-1"
Oct  6 17:13:43 GeneralServer motion: [3] cap.capabilities=0x05020001
Oct  6 17:13:43 GeneralServer motion: [3] - VIDEO_CAPTURE
Oct  6 17:13:43 GeneralServer motion: [3] - AUDIO
Oct  6 17:13:43 GeneralServer motion: [3] - READWRITE
Oct  6 17:13:43 GeneralServer motion: [3] - STREAMING
Oct  6 17:13:43 GeneralServer motion: [3] Test palette YUYV (320x240)
Oct  6 17:13:43 GeneralServer motion: [3] Using palette YUYV (320x240) bytesperlines 1280 sizeimage 307200 colorspace 00000006
Oct  6 17:13:43 GeneralServer motion: [3] found control 0x00980900, "Brightness", range 0,255 
Oct  6 17:13:43 GeneralServer motion: [3] #011"Brightness", default 127, current 127
Oct  6 17:13:43 GeneralServer motion: [3] found control 0x00980901, "Contrast", range 0,255 
Oct  6 17:13:43 GeneralServer motion: [3] #011"Contrast", default 191, current 191
Oct  6 17:13:43 GeneralServer motion: [3] found control 0x00980902, "Saturation", range 0,255 
Oct  6 17:13:43 GeneralServer motion: [3] #011"Saturation", default 175, current 175
Oct  6 17:13:43 GeneralServer motion: [3] found control 0x00980903, "Hue", range 0,255 
Oct  6 17:13:43 GeneralServer motion: [3] #011"Hue", default 128, current 128
Oct  6 17:13:43 GeneralServer motion: [3] mmap information:
Oct  6 17:13:43 GeneralServer motion: [3] frames=4
Oct  6 17:13:43 GeneralServer motion: [3] 0 length=1658880
Oct  6 17:13:43 GeneralServer motion: [3] 1 length=1658880
Oct  6 17:13:43 GeneralServer motion: [3] 2 length=1658880
Oct  6 17:13:43 GeneralServer motion: [3] 3 length=1658880
Oct  6 17:13:43 GeneralServer motion: [3] Resizing pre_capture buffer to 1 items
Oct  6 17:13:43 GeneralServer motion: [2] Resizing pre_capture buffer to 1 items
Oct  6 17:13:43 GeneralServer motion: [1] Resizing pre_capture buffer to 1 items
Oct  6 17:13:47 GeneralServer motion: [3] Started stream webcam server in port 8083
Oct  6 17:13:48 GeneralServer motion: [2] Started stream webcam server in port 8082
Oct  6 17:13:55 GeneralServer motion: [1] Started stream webcam server in port 8081
Oct  6 17:19:58 GeneralServer motion: [0] Thread 3 - Watchdog timeout, trying to do a graceful restart
Oct  6 17:19:59 GeneralServer motion: [0] Thread 1 - Watchdog timeout, trying to do a graceful restart
Oct  6 17:19:59 GeneralServer motion: [0] Thread 2 - Watchdog timeout, trying to do a graceful restart
Oct  6 17:20:58 GeneralServer motion: [0] Thread 3 - Watchdog timeout, did NOT restart graceful,killing it!
Oct  6 17:20:58 GeneralServer motion: [0] Calling vid_close() from motion_cleanup
Oct  6 17:20:58 GeneralServer motion: [0] Still 2 users of video device /dev/video0, so we don't close it now
Oct  6 17:20:59 GeneralServer motion: [0] Thread 1 - Watchdog timeout, did NOT restart graceful,killing it!
Oct  6 17:20:59 GeneralServer motion: [0] Calling vid_close() from motion_cleanup
Oct  6 17:20:59 GeneralServer motion: [0] Still 1 users of video device /dev/video0, so we don't close it now
Oct  6 17:20:59 GeneralServer motion: [0] Thread 2 - Watchdog timeout, did NOT restart graceful,killing it!
Oct  6 17:20:59 GeneralServer motion: [0] Calling vid_close() from motion_cleanup
Oct  6 17:20:59 GeneralServer motion: [0] Closing video device /dev/video0

Environment

Motion version: 3.2.12
ffmpeg version: FFmpeg version 0.6.2-4:0.6.2-1ubuntu1.1, Copyright (c) 2000-2010 the Libav developers built on Sep 16 2011 17:00:39 with gcc 4.5.2
Libraries: ffmpeg, mysql, postgresql
Server OS: Linux GeneralServer 2.6.38-8-server #42-Ubuntu SMP Mon Apr 11 03:49:04 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
-- AndyHarris - 06 Oct 2011

Answer

This can be related to V4L driver of your Easycap.

What Easycap device are you using?

Which driver and kernel?

-- TosiaraT - 12 Apr 2015

SupportForm edit

TopicTitle motion: Thread 3 - Watchdog timeout, did NOT restart graceful,killing it!
SupportStatus AssignedQuestions
AssignedQuestionTo TosiaraT
SubmittedBy AndyHarris
Topic revision: r3 - 12 Apr 2015, TosiaraT
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.