Send Motion-user mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Stopping motion causes 100% cpu usage (Rob Brown-Bayliss)
2. Re: Stopping motion causes 100% cpu usage (Joel Avery)
3. Re: Stopping motion causes 100% cpu usage (Rob Brown-Bayliss)
----------------------------------------------------------------------
Message: 1
Date: Thu, 4 Feb 2016 19:31:10 +1300
From: Rob Brown-Bayliss <[email protected]>
Subject: [Motion-user] Stopping motion causes 100% cpu usage
To: [email protected]
Message-ID:
<cao07ljug00xetxglgqpxhljhjzaso5ndcgt4tta+ltufzgm...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I have setup the motion video detection system on Ubuntu 14.04 and want to
start and stop it via cron so that it's not capturing pictures when the
room is normally in use. It all works fine until I stop the daemon at which
point a kworker thread and a ksoftirqd thread start hammering the cpu, with
the kworker at about 73% and the ksoftirqd at about 27% cpu usage.
These remain at this level until I start the daemon again.
This is the syslog output when the daemon stops.
Feb 4 18:29:50 cavern motion: [1] Calling vid_close() from motion_cleanup
Feb 4 18:29:50 cavern motion: [1] Closing video device /dev/video0 Feb 4
18:29:51 cavern motion: [0] Motion terminating Feb 4 18:29:51 cavern
motion: [0] Removed process id file (pid file).
I am not sure what other information I should provide to help solve this
problem? I have tried 2 different logitec web cams.
How do I stop the motion daemon with out having it melt the cpu?
--
--
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Thu, 4 Feb 2016 13:09:06 +0000 (UTC)
From: Joel Avery <[email protected]>
Subject: Re: [Motion-user] Stopping motion causes 100% cpu usage
To: Motion discussion list <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="utf-8"
How are you stopping it? The next question is why?
Why not just not capture things via the built in function which does that? Just
as easy to trigger from cron.?
On Thursday, February 4, 2016 1:31 AM, Rob Brown-Bayliss
<[email protected]> wrote:
I have setup the motion video detection system on Ubuntu 14.04 and want to
start and stop it via cron so that it's not capturing pictures when the room is
normally in use. It all works fine until I stop the daemon at which point a
kworker thread and a ksoftirqd thread start hammering the cpu, with the kworker
at about 73% and the ksoftirqd at about 27% cpu usage.These remain at this
level until I start the daemon again.This is the syslog output when the daemon
stops.Feb 4 18:29:50 cavern motion: [1] Calling vid_close() from motion_cleanup
Feb 4 18:29:50 cavern motion: [1] Closing video device /dev/video0 Feb 4
18:29:51 cavern motion: [0] Motion terminating Feb 4 18:29:51 cavern motion:
[0] Removed process id file (pid file).I am not sure what other information I
should provide to help solve this problem?? I have tried 2 different logitec
web cams.How do I stop the motion daemon with out having it melt the cpu?
--
--
Rob
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Fri, 5 Feb 2016 06:29:35 +1300
From: Rob Brown-Bayliss <[email protected]>
Subject: Re: [Motion-user] Stopping motion causes 100% cpu usage
To: Motion discussion list <[email protected]>
Message-ID:
<cao07ljsjgxuk+sfjt779esazwaxpebjbre6vyo2yuugeusv...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I am stopping it when the building is in normal use as I only want to take
photos of thieves breaking in. Not me and my family walking around the
house. I have installed motion in response to a burglary.
I am stopping it via a init.d script, manually for now but I when it is
sorted it will be via cron. The relevant command is start-stop-daemon --stop
--oknodo --exec $DAEMON --retry 30
What is this built in function you mention? I assumed starting and
stopping the daemon was the correct way to do this? Do you mean the motion
detection? Because that is what it is doing now, but I don't want to fill
my dropbox account with pointless images of me dusting the tv :-)
On 5 February 2016 at 02:09, Joel Avery <[email protected]> wrote:
> How are you stopping it? The next question is why?
>
> Why not just not capture things via the built in function which does that?
> Just as easy to trigger from cron.
>
>
>
>
>
>
> On Thursday, February 4, 2016 1:31 AM, Rob Brown-Bayliss <
> [email protected]> wrote:
>
>
>
>
>
>
> I have setup the motion video detection system on Ubuntu 14.04 and want to
> start and stop it via cron so that it's not capturing pictures when the
> room is normally in use. It all works fine until I stop the daemon at which
> point a kworker thread and a ksoftirqd thread start hammering the cpu, with
> the kworker at about 73% and the ksoftirqd at about 27% cpu usage.
> These remain at this level until I start the daemon again.
> This is the syslog output when the daemon stops.
> Feb 4 18:29:50 cavern motion: [1] Calling vid_close() from motion_cleanup
> Feb 4 18:29:50 cavern motion: [1] Closing video device /dev/video0 Feb 4
> 18:29:51 cavern motion: [0] Motion terminating Feb 4 18:29:51 cavern
> motion: [0] Removed process id file (pid file).
> I am not sure what other information I should provide to help solve this
> problem? I have tried 2 different logitec web cams.
> How do I stop the motion daemon with out having it melt the cpu?
>
> --
> --
>
> Rob
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
--
--
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
------------------------------
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
End of Motion-user Digest, Vol 117, Issue 2
*******************************************