- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Shared memory issues.
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
Discussions
Discussions
Forums
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
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
тАО07-31-2003 10:49 AM
тАО07-31-2003 10:49 AM
I'm trying to run 5 instances of Sybase on a V class server with 10 processors and 8Gb of memory. I also have allocated 12Gb of swap space. Whenever I try to run any combo of instances that exceed 2.5Gb of shared (to Sybase) memory I get a "kistartup: could not create shared memory" error.
I have set the chatr command for the dataserver binary and ran the mlock command as well. Here are some kernel parms as well;
maxdsiz 2063597568
maxfiles 2048
maxfiles_lim 2048
maxswapchunks 6036
maxuprc 100
maxvgs 20
nfile (36*(NPROC+16+MAXUSERS)/10+32+2*(NPTY+NSTRPTY+NSTRTEL))
nproc (20+10*MAXUSERS)
nstrpty 60
shmmax 7784628224
shmmni 512
shmseg 512
swapmem_on 0
unlockable_mem 1024
My question is: It seems that Sybase has a memory usage limit of 2.5Gb. Is there a way around this? Maybe by installing several dataserver instances or somehow fooling the RDBMS into 'thinking' it's only using 2.5 when in reality it's using more by adjusting the kernel parms?
I know its a long shot but I'm a little desperate here.
Thanks in advance for your help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 11:12 AM
тАО07-31-2003 11:12 AM
Re: Shared memory issues.
# getconf KERNEL_BITS
############################################
Launch STM and excercise you're memory.
############################################
You need a 64 bit application for the higher shared memory limits. Surely SYBASE has a 64bit version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 11:31 AM
тАО07-31-2003 11:31 AM
Re: Shared memory issues.
Sybase is 32 bit. In fact I have the last of the Mohicans (11.9.2). We're going to the 64 bit version (12.5) sometime last quarter 2003 or first quarter 2004.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 11:56 AM
тАО07-31-2003 11:56 AM
Re: Shared memory issues.
You are doing about as well as you can with a 32-bit application. You need to move t the 64-bit database to even begin to utilize the memory you have. When you do, remember that the 'maxdsiz_64bit', 'maxtsiz_64bit' and 'maxtsiz_64bit' parameters apply. The unsuffixed variants are for 32-bit programs.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 12:25 PM
тАО07-31-2003 12:25 PM
Re: Shared memory issues.
512 might be a little high.
Here is a potentially useful tuning doc.
http://www1.itrc.hp.com/service/cki/search.do?category=c0&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&searchString=UPERFKBAN00000726&search.y=8&search.x=28&mode=id&admit=-682735245+1059683118940+28353475&searchCrit=allwords
Document id: UPERFKBAN00000726
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 12:27 PM
тАО07-31-2003 12:27 PM
Re: Shared memory issues.
On our 32 bit versions, we're limited to about the same amount, but only per instance. New instance, new SGA, another chunk of shared mem.
I'm wondering if this is system wide shared memory limit, or something else, like individual user space...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 03:36 PM
тАО07-31-2003 03:36 PM
SolutionHave you considered implementing each of the DB instances in a separate memory window?
It was introduced via a patch and requires a kernel parameter to be changed.
See /usr/share/doc/mem_wndws.txt for more info.
It may get you out of a jam.
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2003 04:55 AM
тАО08-01-2003 04:55 AM
Re: Shared memory issues.
I have this problem, when you use one aplication in 32 Bits, your shared memory have one limitation of 2.75 Gb. Read this white paper, I believe that this document anger to help you.
http://www.docs.hp.com/hpux/onlinedocs/os/memwn1_4.pdf
Harrison.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2003 09:42 AM
тАО08-01-2003 09:42 AM
Re: Shared memory issues.
The Memory Windows information was exactly what I needed. Using them I was able to start all 5 instances of Sybase with the required memory usage.
Again, much gratitude is owed to all of you.
David.