- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: semaphores remain even after exiting the serv...
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
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
тАО01-21-2003 02:12 AM
тАО01-21-2003 02:12 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 02:39 AM
тАО01-21-2003 02:39 AM
Re: semaphores remain even after exiting the services
look like you have memory leak problem.
install a memory leak patch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 02:51 AM
тАО01-21-2003 02:51 AM
Re: semaphores remain even after exiting the services
Usually this is done from their signal handlers... of course this works only unless you use SIGKILL (kill -9).
So the question is, how you stop your services and if they are designed to cleanup after them.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 04:09 AM
тАО01-21-2003 04:09 AM
Re: semaphores remain even after exiting the services
these daemons are created to work 24/24.
but for some reasone i need to kill them using kill command.
the problem the daemons are started as root .
when i want to remove the semaphore , i cannot distinguish which are used by my daemeons to remove them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 04:43 AM
тАО01-21-2003 04:43 AM
SolutionBTW, I attached a tool which can be used to get more detailed semaphore information.
Try "ipcps -sa".
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 04:49 AM
тАО01-21-2003 04:49 AM
Re: semaphores remain even after exiting the services
when you issue the command ipcs, you could see last 2 colums OWNER and GROUP, clearly shows which ipcs is owned by whom.
here is a list from one of my server:
Semaphores:
s 0 0x411c05cc --ra-ra-ra- root root
s 1 0x4e0c0002 --ra-ra-ra- root root
s 2 0x412006a4 --ra-ra-ra- root root
s 3 0x00446f6e --ra-r--r-- root root
s 4 0x00446f6d --ra-r--r-- root root
s 5 0x01090522 --ra-r--r-- root root
s 6 0x311c3e3f --ra-ra-ra- root root
s 7 0x410c01c8 --ra-ra-ra- root root
s 8 0x3e147580 --ra-ra-ra- root root
s 9 0x3e147581 --ra-ra-ra- root root
s 10 0x3e147588 --ra-ra-ra- root root
s 11 0x3e147589 --ra-ra-ra- root root
s 26572 0x040400bc --ra-ra-ra- mqm mqm
s 29893 0x0404001d --ra-ra-ra- mqm mqm
s 49814 0x04040006 --ra-ra---- mqm mqm
s 979415 0x040400b2 --ra-ra---- mqm mqm
s 4395696 0x0404005d --ra-ra-ra- mqm mqm
s 4047097 0x040400e3 --ra-ra---- mqm mqm
s 3578978 0x040400fb --ra-ra-r-- mqm mqm
s 2649379 0x04040142 --ra-ra-r-- mqm mqm
the user mqm can terminate semaphores used by mqm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 05:34 AM
тАО01-21-2003 05:34 AM
Re: semaphores remain even after exiting the services
Ravi, the problem is that the daemons run as root. So what should we see in ipcs -sa?
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 05:53 AM
тАО01-21-2003 05:53 AM
Re: semaphores remain even after exiting the services
My email is tarek_saliba@cis.com.lb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 01:05 PM
тАО01-21-2003 01:05 PM
Re: semaphores remain even after exiting the services
HTH
mark