Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Motion crashing regularly (Ian Smith)
   2. Re: Motion crashing regularly (tosiara)


----------------------------------------------------------------------

Message: 1
Date: Mon, 23 Oct 2023 10:42:21 +0100
From: Ian Smith <ian.smit...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: [Motion-user] Motion crashing regularly
Message-ID: <fd800ac3-da72-41dc-b28b-287daaf66...@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"



Once more, I suspect the issue I am facing is by my doing something 
wrong, but any assistance would be appreciated.

I run Motion on Ubuntu 20.04, with multiple cameras, of which one is a 
USB camera (which may not be relevant).

I run logging - at level 9 (all).

On a regular basis, the software crashes. Ideally, I would like to 
understand why, and eliminate the problem - if that isn't possible, I 
would like it to automatically restart on crashing, but I don't know how 
to do that, so any help would be appreciated.

The log provides the following as an example - in the seconds leading up 
to the crash:-

    [0:motion] [ERR] [ALL] [Oct 23 10:13:39] motion_watchdog: Thread 7 -
    Watchdog timeout. Trying to do a graceful restart
    [0:motion] [ERR] [ALL] [Oct 23 10:13:49] motion_watchdog: Thread 7 -
    Watchdog timeout did NOT restart, killing it!
    [5:ml5:CAMLOC] [NTC] [ALL] [Oct 23 10:13:49] mlp_actions: End of
    event 18
    [5:ml5:CAMLOC] [INF] [EVT] [Oct 23 10:13:50] event_new_video: Source
    FPS 15
    [5:ml5:CAMLOC] [INF] [ENC] [Oct 23 10:13:50] ffmpeg_set_quality:
    libx264 codec vbr/crf/bit_rate: 28
    [5:ml5:CAMLOC] [NTC] [EVT] [Oct 23 10:13:50] event_newfile: File of
    type 8 saved to: [VIDEO].mkv
    [5:ml5:CAMLOC] [NTC] [ALL] [Oct 23 10:13:50] motion_detected: Motion
    detected - starting event 19
    [5:ml5:CAMLOC] [NTC] [ALL] [Oct 23 10:13:54] mlp_actions: End of
    event 19



Any guidance would be most appreciated.

Many thanks,
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Mon, 23 Oct 2023 14:57:43 +0300
From: tosiara <tosi...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Motion crashing regularly
Message-ID:
        <CACHTdwR8t7FxoNus7Q=vyFmf8V=jag+3hbxyiuu2v58-kma...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Also check syslog and dmesg - there may be hardware related errors

On Mon, Oct 23, 2023 at 12:44?PM Ian Smith <ian.smit...@gmail.com> wrote:
>
>
>
> Once more, I suspect the issue I am facing is by my doing something wrong, 
> but any assistance would be appreciated.
>
> I run Motion on Ubuntu 20.04, with multiple cameras, of which one is a USB 
> camera (which may not be relevant).
>
> I run logging - at level 9 (all).
>
> On a regular basis, the software crashes. Ideally, I would like to understand 
> why, and eliminate the problem - if that isn't possible, I would like it to 
> automatically restart on crashing, but I don't know how to do that, so any 
> help would be appreciated.
>
> The log provides the following as an example - in the seconds leading up to 
> the crash:-
>
> [0:motion] [ERR] [ALL] [Oct 23 10:13:39] motion_watchdog: Thread 7 - Watchdog 
> timeout. Trying to do a graceful restart
> [0:motion] [ERR] [ALL] [Oct 23 10:13:49] motion_watchdog: Thread 7 - Watchdog 
> timeout did NOT restart, killing it!
> [5:ml5:CAMLOC] [NTC] [ALL] [Oct 23 10:13:49] mlp_actions: End of event 18
> [5:ml5:CAMLOC] [INF] [EVT] [Oct 23 10:13:50] event_new_video: Source FPS 15
> [5:ml5:CAMLOC] [INF] [ENC] [Oct 23 10:13:50] ffmpeg_set_quality: libx264 
> codec vbr/crf/bit_rate: 28
> [5:ml5:CAMLOC] [NTC] [EVT] [Oct 23 10:13:50] event_newfile: File of type 8 
> saved to: [VIDEO].mkv
> [5:ml5:CAMLOC] [NTC] [ALL] [Oct 23 10:13:50] motion_detected: Motion detected 
> - starting event 19
> [5:ml5:CAMLOC] [NTC] [ALL] [Oct 23 10:13:54] mlp_actions: End of event 19
>
>
>
> Any guidance would be most appreciated.
>
> Many thanks,
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user



------------------------------



------------------------------

Subject: Digest Footer

_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


------------------------------

End of Motion-user Digest, Vol 206, Issue 1
*******************************************

Reply via email to