mq_open fails when message queue attributes are set

Erich Dollansky erichsfreebsdlist at alogt.com
Tue Sep 16 04:06:10 UTC 2014


Hi,

On Mon, 15 Sep 2014 23:52:10 -0400
Brandon Allbery <allbery.b at gmail.com> wrote:

> On Mon, Sep 15, 2014 at 11:32 PM, Erich Dollansky <
> erichsfreebsdlist at alogt.com> wrote:
> 
> > Attributes.mq_maxmsg = 1024;
> >
> 
> It looks like the maximum value allowed here is 100 by default.
> (sysctl kern.mqueue.maxmsg)
> 

yes, this seems to be the problem. I have taken a very old program of
mine from a different platform as the starting point. So, I took all
changes I made as the possible cause without any result.Just this value
was not changed.

Anyway, thanks for your help.

Erich



More information about the freebsd-stable mailing list