Operating System - HP-UX
1830979 Members
2015 Online
110018 Solutions
New Discussion

stack size exceeded maxssiz

 
Bernard  Bravo
Advisor

stack size exceeded maxssiz

Hi,

How do you think I could resolve this? can I just increase my maxssize?
Below are the messages I appeared in my terminal.

"Pid 4513 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxssiz "

thanks in advance.
bern
Do good, Look Good, Feel Good
4 REPLIES 4
Deepak Extross
Honored Contributor

Re: stack size exceeded maxssiz

How much swap space do you have? Roughly, it should be 1.5 to 2 times the amount of RAM.
Michael Tully
Honored Contributor

Re: stack size exceeded maxssiz

Hi,

Yes increase 'maxssiz' value, compile a
new kernel. 'maxssiz' is not usually
part of a formula. To generate a new kernel
you can do this if it is HP-UX 11

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system (and make your changes)
save file

# /usr/sbin/mk_kernel -s system
# /usr/sbin/kmupdate
# cd /
# /sbin/shutdown -r -y 0

HTH
-Michael
Anyone for a Mutiny ?
Tom Geudens
Honored Contributor

Re: stack size exceeded maxssiz

Hi,
I would first take a look whether or not the program is running normally. I got the same problem recently with an extract that couldn't take the fact that the system time had been turned back (daylight saving) and got into a
loop, taking more and more memory ...
So this might be a signal there's something wrong with the program.
Did you also get a core dump ?

Tom Geudens

A life ? Cool ! Where can I download one of those from ?
Deepak Extross
Honored Contributor

Re: stack size exceeded maxssiz

Also, check what this process is.
Could be a user application that is indiscriminately grabbing memory or has a memory leak. In suce case, you may want to get the application tended to.