- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- insufficient memory error with application
Operating System - HP-UX
1752777
Members
6625
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2001 04:28 PM
тАО11-07-2001 04:28 PM
I recive this error from an application:
Pid 4130 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxssiz.
It dones NOT happen on a consistant basis.
This same server is running Oracle 8.1.7.
Here are my kernel parameters,
STRMSGSZ 65535
dbc_max_pct 35
max_thread_proc 512
maxdsiz 0X10000000
maxfiles 1024
maxfiles_lim 2048
maxssiz 0X10000000
maxssiz_64bit 0X10000000
maxswapchunks 8193
maxuprc 1024
maxusers 900
msgmax 65535
msgmnb 65535
msgmni 256
msgseg 7168
msgssz 1024
msgtql 1024
ncallout 8192
nflocks 8192
nkthread (20+32*MAXUSERS)
nstrpty 60
num_tachyon_adapters 5
semaem 32767
semmni 1024
semmns 16384
semmnu 2048
semume 256
semvmx 65535
shmmax 0X40000000
shmmni 1024
shmseg 1024
We have recently increased the maxssiz parameters to see if it fixed the above error, and it did not.
Anyone come across the above error, if so what direction should I be proceeding in?
Pid 4130 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxssiz.
It dones NOT happen on a consistant basis.
This same server is running Oracle 8.1.7.
Here are my kernel parameters,
STRMSGSZ 65535
dbc_max_pct 35
max_thread_proc 512
maxdsiz 0X10000000
maxfiles 1024
maxfiles_lim 2048
maxssiz 0X10000000
maxssiz_64bit 0X10000000
maxswapchunks 8193
maxuprc 1024
maxusers 900
msgmax 65535
msgmnb 65535
msgmni 256
msgseg 7168
msgssz 1024
msgtql 1024
ncallout 8192
nflocks 8192
nkthread (20+32*MAXUSERS)
nstrpty 60
num_tachyon_adapters 5
semaem 32767
semmni 1024
semmns 16384
semmnu 2048
semume 256
semvmx 65535
shmmax 0X40000000
shmmni 1024
shmseg 1024
We have recently increased the maxssiz parameters to see if it fixed the above error, and it did not.
Anyone come across the above error, if so what direction should I be proceeding in?
It's only a flesh wound...
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2001 06:52 PM
тАО11-07-2001 06:52 PM
Solution
Hi,
What userid is this application running as?
Check the "ulimit" setting of the userid which
it is using.
Some more things to check:
Swap -> swapinfo -mt
maxdsiz -> increase this parameter
The problem normally occurs if the application is asking for malloc and does not get it.
Have a closer look at your application too.
-raj
What userid is this application running as?
Check the "ulimit" setting of the userid which
it is using.
Some more things to check:
Swap -> swapinfo -mt
maxdsiz -> increase this parameter
The problem normally occurs if the application is asking for malloc and does not get it.
Have a closer look at your application too.
-raj
Take it easy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2001 07:07 PM
тАО11-07-2001 07:07 PM
Re: insufficient memory error with application
Hello,
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.)
Tune maxssiz
maxdsiz
for 32 bit
tune maxssiz_64
maxdsiz_64 for 64 bit
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.)
Tune maxssiz
maxdsiz
for 32 bit
tune maxssiz_64
maxdsiz_64 for 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2001 08:04 PM
тАО11-07-2001 08:04 PM
Re: insufficient memory error with application
Hello,
These links might help you.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x29f9c6af36b7d5118ff10090279cd0f9,00.html
check for the description for the kernel parameters using this link
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x29f9c6af36b7d5118ff10090279cd0f9,00.html
Also increase the parameter maxtsiz-shared text segment size as you can avoid a another reboot.
Another thing is that you cannot increase the parameter maxdsiz >2gb using SAM.
So you have to tune the parameter by using the command line
11.0 Manual Kernel Configuration
$ cd /stand/build
$ /usr/lbin/sysadm/system_prep -v -s system
kmtune parm_name=value | kmtune parm_name+value
kmsystem -c y driver_name # these utilities modify the system
file at 11.0
$ /usr/sbin/mk_kernel -s ./system
$ mv /stand/system /stand/system.prev #new for dynamically
linked modules at 11.0
$ mv /stand/build/system /stand/system
$ kmupdate # kmupdate automates moving
the kernel files into the
proper directory
$ shutdown -ry 0
These links might help you.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x29f9c6af36b7d5118ff10090279cd0f9,00.html
check for the description for the kernel parameters using this link
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x29f9c6af36b7d5118ff10090279cd0f9,00.html
Also increase the parameter maxtsiz-shared text segment size as you can avoid a another reboot.
Another thing is that you cannot increase the parameter maxdsiz >2gb using SAM.
So you have to tune the parameter by using the command line
11.0 Manual Kernel Configuration
$ cd /stand/build
$ /usr/lbin/sysadm/system_prep -v -s system
kmtune parm_name=value | kmtune parm_name+value
kmsystem -c y driver_name # these utilities modify the system
file at 11.0
$ /usr/sbin/mk_kernel -s ./system
$ mv /stand/system /stand/system.prev #new for dynamically
linked modules at 11.0
$ mv /stand/build/system /stand/system
$ kmupdate # kmupdate automates moving
the kernel files into the
proper directory
$ shutdown -ry 0
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP