Can someone tell me how message queues parameters settings are different in Mac OS X vs other OS such as freebsd or Solaris?
Look in bsd/sys/msg.h in the xnu kernel source:
Code:
...
#define MSGSZ 8
#define MSGSEG 2048
#define MSGMAX (MSGSZ*MSGSEG)
#define MSGMNB 2048
#define MSGMNI 40
#define MSGTQL 40
...
Although System V semaphores and shared memory parameters are settable on Mac OS X through the sysctl interface, message queue ones are not. If I remember correctly, you will need to recompile the kernel (and thus require kernel source) to do that.
Partager