monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automatically renicing a process


From: SL
Subject: Automatically renicing a process
Date: Wed, 07 Mar 2012 17:12:28 +0100
User-agent: Roundcube Webmail/0.7.1

Hello

I didn't get any match on monit+renice, neither on the mailing list nor on the web. And yet, I think I have a pretty basic use case, so I might be missing something totally obvious.

I would like to automatically renice a process after it starts.

I have a NAS in charge of transcoding a webradio in realtime and streaming it to my LAN. Whenever another CPU-intensive is launched, the streaming starts skipping. Increasing the priority of the transcoding by hand prevents the skipping.

The transcoding server starts with a /etc/init.d script that uses start-stop-daemon. start-stop-daemon lets you define the nice level, but it would require editing the Debian packaged script, which I would like to avoid.

How would you do that?

Thanks
--
Sylvain



reply via email to

[Prev in Thread] Current Thread [Next in Thread]