Change default stacksize

Rick Stevens ricks at alldigital.com
Thu Nov 1 16:46:30 UTC 2012


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              -
----------------------------------------------------------------------


More information about the users mailing list