HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Shared Library Size limitation?
Operating System - HP-UX
1832897
Members
2391
Online
110048
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
03-19-2002 07:14 AM
03-19-2002 07:14 AM
Shared Library Size limitation?
I have a 32 bit application that gets dynamically linked to multiple shared libraries. Time and again, I have run into scenarios wherein, the application hangs whenever it accesses a shared library that is either to large or has too many functions bundled into it.
Example:
I have a shared library that works until its size stays below 20MB, but starts failing once it exceeds that size.
On the other hand, I have another shared library that is only 3MB, however, it has about 100 functions in it. If I try to introduce any new functions into this shared library, the application hangs once again when it accesses this 3MB shared library.
Is there any rule of thumb to follow while designing shared libraries?
Also, is it possible to some tweak the OS (HPUX 11.0) so that I could build one LARGE shared library - say around 100 MB or more, with a thousand or so functions and still work with a 32 bit application?
Can you point me to some reading material that could enlighten me further on this problem?
Thanks,
Ravi
Example:
I have a shared library that works until its size stays below 20MB, but starts failing once it exceeds that size.
On the other hand, I have another shared library that is only 3MB, however, it has about 100 functions in it. If I try to introduce any new functions into this shared library, the application hangs once again when it accesses this 3MB shared library.
Is there any rule of thumb to follow while designing shared libraries?
Also, is it possible to some tweak the OS (HPUX 11.0) so that I could build one LARGE shared library - say around 100 MB or more, with a thousand or so functions and still work with a 32 bit application?
Can you point me to some reading material that could enlighten me further on this problem?
Thanks,
Ravi
C/C++ Application Developer on HPUX
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 07:32 AM
03-19-2002 07:32 AM
Re: Shared Library Size limitation?
How much physical Memory you are having in the box?
What is the size of shmmax in the kernel?
You can look through the gpm or ipcs command that how much shared memory has already been allocated and how much do you need.
Sandip
What is the size of shmmax in the kernel?
You can look through the gpm or ipcs command that how much shared memory has already been allocated and how much do you need.
Sandip
Good Luck!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 08:23 AM
03-19-2002 08:23 AM
Re: Shared Library Size limitation?
SHMMAX=1073741824
So, SHMMAX is 1 Gig.
I shall lookup the utilities you had recommended Sandip.
If you get any more info on this problem, please let me know.
Ravi
So, SHMMAX is 1 Gig.
I shall lookup the utilities you had recommended Sandip.
If you get any more info on this problem, please let me know.
Ravi
C/C++ Application Developer on HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2002 08:34 AM
03-19-2002 08:34 AM
Re: Shared Library Size limitation?
SHMMAX=1073741824
SHMMNI=512
SHMSEG=32
I shall lookup the utilities you had recommended Sandip.
If you get any more info on this problem, please let me know.
Ravi
SHMMNI=512
SHMSEG=32
I shall lookup the utilities you had recommended Sandip.
If you get any more info on this problem, please let me know.
Ravi
C/C++ Application Developer on HPUX
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