Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 1999 10:08:02 +1100 (EST)
From:      Stanley Hopcroft <Stanley.Hopcroft@noteshub01.aipo.gov.au>
To:        questions@FreeBSD.ORG
Cc:        Stanley.Hopcroft@IPAustralia.Gov.AU
Subject:   Programming question - How do I make SysV IPC Message queues bigger ?
Message-ID:  <Pine.BSF.4.10.9912290940340.310-100000@stan.aipo.gov.au>

next in thread | raw e-mail | index | archive | help
Dear Ladies and Gentlemen,

I am writing to ask your help with an application using System V Message
Queues for IPC.

I would like to modify the application to increase the size of

1 each message (from MSGMMAX in sys/msg.h, of 2048 bytes)
2 the queue capacity (another constant in that header file)

Should I modify the kernel definitions of those constants and then 
have the application define these constants accordingly ?

The fantastic book "Advanced Programming in the Unix Environment" (APUE)
suggests that these limits can be redefined but I am not sure how to.

sysctl does not seem to deal with these limits nor does ulimit or
login.conf.

Your advice will be gratefully accepted. APUE does not seem to have a high
opinion of Sys V IPC but I am too ignorant to consider named pipes or
other alternatives.

Thank you,

Yours sincerely.

Network Specialist
IP Australia

+61 2 6283 3189
+61 2 6281 1353 FAX




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9912290940340.310-100000>