Modify the Message Queue size:
Root: User:/etc/sysctl. conf
Kernel. msgmnb = 4203520
# Kernel. msgmnb = 3520
Kernel. msgmni= 2878
Run sysctl-P after saving.,Then all message queues are rebuilt.
IPCS-Q: displays all message queues.
IPCS-QT: display the creation time of the message queue, the time when the last message is sent and received
Mas @ [172.16.9.38:/MAS] $ IPCS-QT
------ message queues send/Recv/change times --------
msqid owner send Recv change
65536 mas not set May 15 15:56:39
98305 mas May 15 15:59:22 May 15 15:59:22 May 15 15:56:39
IPCS-QP: displays the ID of the process that places messages in the message queue and retrieves messages from the message queue.
Mas @ [172.16.9.38:/MAS] $ IPCS-QP
------ Message queues PIDs --------
Msqid owner lspid lrpid
65536 mas 0 0
98305 mas 21941 21941
IPCS-Q-I msgid: displays the message information in the message queue structure:
Mas @ [172.16.9.38:/MAS] $ IPCS-Q-I 98305
Message Queue msqid = 98305
Uid = 512 gid = 500 cuid = 512 cgid = 500 mode = 0600
Cbytes = 0 qbytes = 4203520 qnum = 0 lspid = 21941 lrpid = 21941
Send_time = Thu May 15 16:00:19 2008
Rcv_time = Thu May 15 16:00:19 2008
Change_time = Thu May 15 15:56:39 2008
IPCS-Ql: displays the Message Queue restrictions:
Mas @ [172.16.9.38:/MAS] $ IPCS-QL
------ Messages: Limits --------
Max queues system wide = 2878 // maximum number of processes
Max size of message (bytes) = 8192 // maximum message length in the queue
Default Max size of queue (bytes) = 4203520