- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memory segment error.
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
02-17-2010 11:06 PM
02-17-2010 11:06 PM
Memory segment error.
Failed to get another shared memory segment (required size=100761552 bytes)
*** LIBSHMADM - IPC Error
shmAlloc(): Cannot create new SHM segment
The above error keeps generated some oftens in our billing servers using BSCS_iX. However rebooting the server solves the issue for some time then it appears again after 2 weeks or less.
Has any one came through such error and how to resolve it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 11:36 PM
02-17-2010 11:36 PM
Re: Memory segment error.
Seems ur memory is filled up and can no more allocate a chunck of required size.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 11:38 PM
02-17-2010 11:38 PM
Re: Memory segment error.
You should check the kernel param.
shmseg and shmmni
Maybe try to increment those.
shmmax should be just about the size of your installed phys. memory
Use sam to check/modify those parameters.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2010 12:39 AM
02-18-2010 12:39 AM
Re: Memory segment error.
You could be running out of 32 bit shared memory virtual address space.
What does "ipcs -ma" show?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2010 01:56 AM
02-18-2010 01:56 AM
Re: Memory segment error.
Memory is 8GB.
top command output for memory is:
Memory: 3912832K (3838796K) real, 5650048K (5364812K) virtual, 1141256K free Page# 1/6
Kernal Values:
shmmax 3398046511104
shmmni 1024
shmseg 600
ipcs -ma output: attached
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2010 01:27 PM
02-18-2010 01:27 PM
Re: Memory segment error.
The sum is: Total: 2627789020 count: 47
This is more than 2 Gb and doesn't include any 32 bit shlibs or mapped files.
You have 32 segments all created by:
thurate bscs 3 67108864
They still have attached processes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2010 06:20 PM
02-18-2010 06:20 PM
Re: Memory segment error.
If it is then your process is not releasing the memory and in that case you have to check with vendor or maually clear the shared memory.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2010 07:03 PM
02-18-2010 07:03 PM
Re: Memory segment error.
You can run out of 32 bit shared memory virtual addresses before you run out of swap, 2 Gb vs 8 Gb. Unless using memory windows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2010 09:15 PM
02-20-2010 09:15 PM
Re: Memory segment error.
Regarding the memory crunch I dont notice any thing like this, but i will consider that in future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2010 09:53 PM
02-20-2010 09:53 PM
Re: Memory segment error.
You'll have to clean those up with ipcrm(1), unless the application in question wants to keep those segments around. But if so, there should only be a few of them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2010 07:46 PM
02-21-2010 07:46 PM
Re: Memory segment error.
What does it mean by required size=100761552 bytes ? where is this required size?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2010 09:10 PM
02-21-2010 09:10 PM
Re: Memory segment error.
I could not find this out.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2010 01:11 AM
02-22-2010 01:11 AM
Re: Memory segment error.
The application is trying to tell you the size it wants but didn't get.
>Kapil: how do we find whether its using 32bit address space or 64 bit.
You can do a file(1) on the executable, if 32 then it's 32. If 64, then you must use tusc to see if it wants to share a 32 bit address space, shmget(2) with IPC_SHARE32.
You can also look at the address to find if it is 32 or 64 bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2010 01:23 AM
02-22-2010 01:23 AM
Re: Memory segment error.
>You can do a file(1) on the executable, if 32 then it's 32.
Sample:
#file /oraprod/prod/oracle/product/805/bin/oracle
/oraprod/prod/oracle/product/805/bin/oracle: PA-RISC1.1 shared executable dynamically linked -not stripped
Can you tell from file() output it is 32 bit or 64 bit executable? What would be your guess on this executable?
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2010 01:39 AM
02-22-2010 01:39 AM
Re: Memory segment error.
>Can you tell from file output it is 32 bit or 64 bit executable?
PA1.1 can only do 32 bit mode. For more, see my reply here:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1160370
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2010 02:30 AM
02-22-2010 02:30 AM
Re: Memory segment error.
What do you think about this:
# file /oraprod/prod/oracle/product/805/bin/oracle
/oraprod/prod/oracle/product/805/bin/oracle: PA-RISC1.1 shared executable dynamically linked -not stripped
# su - ora9prod
You have mail.
$ sqlplus /nolog
SQL*Plus: Release 9.2.0.4.0 - Production on Mon Feb 22 12:24:47 2010
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect / as sysdba;
Connected.
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
$
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2010 02:52 AM
02-22-2010 02:52 AM
Re: Memory segment error.
$ getconf HW_CPU_SUPP_BITS
64
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2010 02:56 AM
02-22-2010 02:56 AM
Re: Memory segment error.
>oracle: PA-RISC1.1
Strangely this didn't change, still 32. :-)
>$ sqlplus /nolog
>Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit
This claims to be 64 bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2010 03:00 AM
02-22-2010 03:00 AM
Re: Memory segment error.
Since this always returns "black" (on Integrity or 11.23), it is a waste of time using it, unless you have 11.11 and an obsolete PA1.1 box or one that still allows a 32 bit kernel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2010 03:02 AM
02-22-2010 03:02 AM
Re: Memory segment error.
/stand/vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2010 03:06 AM
02-22-2010 03:06 AM
Re: Memory segment error.
file /ora/home/ora9dba/product/9i/bin/oracle
shows clearly:
/ora/home/ora9dba/product/9i/bin/oracle: ELF-64 executable object file - PA-RISC 2.0 (LP64)
on the same hardware.
Thank you.
Horia.
Horia.