Operating System - HP-UX
1847092 Members
5933 Online
110262 Solutions
New Discussion

Re: Stack Growth Failure Error Message!?!

 
Bill Ogle_1
Occasional Advisor

Stack Growth Failure Error Message!?!

I am running HP-UX 10.20, and we are running a program called Universe (database) and when we run reports we get this error:

"pid 2615 recieved SIGSEGV for stack growth failure. Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz."

I know this is an HP error, has anyone seen this before? It is preventing us from doing A LOT of our daily tasks on the system.

Any help on this would be GREATLY appreciated.
8 REPLIES 8
James R. Ferguson
Acclaimed Contributor

Re: Stack Growth Failure Error Message!?!

Bill:

Increase the values of the kernel parameter
maxssiz or maxssiz_64. You might also adjust maxdsiz / maxdsiz_64 and maxtziz / maxtsiz_64. A good overview of kernel parameters can be found at:

http://docs.hp.com/hpux/content/KCparams.OverviewAll.html

...JRF...
Stefan Farrelly
Honored Contributor

Re: Stack Growth Failure Error Message!?!


Possible causes: insufficient memory or swap space, or stack size exceeded.
Check swapspace with> swapinfo -mt to see if its reaching 100% when your programs are running, or you will have to increase the kernel parameter maxssiz, build a new kernel and reboot.
.
Im from Palmerston North, New Zealand, but somehow ended up in London...
James R. Ferguson
Acclaimed Contributor

Re: Stack Growth Failure Error Message!?!

Bill:

a postscript -- since you are on 10.20, the parameters without the "_64" apply to you.

...JRF...
Bill Ogle_1
Occasional Advisor

Re: Stack Growth Failure Error Message!?!

How do i change the Kernel Paramters?
Bill Ogle_1
Occasional Advisor

Re: Stack Growth Failure Error Message!?!

Disregard my last question, but i have a new.... My current paramter for maxssiz is:
8388608. what should i change it to, and can this be done while users are on the system and active without disrupting anything? Thanks again for your help!
James R. Ferguson
Acclaimed Contributor

Re: Stack Growth Failure Error Message!?!

Bill:

Stefan makes a good point too. Make sure you have enough swapspace configured (swapinfo -t).

The default value for maxssiz is 8MB. I would at least double it.

Use SAM to reconfigure your kernel. This will require a reboot to change the kernel parameters, so I would wait until you can schedule the downtime.

...JRF...
CHRIS_ANORUO
Honored Contributor

Re: Stack Growth Failure Error Message!?!

Hi Bill,
You can set MAXSSIZ=80MB (i.e. 0X005000000-HEX)
MAXDSIZ=1GB
MAXTSIZ=1GB
Also set SWAPMEM_on=1
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Tim Malnati
Honored Contributor

Re: Stack Growth Failure Error Message!?!

It is very unusual for Universe to run out of swap space unless it is totally misconfigured. maxssize is your likely problem. I typically increase this value to 0X03000000 instead of the default 0X800000. It's unusual to need more than this unless you have some reports that are out of this world.

Before you reconfigure the kernel, I would suggest that you take a careful look at the release notes for the current release of UV that your using; there are some tuning issues discussed there. Also, take a look at "Maximizing Performance for UniVerse Systems" in the Universe Online Library in the Technical Bulletins section. The Online Library is located on the second CDROM and can be loaded on any pc. They are standard Adobe pdf files. It would also be a good idea to look at the Configurable Parameters chapter in Administering UniVerse manual. Don't go crazy changing stuff around until your comfortable with what your changing and why. The default UV parameters are usually setup for a smaller system.