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

Bug#746255: ITP: verynice -- nice(1)-like utility to throttle long running processes



On Mon, Apr 28, 2014 at 04:06:48PM +0100, Ben Hutchings wrote:
> On Mon, 2014-04-28 at 16:21 +0200, Radovan Garabík wrote:
> > 
> > * Package name    : verynice
...
> > An utility to throttle long running processes beyond what can be
> > achieved by nice(1). This is done by periodically suspending and
> > resuming the process and its child proceses.
> 
> This really doesn't seem like a good idea.  You can use scheduler
> cgroups to do this sort of bandwidth limitation instead.

Not quite - verynice is simple, easy to use (verynice 'command' or
verynice -p PID), and aims to be somewhat multiplatform (in particular,
runs on kFreeBSD).

We are using it mostly to limit processes that start to hog NFS server
at inconvenient times thus slowing down other nfs clients (that was the
primary reason I wrote it) and that do not need to finish soon.

It turned out to be incredibly useful.

-- 
 -----------------------------------------------------------
| Radovan Garabík http://kassiopeia.juls.savba.sk/~garabik/ |
| __..--^^^--..__    garabik @ kassiopeia.juls.savba.sk     |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!

Attachment: signature.asc
Description: Digital signature


Reply to: