Change default stacksize

Lester M. Petrie Jr. petrielmjr at ornl.gov
Thu Nov 1 18:44:40 UTC 2012


On Thursday, November 01, 2012 9:46:30 AM Rick Stevens wrote:
> On 11/01/2012 09:39 AM, Lester M. Petrie Jr. issued this missive:
> > On Thursday, November 01, 2012 9:29:12 AM Rick Stevens wrote:
> >  > On 11/01/2012 06:10 AM, Lester M. Petrie Jr. issued this missive:
> >  > > The default stacksize on my machine (Fedora 17, KDE) is apparently
> >  > > 8Mb.
> >  > > 
> >  > > I think that ridiculous. A long time ago I knew how to change it, but
> >  > > I
> >  > > 
> >  > > have forgotten what I knew, and it probably wouldn't work now
> > 
> > anyway. So
> > 
> >  > > how do I set the default stacksize (what a user gets if they don't
> >  > > 
> >  > > specify anything)? Thanks.
> >  > 
> >  > Uhm, add a /etc/security/limits.d/s80-stack.conf file and put in
> >  > 
> >  > 
> >  > 
> >  > * hard stack 32768
> >  > 
> >  > * soft stack 16384
> >  > 
> >  > 
> >  > 
> >  > and reboot?
> 
> Should have been "/etc/security/limits.d/80-stack.conf", not
> "../s80-stack.conf". Sorry. Fingers got a little wonky.
> 
> ----------------------------------------------------------------------
> - Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
> - AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
> -                                                                    -
> -      "Microsoft is a cross between The Borg and the Ferengi.       -
> -  Unfortunately they use Borg to do their marketing and Ferengi to  -
> -               do their programming."  -- Simon Slavin              -
> ----------------------------------------------------------------------

Thanks again.  I hadn't rebooted yet, so hadn't wondered why things hadn't 
changed.

-- 
Lester M Petrie
865-574-5259
petrielmjr at ornl.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20121101/af82c7a4/attachment.html>


More information about the users mailing list