Sponsored Content
Full Discussion: Help with maxssize
Top Forums UNIX for Advanced & Expert Users Help with maxssize Post 302181460 by karthikb23 on Thursday 3rd of April 2008 03:45:12 AM
Old 04-03-2008
Help with maxssize

Hi,
I read up about maxssiz when having problems with stack overflow.
I check on the below on my HP-UX as:

Parameter Current Dyn Planned Module Version
===============================================================================
maxssiz 0x17000000 - 0X17000000

When using gdb, i check that the value for a local array variable is as follows:

(gdb) print &s[1000000]
$2 = 0x690e7a50 "c"

Does this imply that the memory address is within the max allocated?

Also, how do i interpret the address in dec, again the maxssiz value in dec?

Any help is really appreciated.
Thanks
 

We Also Found This Discussion For You

1. UNIX for Advanced & Expert Users

decreasing the MAXSSIZE value !

Decreasing the MAXSSIZE(kernel param) from 300MB to 100MB resolved the problem of memory lack ( can't allocate memory ) . how come ??? Thanks Golan (1 Reply)
Discussion started by: ghadad
1 Replies
maxrsessiz(5)							File Formats Manual						     maxrsessiz(5)

NAME
maxrsessiz, maxrsessiz_64bit - maximum size (in bytes) of the RSE stack for any user process on the Itanium-based platform VALUES
Default Allowed values DESCRIPTION
Itanium-based systems utilize a per-process register stack in main memory (for more information see the Intel IA-64 Architecture Software Developer's Manual, Volume 2, Chapter 6). This stack moves registers between the physical registers and main memory and is maintained by the Register Stack Engine (RSE). determines the size of this stack. Who is Expected to Change This Tunable? Anyone. Restrictions on Changing Changes to this tunable only take effect after a reboot of the system. When Should the Value of This Tunable Be Raised? should be raised if user processes are being terminated with the error due to overflow of the RSE stack. What Are the Side Effects of Raising the Value? User processes will dedicate more virtual memory to the RSE stack. This will result in less virtual memory being available for data alloca- tion. When Should the Value of This Tunable Be Lowered? This tunable should be lowered only if swap space is at a premium on the system, since virtual memory for the RSE stack still requires matching swap reservation or allocation. Serious consideration should be given if is being lowered below the default as this may cause unexpected failures of user applications on RSE stack overflow. This tunable is best left unchanged without complete and detailed knowledge of the RSE stack usage of the machine workload. What Are the Side Effects of Lowering the Value? Lowering this tunable will limit the amount of memory available for RSE stack usage per process. This could cause processes with large RSE stack requirements to terminate with a error. What Other Tunable Values Should Be Changed at the Same Time? None. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
maxssiz(5), maxdsiz(5), maxtsiz(5). Itanium(R)-based Systems Only Tunable Kernel Parameters maxrsessiz(5)
All times are GMT -4. The time now is 10:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy