1835104 Members
2226 Online
110074 Solutions
New Discussion

Message Queue MODE

 
Anthony Barkhuizen_1
Occasional Contributor

Message Queue MODE

I have a problem with one of my message queues - does not respond.
When it is normal and working :
T ID KEY MODE OWNER GROUP
Message Queues:
q 0 0x3c1c0466 -Rrw--w--w- root root
q 1 0x3e1c0466 --rw-r--r-- root root
q 2 0xffff0001 -Rrw-rw-rw- appl users
q 3 0xffff0002 --rw-rw-rw- appl users

When the problem occurs:
T ID KEY MODE OWNER GROUP
Message Queues:
q 0 0x3c1c0466 -Rrw--w--w- root root
q 1 0x3e1c0466 --rw-r--r-- root root
q 2 0xffff0001 -Rrw-rw-rw- appl users
q 3 0xffff0002 SRrw-rw-rw- appl users

The only difference I see is the SR added to the mode for queue 0xffff0002. What does this indicate ?

Thanks for your response.
1 REPLY 1
Muthukumar_5
Honored Contributor

Re: Message Queue MODE

R A process is waiting on a msgrcv()
S A process is waiting on a msgsnd()

Read ipcs man page.

--
Muthu
Easy to suggest when don't know about the problem!