- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- detached shared memory owner getting changed
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-31-2005 04:05 AM
03-31-2005 04:05 AM
detached shared memory owner getting changed
HPUX 11.23 with AUG04 level patched
Itanium-2 hardware.
Ingres 2.6
Problem:
Where "ipcs -ma" which shows:
T ID KEY MODE OWNER
Shared Memory:
m 5 0x00000000 D-rw----- ingres
Detached process owner shows ingres.we are finding problem with detached segments that the owner changed to root and no of detached shared memory segments increase which was only getting clear by system reboot.
We wanted know,
1.Why the owner getting changed to root.
2.How to get the last attached process along with detached segments?
3.How clear without system reboot?.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 04:53 AM
03-31-2005 04:53 AM
Re: detached shared memory owner getting changed
2) There's no data on the last attached process per se. The LPID field of ipcs -ma will give the pid of the last process to attach *or* detach, so if X was the last attacher, but Y detached after that, you'd only see Y. If the process is still attached, you can use kernel-intrusive tools like shminfo (ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/programs/shminfo/)
which will list attached processes.
3) If the segment is marked for Deletion as you indicate above, there is still at least one process attached. When that process goes away, the segment will also go away. It can not be removed until that happens without a reboot... so the question would then become, why isn't that process letting go. In many cases, the program is working as designed -- it is a good practice to bring up your shared memory segments in initialization and then (once you know all processes you care about if you have known children) mark them for deletion. That way if the program terminates early (exception case that isn't handled, etc.) the segments are cleaned up by the system. So -- use shminfo from (2) above, and see what the attached processes are doing. If they're doing useful work -- don't worry about it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2005 12:41 AM
04-02-2005 12:41 AM
Re: detached shared memory owner getting changed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2005 12:26 AM
04-03-2005 12:26 AM
Re: detached shared memory owner getting changed
You should definitely do something about the below, in your profile,
I have assigned points to 7 of 44 responses to my questions.
With regards,
Mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2005 06:41 PM
04-03-2005 06:41 PM
Re: detached shared memory owner getting changed
I can improve provided I get required response to my questions.(Like Dan reply..)