- 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
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
тАО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.