[ntp:questions] Re: Stack size

Krish kri222 at hotmail.com
Tue Sep 16 18:30:11 UTC 2003


Cannot I reduce the stack size.
I tried to reduce the stack size by setrlimit command.  The setrlimit
calls return successfully, but doesnot seem to reduce the stack size.

Gopal

Ulrich Windl <Ulrich.Windl at RZ.Uni-Regensburg.DE> wrote in message news:<m3he3ekua2.fsf at pc5234.klinik.uni-regensburg.de>...
> kri222 at hotmail.com (Krish) writes:
> 
> > Hi,
> > 
> > I am running the ntp in linux machine and it is showing up a stack
> > size usage of nearly ~2M.  I am surprised why NTP is using 2Meg of
> > stack size.
> 
> I can imagine that the user's stack quota plays a role there: The
> process tries to lock the entire stack in RAM (the real-time stuff).
> 
> Regards,
> Ulrich
> 
> > Is there a way to adjust the stack size.  Does 2M sound reasonable
> > size?
> > 
> > Any answers on this.
> > 
> > Thanks.
> > Krish



More information about the questions mailing list