- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Shared library size limitation?
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
03-20-2002 07:50 AM
03-20-2002 07:50 AM
Shared library size limitation?
I am trying to build a huge shared library (about 100 MB) on a 11.0 HPUX OS, HP9000 server. I have 3 Gig of RAM on this server.
However, when I link my 32 bit application to this shared library, I run into all kinds of problems.
Is there a size limitation on Shared Libraries on HPUX 11.0?
Where can I get in-depth coverage on this topic?
I did receive some help from Sandip on this topic, but wanted more details...
On my server, the Shared Memory configuration is as follows:
SHMMAX=1073741824
SHMMNI=512
SHMSEG=32
Thanks in advance for your help.
Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 08:57 AM
03-20-2002 08:57 AM
Re: Shared library size limitation?
You will also have to have enough swap space. It looks like your shared memory max is correct. Are you sure you are 32bit? If you are 64bit shmmax_64bit needs to be set correctly.
What also could be limiting you is other applications on the machine. If other applications are running and you don't have enough contingous memory availbale in a memory quadrant it will fail. This is seen more often on 32bit systems and apps. Also check your max_dsize kernel setting. Also if you have other systems on the box shmsegs could be low.
Other then that you should be able to get 100 MB. It is actually small.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:05 AM
03-20-2002 09:05 AM
Re: Shared library size limitation?
I am sure it is a 32 bit OS and application. And the only other significant application that is running on this server is Oracle version 8.1.7.
Can you send me an optimal set of kernel parameters based on the above?
I shall tweak the parameters you mentioned earlier and see if that makes a difference.
It is good to know that 100MB is NOT too big!
Shall keep plugging away at it on my end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:10 AM
03-20-2002 09:10 AM
Re: Shared library size limitation?
http://www.docs.hp.com//hpux/onlinedocs/os/11i/mem_mgt.html#vhand,%20the%20pageout%20daemon
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:41 AM
03-20-2002 09:41 AM
Re: Shared library size limitation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:58 AM
03-20-2002 09:58 AM
Re: Shared library size limitation?
Or is it Oracle that is asking for the 100 MG.
Attached my system file on a Server that runs SAP/Oracle in a 64bit mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:59 AM
03-20-2002 09:59 AM
Re: Shared library size limitation?
First thing to do is install patch PHSS_24303 which is the ld and linker tools patch - perhaps you've hit a bug there.
The best source of information is the linker and libraries manual, but I don't think there's any indication of a size limit on a shared library. You can get this manual at:
http://docs.hp.com/hpux/onlinedocs/dev/B2355-90730/B2355-90730.html
If you still get the problem after installing the patch, try running a tusc trace or using a debugger like wdb on the program to see if that sheds any light on things. After that it might be time to log a call with HP - for which you'll probably want some sort of test case that can be easily sent to them.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:59 AM
03-20-2002 09:59 AM