1827293 Members
2374 Online
109717 Solutions
New Discussion

bad user stack

 
Prashant Zanwar_4
Respected Contributor

bad user stack

Pid 19231 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxssiz.
exec(2): Bad User Stack. Could not load a.out
exec(2): insufficient swap or memory available.

===========================================
How I deal with this?
===========================================
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2048 0 2047 0% 0 - 1 /dev/vg00/lvol2
dev 17360 3706 13654 21% 0 - 0 /dev/vg00/lvol8
dev 17360 3702 13658 21% 0 - 0 /dev/vg00/lvol9
dev 8680 3699 4979 43% 0 - 0 /dev/vg00/lvol10
reserve - 28971 -28971
total 45448 40078 5367 88% - 0 -
==============================================
maxdsiz 0x7b000000 - 0x07b000000
maxdsiz_64bit 0x400000000 - 0x0000000400000000
maxfiles 2048 - 2048
maxfiles_lim 8192 Y 8192
maxssiz 0x17f00000 - 0x017f00000
maxssiz_64bit 0x40000000 - 0x000000040000000
maxuprc 8192 Y 8192
maxusers 2100 - 2100
=========================================
dbc_max_pct 0 - 0
dbc_min_pct 0 - 0
=========================================
Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: bad user stack

Not sure its relavent but these numbers are off;

dbc_max_pct 0 - 0
dbc_min_pct 0 - 0

I'd set max to 7 and min to 5.

Don't have a wide range, its costly in cpu terms for a system to change thsi figure. But zero, that seems wrong.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Prashant Zanwar_4
Respected Contributor

Re: bad user stack

I have all the systems set like this, so thats not concern for me..We have big database systems, terabytes is being handled, so CPU is a big concern...
Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
TwoProc
Honored Contributor

Re: bad user stack

Looks to me like you need to increase maxssize (if it's a 32 bit app you're failing on). I've got a hard time believing that you're running out of stack if it's a 64bit app with the setting I'm seeing... however, if that's it, you can try that too(maxxsiz_64bit). Also, check out your ulimits... (ulimit -a).
We are the people our parents warned us about --Jimmy Buffett