Skip to contentSkip to conversation

scaling of msgmni

DISCUSSION Manfred Spraul 1 participant 1 message May 25, 2014

lore
Share & tools
lore
#0 lore raw

Hi Nadia,

You added a patch that adds dynamic scaling of MSGMNI (f7bf3df8). The description begins with:

Quoted 3 lines

On large systems we'd like to allow a larger number of message queues. In some cases up to 32K. However simply setting MSGMNI to a larger value may cause problems for smaller systems.

Which problems did you imagine?

For shm, we have just completed patches that set the limit to (nearly) ULONG_MAX as default.

Perhaps we could do the same step for msg, too?
Remove the whole logic, increase the limits to the maximum supported. (or, if your concerns are valid and apply to shm, too - drop the patch for shm).

--
Manfred