Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How to increase maximum number of queues for mqueue or mq?: (1 Item)
   
How to increase maximum number of queues for mqueue or mq?  
We are using QNX632 on x86 and would like to increase the maximum number of queues from about 1000 to at least 1500.

We have tried already to remove any file descriptor associated limits, but they do not seem to have an effect on the 
limit of number of queues:

1. Starting the procnto with -F 16000 to increase the file descriptor limit
    We get 'ulimit -a' to show:

    file(blocks)         unlimited
    ...
    nofiles(descriptors) 16000
    ...
    vmemory(kbytes)      unlimited

2. Within a process, we have tried setrlimit(RLIMIT_NOFILE, &rlp) with 16000
     and verified that change with both:
     getrlimit(), and 
     sysconf(_SC_OPEN_MAX).

3. We have also tried 'mqueue' and 'mq' (which requires linking with libmq.so.1).

Whether with one process or any number of processes, there seems to be either a procnto limit or a limit within mqueue/
mq.

Thanks in advance for your help,

-Fernando Gonzalez