![]() Probably we just should reboot the system to solte the problem, but its a strange bug. Yes, we also found an article about RemoveIPC, we tried to reproduce, but it can't. ![]() Yes, we do not ever use code to remove queues and we have never experienced same in the last 20 years (we have another, but same linux server where everything works fine). Of course, after the message queue deleting, the server also crashing In the QNX implementation, an mqdt is a file descriptor. Like pipes and FIFOs, all message queue operations are performed based on message queue descriptors (an mqdt). But sometimes, under one of them, the message queues are deleted however the servers are running good under this user. The message-queue structures are found in the header file.To do this with POSIX message queues, we must mount the message queue file system using the following commands: su Password: mkdir /dev/mqueue mount -t mqueue none /dev/mqueue exit. The msglen argument specifies the size of the buffer pointed to by msgptr this must be greater than or equal to the mqmsgsize attribute of the queue (see. These files can be listed and removed with ls and rm. mqreceive () removes the oldest message with the highest priority from the message queue referred to by the message queue descriptor, and places it in the buffer pointed to by msgptr. We don't experience deleting message queues under three of four users. POSIX IPC objects are implemented as files in virtual file systems. For example, we have 12 message queues (under four users) now, because 12 servers are running (under four users). ![]() The servers can running by multiple copies under one user. We are developing more similar servers on this machine, but they are running under four different linux user (they have equal settings), because the have different work. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |