nice value

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

nice value

Szépe Viktor

Hello!

Could it be that when monit re/starts a service

> /etc/init.d/mysql start
> /etc/init.d/mysql stop

the nice level of that linux daemon may change to a non-zero value?

Thank you.


SZÉPE Viktor, üzemeltetés
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
--
+36-20-4242498  [hidden email]  skype: szepe.viktor
Budapest, III. kerület





--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
Reply | Threaded
Open this post in threaded view
|

Re: nice value

martinp@tildeslash.com
Hello,

monit doesn't set the process priority - the default is 0, unless overridden via /etc/security/limits.conf priority settings. Also the child inherits parent's priority on fork (which occurs of Monit executes the start/stop program), i.e. if you're running Monit with lower priority, the processes executed by Monit will have by default the same priority as Monit.

Best regards,
Martin


> On 17 Aug 2017, at 11:47, SZÉPE Viktor <[hidden email]> wrote:
>
>
> Hello!
>
> Could it be that when monit re/starts a service
>
>> /etc/init.d/mysql start
>> /etc/init.d/mysql stop
>
> the nice level of that linux daemon may change to a non-zero value?
>
> Thank you.
>
>
> SZÉPE Viktor, üzemeltetés
> https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
> --
> +36-20-4242498  [hidden email]  skype: szepe.viktor
> Budapest, III. kerület
>
>
>
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general