Operating System - HP-UX
1833995 Members
2546 Online
110063 Solutions
New Discussion

Re: tcsh ; limit stacksize @ HP-UX 11.11

 
Carsten Subbe_1
New Member

tcsh ; limit stacksize @ HP-UX 11.11

Hi all,

sorry if this has been asked and answered before, but I couldn't find a tool to search for an aritcle.

We observe (GlancePlus) that the growth of the stack that can be used for a program is limited by the shells 'stacksize' parameter. Although 'maxssize' has been set to ~410 MB, the program always crashes when the stack reach 8192kB (shells value for stacksize).
Altering this value doesn't work with help of the builtin 'limit' function.
I checked it for sh-{posix, bourne}, csh and tcsh.
Many thanks in advance.

Bye

Frank Heckes
1 REPLY 1
Muthukumar_5
Honored Contributor

Re: tcsh ; limit stacksize @ HP-UX 11.11

ulimit -s parameter is 8192? It is normal.

What is your kernel parameter of maxssiz_64bit there.

/usr/sbin/kmtune | grep maxssiz

Increase the parameter will need kernel rebuild needed there.

Before that refer this thread too regarding to your problem.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=697396



Easy to suggest when don't know about the problem!