Tagged Questions
1
vote
3answers
28 views
Need to increase buffer for IPC message queue in OpenWRT
I'm just learning how to use message queues, and I am having a little difficulty with them. I am using two completely separate applications to do the testing -- one is the "sender", and the other is ...
0
votes
0answers
22 views
IPC socket/queue performance improves if client and server are running on the same processor [closed]
I have been messing around with sockets and message queues as IPC mechanisms on Linux and have some results I cannot explain. I'm running a SMP Linux kernel with 4 cores.
(Linux build-15 ...
-1
votes
0answers
31 views
how to find sent mails in qmail queue?
My H.D.D is filled through a local php script,
I found the following directory contains large data
/var/qmail/queue/mess/
and i can use the following command to delete all files in this directory:
...
0
votes
1answer
43 views
Using Pthreads in a Mulithreaded Server
i am programming a Mulithreaded Client/Server between processes program which uses message queue's.
The Server will handle the message's send by the clients, and later it should give the work to a ...
0
votes
0answers
27 views
ENOMEM error when trying to do mq_open repeatedly with the same Message Queue Name
Am trying to Implement a Server - Client communication using POSIX message Queues. Am getting "ENOMEM" error, when i try to open a Message Queue. This problem occurs in a strange way. The Scenario ...
0
votes
1answer
63 views
Message Queue keeps sending/recieving garbage
In my assignment I have to fork processes to simulate a distributed operating system with process allocating using Heuristic Algorithm On Linux using IPC.
Now I fork n children and then make them ...
0
votes
1answer
49 views
Signals interrupting the message queue primitives and system calls
I have a Qt program which contains :
Many Qt signal-slot pairs, for implementing some socket programming.
System calls for doing some file operations
Some Posix Message queue code, in which, process ...
1
vote
1answer
104 views
adjust number of messages in posix message queue
When i trying to reduce the number of message in POSIX message queue, its maintaining maximum of 10. Is it possible to reduce or increase the number of messages in POSIX message queue?
following ...
2
votes
0answers
64 views
Where is Message queue content stored?
While using the POSIX Message queues I noticed there were some files being created on the File system with the name I was creating the queues. My questions :
Q1. Do message queues queue up the ...
0
votes
1answer
107 views
Linux Message Queues - Multiple receivers
I've recently been investigating and playing around with linux message queues and have come across something that I don't quite understand why it happens!
If we have two programs running that are ...
2
votes
2answers
132 views
Linux IPC selection?
I have two processes A and B. A and B needs to communicate (Bi-directional) sometimes for passing signals, messages etc.
I have done some basic research about IPC's available in Linux like semaphore, ...
1
vote
2answers
117 views
Reading from message queue (non-blocking if empty)
I'm writing to message queue
if (msgsnd(q, &msg, sizeof(message), slaves_list[to]) == -1)
and reading
if (msgrcv(q, &msg, sizeof(message), id, 0) == -1)
but what if this queue is empty? ...
1
vote
1answer
100 views
How does the server knows the message queue is destroyed
I have a written a small server client message queue program, where the server creates the message queue, writes into the queue and client gets the message queue id and reads the written data from the ...
0
votes
0answers
15 views
How to use the mqueue api in linux3.7?
I have study the kernel of linux3.7 now,and recently i have been learning mqueue of IPC.However,i can not understand how to use the api such as mq_open,mq_unlink to create message queue and use it.
If ...
1
vote
0answers
75 views
Rabbitmq server fail to start
I have install two rabbitmq-server in two computer A and B.
But I can't start rabbitmq-server in computer A.
rabbitmq-server can be started in computer B.
Error message in computer A looks like:
...