Sponsored Content
Full Discussion: Unix message Queue
Top Forums UNIX for Advanced & Expert Users Unix message Queue Post 38814 by kel on Sunday 27th of July 2003 10:30:28 AM
Old 07-27-2003
Question Unix message Queue

Hi,
I am working closly with unix message queues i have encountered the following -
after creating the Q and start working with it (pushing & pulling) i receive the following stange parameters on the q's -
STIME=no_entry
Qnum=0
CBYTES=4140

when this happens, the Q is disabled (meaning i can not approach it by any way)

can anyone help ?

Thanks In Advanced
Kel

P.s
The same phonomenen is created on all the Q's i am working with.
 

10 More Discussions You Might Find Interesting

1. Programming

a message queue question..

Hi there: Thanks first. When I use a message queue amony severl processes, will I have to synchronize the queue? I don't think I would have to because a message queue is implemented in a link listed. Correct me If I am wrong... (0 Replies)
Discussion started by: yanhu
0 Replies

2. Programming

Deleting ALL message queue

hi all, I'm working on this problem for 2 days. Can somebody tell me that how to delete all message queues from the system ? Since "ipcs -q" gives the list of all existing message queue, then there must be a system call and data stucture where from I can fetch the data about all existing... (2 Replies)
Discussion started by: v_rathor
2 Replies

3. Programming

Message Queue Problem Again..

Is there any way one can delete , say , a particular message from a message queue on system V? (2 Replies)
Discussion started by: satansfury
2 Replies

4. IP Networking

message queue problem

I am sending and retriving the message to the queue the problem is after retrieving the message can i see what is there in my message queue. (actually in my application i am encountring some garbage value) so i want to retieve this garbage value and also want to know its size how... (0 Replies)
Discussion started by: ramneek
0 Replies

5. Programming

message queue

Hello, i need to write a message queue "chat server", that should work only localy. Can anyone please help me with some ideas and peshaps code. I'm studying the UNIX IPC mechanisms right now. So far, i understand how it works but i still cannot get an idea how to write a chat programm... ... (2 Replies)
Discussion started by: etenv
2 Replies

6. Programming

How to limit max no of message in a posix message queue

Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies

7. Programming

Message Queue Problem

Hi all, I need help about message queues, i have a server-client program that communicates each other via msg queue, firstly server opens its msg queue and waits for msg then client opens server msg queue and its own msg queue(for receiving msg from server,clients sends msg to server msg... (7 Replies)
Discussion started by: SaTYR
7 Replies

8. Programming

UNIX Message Queue

Hello !!!!! I have a simple question but i can't find the answer anywhere hope to meet it here. Why it is a bad idea to pass pointers through message queues ? Most structs i see all of their char types are arrays... Is it becase having pointers means we could possibily send wrong bytes ? For... (2 Replies)
Discussion started by: qlyine
2 Replies

9. Shell Programming and Scripting

Move xml files from unix to message queue.

Hi, I need to move the XML files from the UNIX to the message queue. Please help me out to write the code.. Thanks, Mohana Krishnan (0 Replies)
Discussion started by: krishnan_6015@y
0 Replies

10. Programming

Please help:program hang stuck there signal handling on POSIX Message Queue UNIX C programming

in a single main() function,so need signal handling. Use Posix Message Queue IPC mechanism , can ignore the priority and other linked list message,to implement the scenario: client:Knock Knock server:who's there client: Eric Server:Eric,Welcome. client:exit all process terminated ... (1 Reply)
Discussion started by: ouou
1 Replies
IPCS(1) 						    BSD General Commands Manual 						   IPCS(1)

NAME
ipcs -- report System V interprocess communication facilities status SYNOPSIS
ipcs [-abcmopqstMQSTy] [-C core] [-N system] [-u user] DESCRIPTION
The ipcs utility provides information on System V interprocess communication (IPC) facilities on the system. The options are as follows: -a Show the maximum amount of information possible when displaying active semaphores, message queues, and shared memory segments. (This is shorthand for specifying the -b, -c, -o, -p, and -t options.) -b Show the maximum allowed sizes for active semaphores, message queues, and shared memory segments. The ``maximum allowed size'' is the maximum number of bytes in a message on a message queue, the size of a shared memory segment, or the number of semaphores in a set of semaphores. -c Show the creator's name and group for active semaphores, message queues, and shared memory segments. -m Display information about active shared memory segments. -o Show outstanding usage for active message queues, and shared memory segments. The ``outstanding usage'' is the number of messages in a message queue, or the number of processes attached to a shared memory segment. -p Show the process ID information for active semaphores, message queues, and shared memory segments. The ``process ID information'' is the last process to send a message to or receive a message from a message queue, the process that created a semaphore, or the last process to attach or detach a shared memory segment. -q Display information about active message queues. -s Display information about active semaphores. -t Show access times for active semaphores, message queues, and shared memory segments. The access times is the time of the last con- trol operation on an IPC object, the last send or receive of a message, the last attach or detach of a shared memory segment, or the last operation on a semaphore. -C core Extract values associated with the name list from the specified core instead of the default /dev/kmem. Implies -y. -M Display system information about shared memory. -N system Extract the name list from the specified system instead of the default /boot/kernel/kernel. Implies -y. -Q Display system information about messages queues. -S Display system information about semaphores. -T Display system information about shared memory, message queues and semaphores. -y Use the kvm(3) interface instead of the sysctl(3) interface to extract the required information. If ipcs is to operate on the run- ning system, using kvm(3) will require read privileges to /dev/kmem. -u user Display information about IPC mechanisms owned by user. User specification can be in the form of a numeric UID or a login name. If none of the -M, -m, -Q, -q, -S, or -s options are specified, information about all active IPC facilities is listed. RESTRICTIONS
System data structures may change while ipcs is running; the output of ipcs is not guaranteed to be consistent. FILES
/dev/kmem default kernel memory /boot/kernel/kernel default system name list SEE ALSO
ipcrm(1) AUTHORS
Thorsten Lockert <tholo@sigmasoft.com> BUGS
This manual page is woefully incomplete, because it does not at all attempt to explain the information printed by ipcs. BSD
March 24, 2004 BSD
All times are GMT -4. The time now is 04:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy