HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: aC++ linker question
Operating System - HP-UX
1837738
Members
3752
Online
110118
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
12-13-2000 12:02 AM
12-13-2000 12:02 AM
aC++ linker question
My developers are getting stack problems and have now included the following in the make file:
LDFLAGS= +pd 16M
to increase the stack size. Is there any way to monitor whether this has taken effect such as in Glance and if so, where? The stack problem does not happen very often, and we would like to make sure this has helped.
Thank you
LDFLAGS= +pd 16M
to increase the stack size. Is there any way to monitor whether this has taken effect such as in Glance and if so, where? The stack problem does not happen very often, and we would like to make sure this has helped.
Thank you
Live fast, die young - enjoy a good looking corpse!
- Tags:
- maxssiz
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 12:45 AM
12-13-2000 12:45 AM
Re: aC++ linker question
Hi Carlo,
You can check for stack parameters through the memory window. Increase the MAXSSIZ to 90mb from the default value in kernel configuration through SAM. This will definitely reboot your system.
You can check for stack parameters through the memory window. Increase the MAXSSIZ to 90mb from the default value in kernel configuration through SAM. This will definitely reboot your system.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2001 09:01 AM
01-02-2001 09:01 AM
Re: aC++ linker question
Carlo,
+pd 16M won't in itself increase the stack size. What +pd does is to request a specified data page size. It's typically used if an application or system is having too many TLB misses.
As far as I can tell, glance won't tell you what the maximum available stack size is. You can use SAM to find out the max stack size. You can also use adb, i.e.
# adb -k /stand/vmunix /dev/kmem
maxssiz/D
maxssiz:
maxssiz: 16384
^d
#
This shows the maximum stack size in 4k pages, so this case my machine is configured for a 64Mb stack.
To increase the stack size, you need to change the kernel parameter MAXSSIZ, rebuild your kernel & reboot. The easiest way to do this is using SAM.
+pd 16M won't in itself increase the stack size. What +pd does is to request a specified data page size. It's typically used if an application or system is having too many TLB misses.
As far as I can tell, glance won't tell you what the maximum available stack size is. You can use SAM to find out the max stack size. You can also use adb, i.e.
# adb -k /stand/vmunix /dev/kmem
maxssiz/D
maxssiz:
maxssiz: 16384
^d
#
This shows the maximum stack size in 4k pages, so this case my machine is configured for a 64Mb stack.
To increase the stack size, you need to change the kernel parameter MAXSSIZ, rebuild your kernel & reboot. The easiest way to do this is using SAM.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP