Questions tagged [mqueue]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
12 views

Timeout Error while using Command Queue

I am new to command queue mechanism in Linux. I am using the following: Kernel Tree: git clone https://android.googlesource.com/kernel/msm Kernel Ver: 4.9.96 While doing read/write I observe a timeout ...
0
votes
1answer
31 views

Ran a program as root on accident and now my mq-open cmd's fail with Permisson Denied

Ok so I wanted to know where to see the actual message queue files in a linux system? I have a program that was compiled and ran containing message queues but I ran the program as root by accident and ...
1
vote
1answer
65 views

Equivalent of /dev/mqueue to enumerate SysV message queues

Linux supports two kinds of message queues: POSIX (i.e., those created by mq_open), and System V (i.e., those created by msgget). For POSIX message queues, mq_overview(7) documents that you can ...
0
votes
1answer
342 views

Check if fs.mqueue.msg_max must be increased and do it

I need to run a program with a bash script. This program may require a larger than default message queue. I know I can increase it with: sudo sysctl fs.mqueue.msg_max=3000 And I could, for ...
0
votes
1answer
374 views

Why do some multiqueue (qdisc mq) have n tx / 1 rx, while others have 1 tx / n rx?

While trying to understand multiqueue queuing disciplines (mq qdisc), I stumbled across the following configs : On my laptop, my WiFi interface implements a mq qdisc with 1 rx and 4 tx : $ sudo tc ...
2
votes
0answers
108 views

Why is the limit for POSIX message queues so low?

Was going to use a bunch of message queues to communicate between different threads in two processes, but it appears that the max is 10 (Ubuntu 18.10). Just wondering what the reason is for not ...
3
votes
0answers
916 views

Multiqueue tun/tap interface

I am trying to understand how Multiqueue tuntap interface works. Following the instructions provided at: https://www.kernel.org/doc/Documentation/networking/tuntap.txt I was able to create multiple ...
0
votes
1answer
1k views

Handling multiple messages in message queue

I've done some research about this topic but I didn't understand it quite well. From msgsnd man page : The msgsnd() system call appends a copy of the message pointed to by msgp to the ...
2
votes
0answers
458 views

How to check usage of mqueues reliably?

I run a testing server for software that depends on the massive usage of mqueues (POSIX messages queues). I increased limits to a reasonable level and got it working a long time ago. However, the ...