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. Re: syntax help starting more than one instance of motion (rmbusy) 2. Re: syntax help starting more than one instance of motion (Richard Bown) ---------------------------------------------------------------------- Message: 1 Date: Mon, 9 Jan 2023 11:53:09 -0800 From: rmbusy <rmbusy+mot...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] syntax help starting more than one instance of motion Message-ID: <443eddab-fe60-6f1c-af88-b78890aa6...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" Hi Richard, ? I've seen the same issue, where 8 or more cams running under Motion pretty much consumes a quad core machine.? I've noticed the CPU usage has gone up with versions newer than 4.0 too, with the same exact camera setup.? What is your HW platform (CPU type and speed)?? I recently purchased a new laptop to use as my motion machine, trying to throw more CPU at the problem.? I haven't got it set up yet though. -- Rob. On 1/9/23 07:36, Richard Bown wrote: > > I found that 9~ 10 cams slowed motion down as the cpu usage was high, > also by splitting them I can split the indoor cameras away from the > outdoor cams > which means If I'm in the the indoor cams can all be shut down and > started when I'm out, ?thats done with another application > > On Mon, 2023-01-09 at 09:07 -0600, Roger Heflin wrote: >> What is the use case for 2 instances of motion? >> >> For the 2nd instance you would need to duplicate the systemd files >> and change the names to be motion2. >> >> >> On Mon, Jan 9, 2023 at 8:39 AM Barry Martin <barry3mar...@gmail.com> >> wrote: >>> >>> >>> Hi Richard! >>> >>> >>>> running systemctl restart motion doesn't like the above , thats why the >>>> hashes are there. Does anyone know what the correct syntax would be please >>> >>> I have found sometimes the restart command doesn't work right.? What >>> I've done is replaced with two lines: >>> >>> ??? systemctl stop motion >>> >>> ??? systemctl start motion >>> >>> >>> Occasionally I'll also throw a 'sleep 1' or 'sleep5' command between >>> the two to be sure. >>> >>> >>> Barry >>> >>> _______________________________________________ >>> 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 >> _______________________________________________ >> 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 > > > > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Mon, 09 Jan 2023 20:42:59 +0000 From: Richard Bown <rich...@g8jvm.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] syntax help starting more than one instance of motion Message-ID: <7df0c62502cb0fec42f4fa3e13b0967c7cdd00b0.ca...@g8jvm.com> Content-Type: text/plain; charset="utf-8" I'm using an Hardkernel Odroid N2+ thats running two instances of motion, Homeassitant and owncloud ?as a NAS , and it seems happy, its muticore and pretty fast motion use peaks at 280% , but it is multi core? hope that helps Richard On Mon, 2023-01-09 at 11:53 -0800, rmbusy wrote: > Hi Richard, > > ? I've seen the same issue, where 8 or more cams running under Motion > pretty much consumes a quad core machine.? I've noticed the CPU usage > has gone up with versions newer than 4.0 too, with the same exact > camera setup.? What is your HW platform (CPU type and speed)?? I > recently purchased a new laptop to use as my motion machine, trying > to throw more CPU at the problem.? I haven't got it set up yet > though. > > > -- > Rob. > > > On 1/9/23 07:36, Richard Bown wrote: > > > > > > > I found that 9~ 10 cams slowed motion down as the cpu usage was > > high, also by splitting them I can split the indoor cameras away > > from the outdoor cams > > which means If I'm in the the indoor cams can all be shut down and > > started when I'm out, ?thats done with another application? > > > > On Mon, 2023-01-09 at 09:07 -0600, Roger Heflin wrote: > > > > > What is the use case for 2 instances of motion? > > > > > > For the 2nd instance you would need to duplicate the systemd > > > files and change the names to be motion2. > > > > > > > > > On Mon, Jan 9, 2023 at 8:39 AM Barry Martin > > > <barry3mar...@gmail.com> wrote: > > > > > > > > > > > Hi Richard! > > > > > > > > > > > > > running systemctl restart motion doesn't like the above , thats why > > > > > the > > > > > hashes are there. Does anyone know what the correct syntax would be > > > > > please > > > > I have found sometimes the restart command doesn't work right.? > > > > What I've done is replaced with two lines: > > > > ??? systemctl stop motion > > > > ??? systemctl start motion > > > > > > > > Occasionally I'll also throw a 'sleep 1' or 'sleep5' command > > > > between the two to be sure. > > > > > > > > Barry > > > > _______________________________________________ > > > > 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 > > > _______________________________________________ > > > 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 > > > > > > > > > > > > _______________________________________________ > > 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 > > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------ 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 197, Issue 5 *******************************************