In that case, I don't think there's currently a way to set that in supervisor. I'll let Mike or Chris answer about whether they want to support it.
FWIW, there's an os.nice() in the python std lib. Roger 2010/7/20 Sigurd Høgsbro <sigurd.hogs...@museeka.com> > Hi Richard, > > I meant the Unix niceness. I'm aware of groups in Supervisor (though I > haven't used them) for controlling order of spawning. > > Sigurd > > 2010/7/20 Roger Hoover <roger.hoo...@gmail.com> > > Hi Sigurd, >> >> By process priority, do you mean the order for spawning processes or do >> you mean the Unix niceness <http://en.wikipedia.org/wiki/Nice_(Unix)>value? >> >> Roger >> >> 2010/7/20 Sigurd Høgsbro <sigurd.hogs...@museeka.com> >> >>> Hi, >>> >>> We start a number of batch-processes from Supervisor, and it would be >>> nice if we could set their process priority from within the configuration >>> file. Does this fit with the ethos of Supervisor? >>> >>> If not, we can obviously implement such functionality within the jobs, >>> but we'd prefer to keep the binaries clean of such environmental aspects. >>> >>> Regards, >>> >>> Sigurd >>> >>> _______________________________________________ >>> Supervisor-users mailing list >>> Supervisor-users@lists.supervisord.org >>> http://lists.supervisord.org/mailman/listinfo/supervisor-users >>> >>> >> >
_______________________________________________ Supervisor-users mailing list Supervisor-users@lists.supervisord.org http://lists.supervisord.org/mailman/listinfo/supervisor-users