Unix AIX

What is the best way to clear semaphores and shared memory, sometimes
we run those ipcs and ipcrm commands but some of them do not go away
and the server hangs, i would apprecaite a list of commands for unix
aix, we are on version 6.1
Thanks!!

SAPUNIX wrote:
> What is the best way to clear semaphores and shared memory, sometimes
> we run those ipcs and ipcrm commands but some of them do not go away
> and the server hangs
those who do not go away, are they really not in use anymore?

In comp.unix.aix, Sven Mascheck <mascheck@email.invalid> wrote:
>SAPUNIX wrote:
>> What is the best way to clear semaphores and shared memory, sometimes
>> we run those ipcs and ipcrm commands but some of them do not go away
>> and the server hangs
>
>those who do not go away, are they really not in use anymore?
My experience is if they don't go away from properly formatted ipcs / ipcrm
commands, it's because they're tied to processes which are hung waiting on
kernel threads (and basically, defunct).
In which case you need to kill the owning process (which is already dead,
and which probably won't respond to a kill -9 since it's stuck in a kernel
thread) or reboot the box.
SAP is the worst offender in this regard IME. It's the only app I've ever
known people have to constantly clear down shared memory / semaphores for
when it doesn't shut down cleanly.
--
Tony Evans
Saving trees and wasting electrons since 1993
blog -> http://perceptionistruth.com/
books -> http://www.bookthing.co.uk/
[ anything below this line wasn't written by me ]

Difference between HP Unix and Unix AIXWhat are the difference between HP Unix and HP AIX at command line ???
Is there any ?
dlprogress wrote:
> What are the difference between HP Unix and HP AIX at command line ???
> Is there any ?
>
>
Unless you're getting into system dependent stuff, no, there's no real
difference. However, one real difference is that AIX is an IBM and not
an HP product.
--
Fletcher Glenn
...