hi
I own and operate an HP-ux11.0 machine, but am not a unix systems wiz, and don't have direct access to an expert..... and I have a problem running a new piece of software that is correctly installed on this machine.
The error message when trying to run the program was:
"Pid 4627 receieved a SIGSEGV for stack growth failure. Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz. Memory fault (core dump)."
The computer has 3Gb of memory (about 2.3Gb are free).
The help desk (where I got the software) offered this response:
The HP-UX kernel has a default stack size of 8MB(?) per process.
You need to extend maxssiz and recompile the kernel (and reboot).
You can use SAM to do this.
(While at it, check out the maxdsiz parameter for the maximum amount
of data a program can use. It depends on your applications, if the
default of 64MB is enough or not.)
Here's what we use on our systems:
* Max Data Segment Size (bytes)
* our systems (3*1024*1024*1024)
maxdsiz 0XC0000000
* our systems - Recommended by SAM template (16*1024*1024*1024)
maxdsiz_64bit 0X400000000
* Max Stack Segment Size (bytes)
* our systems (256*1024*1024)
maxssiz 0X10000000
* our systems (1024*1024*1024)
maxssiz_64bit 0X40000000
* Max Text Segment Size (bytes)
* our systems (1024*1024*1024)
maxtsiz 0X40000000
* our systems - Recommended by SAM template (4*1024*1024*1024)
maxtsiz_64bit 0X100000000
..................................................
I have used SAM for some minor tweaks before.
The part that has me really anxious is "recompile the kernel".
This sounds like a very serious action and open to some very bad consequences.
I will not even attempt this until I've read much more.
My question is ..... (1) is recompiling the kernel necessary to change maxdsiz, etc and (2) is recompiling the kernel a step by step process in SAM.
Thanks for any guidance.
daveleo
I own and operate an HP-ux11.0 machine, but am not a unix systems wiz, and don't have direct access to an expert..... and I have a problem running a new piece of software that is correctly installed on this machine.
The error message when trying to run the program was:
"Pid 4627 receieved a SIGSEGV for stack growth failure. Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz. Memory fault (core dump)."
The computer has 3Gb of memory (about 2.3Gb are free).
The help desk (where I got the software) offered this response:
The HP-UX kernel has a default stack size of 8MB(?) per process.
You need to extend maxssiz and recompile the kernel (and reboot).
You can use SAM to do this.
(While at it, check out the maxdsiz parameter for the maximum amount
of data a program can use. It depends on your applications, if the
default of 64MB is enough or not.)
Here's what we use on our systems:
* Max Data Segment Size (bytes)
* our systems (3*1024*1024*1024)
maxdsiz 0XC0000000
* our systems - Recommended by SAM template (16*1024*1024*1024)
maxdsiz_64bit 0X400000000
* Max Stack Segment Size (bytes)
* our systems (256*1024*1024)
maxssiz 0X10000000
* our systems (1024*1024*1024)
maxssiz_64bit 0X40000000
* Max Text Segment Size (bytes)
* our systems (1024*1024*1024)
maxtsiz 0X40000000
* our systems - Recommended by SAM template (4*1024*1024*1024)
maxtsiz_64bit 0X100000000
..................................................
I have used SAM for some minor tweaks before.
The part that has me really anxious is "recompile the kernel".
This sounds like a very serious action and open to some very bad consequences.
I will not even attempt this until I've read much more.
My question is ..... (1) is recompiling the kernel necessary to change maxdsiz, etc and (2) is recompiling the kernel a step by step process in SAM.
Thanks for any guidance.
daveleo