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
тАО11-06-2001 03:56 AM
тАО11-06-2001 03:56 AM
semaphor
I work on HP-UX 11.0. I observed the fact that the number of semaphores of active interpro-
cess communication increases continually. The
third field of the gived rows by ipcs contains
a phzsical value.
I don't know identifier this adress with its
running process, therefore I can't use the ipcrm command. When the number of rows by ipcs increase over a certain value some processes terminate without errorsignal.
When and wich conditions may I remove the unused rows endevoured the enhanced security.
I'd like to take advantage of ipcrm and manage this bottleneck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2001 04:57 AM
тАО11-06-2001 04:57 AM
Re: semaphor
Hi,
If you are running out of semaphores on the system, then you would be better of increasing
the the number of semaphores (semmns) in
the kernel, rather than trying to release
semaphores using the ipcrm command.
ipcrm command is used to release semaphores
which are not being used by any process,
i.e the NATTCH should be 0 in the ipcs -as
command output. Otherwise the results of
using the command will be unpredictable.
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2001 05:25 AM
тАО11-06-2001 05:25 AM
Re: semaphor
And let me add...unless you know what is running, and more importantly what and how it runs, don't kill. Example:
a little known, and not often seen daemon, used by an application running here, (dldd) can be deadly if you try to kill using ipcrm. This daemon manages address spaces across processes requesting to share vtables of objects defined within shared libraries. See the headache here...
My point being...be sure of everything going on in the background, before you start killing something.
As RajMan said it is much easier to increase semmaphores...if you have the resources.
Just a thought,
Rit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2001 05:30 AM
тАО11-06-2001 05:30 AM
Re: semaphor
If you remove the wrong semaphore, you could unleash hell, possibly corrupt your database, crash your system, toast your users, etc...
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2001 06:35 AM
тАО11-06-2001 06:35 AM
Re: semaphor
Run ipcs -moba
look for the coloumn NATTACH with zero attachments. This semaphor can be be saftley killed by ipcrm -m followed by the number
Goodluck
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2001 07:33 AM
тАО11-06-2001 07:33 AM
Re: semaphor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2001 08:50 AM
тАО11-06-2001 08:50 AM
Re: semaphor
take a look at this:
http://us-support.external.hp.com/cki/bin/doc.pl/sid=0826f7060eeca7ed78/screen=ckiDisplayDocument?docId=200000051528636
BUT, BE VERY CAREFUL, BECAUSE YOU CAN TOAST YOUR MACHINE!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2001 09:01 AM
тАО11-06-2001 09:01 AM
Re: semaphor
I use ipcrm only when the applications that are using the IPC facilities are down but didn't release them. You basically do it when the application is down but still the facilities are shown up in ipcs.
Just cleaning them on the fly may cause lapses in the inter process communication and you may end up with jombies and defunct processes.
If resources are a problem give'em more. Or ask your application guys to fix their problems.
-Sri