Operating System - HP-UX
1833788 Members
2318 Online
110063 Solutions
New Discussion

"Process killed due to Stack growth failure"

 
vselvaraj
Advisor

"Process killed due to Stack growth failure"

Dear all

I am having HPUX 11.00 installed on L-1000
running radius for ISP Service.
now we have upgraded the Java SDK from 1.2
to 1.2.2.05.00 ( Java 2 SDK for HP-UX (700/800)).Dependent recommended patches also
installed.
After this my radius daemon is getting killed
automatically and I am getting the following error.

""PID xxxx ws killed due to stack growth failure.
Possible cause: Insufficient memory or swap,or stack size exceeded maxssize."".

If I restart again also it is getting killed.
Can anybody can help me , it is very urgent.

Thanks in advance
V.Selvaraj
4 REPLIES 4
Andy Monks
Honored Contributor

Re: "Process killed due to Stack growth failure"

Increase the kernel parameter maxssiz as I'm sure java will be a 32bit application. The default is 8MB.

There is also maxssiz_64bit which you may want to look at.
John Palmer
Honored Contributor

Re: "Process killed due to Stack growth failure"

This is probably either due to insufficient swap space or you application requiring to extend its stack size larger than that allowed by the 'maxssiz' kernel parameter.

Check your swap usage with 'swapinfo -mt', paying particular attention to the PCT Used value in the total. If this is nowhere near 100% then it is likely that 'maxssiz' is set too low. The default is 8Mb. If you have 'glance' then you could monitor the offending process and check its stack size.

Does the application provider give any indication of required kernel settings?

If not then try increasing 'maxssiz' to 16Mb with 'sam' -> kernel configuration -> configurable parameters.
This will require a reboot.

Note that most applications don't normally need a huge stack size. Exceeding 'maxssiz' is normally the result of a software problem.
CHRIS_ANORUO
Honored Contributor

Re: "Process killed due to Stack growth failure"

Increase maxssiz to 40mb to accomodate for future expansion.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
CHRIS_ANORUO
Honored Contributor

Re: "Process killed due to Stack growth failure"

Increase maxssiz to 40mb to accomodate for future expansion.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.