On Sun, Mar 12, 2006 at 12:26:43PM +1000, Russell Kliese wrote:
> 
> >> $NICE is set to 10 in /etc/updatedb.conf, so -n ${NICE:-10} is the same
> >> as
> >> -n 0.
> >>
> > In a shell script?  Doesn't ":-" set a default value if the variable is
> > not already set?
> 
> Yes, my mistake. With $NICE being 10, the priority in this cause would be
> incremented by 10 (i.e. lowered).
> 
> Anyway, this is an aside. Even when running nice without the -n option
> still causes problems.

hmm, two things:

 a) could you strace -fF -o nice.trace the nice command as is?
 b) what does your ulimit -a show on the host and guest?

TIA,
Herbert

> >> >> >> >> >>Would enabling CAP_SYS_NICE help in this case even though a
> >> >> lower
> >> >> >> >> >>priority is being set? Or is there something else causing
> >> this
> >> >> >> >> problem?
> 
> _______________________________________________
> Vserver mailing list
> [email protected]
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to