Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 12:06:02 +0800
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        Brandon Allbery <allbery.b@gmail.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: mq_open fails when message queue attributes are set
Message-ID:  <20140916120602.2f1dc123@X220.alogt.com>
In-Reply-To: <CAKFCL4WMtF2UFxM=2By4hzME72Xon3R_%2B1a4Y3Bfghc2f2LeQA@mail.gmail.com>
References:  <20140916113247.7158a96d@X220.alogt.com> <CAKFCL4WMtF2UFxM=2By4hzME72Xon3R_%2B1a4Y3Bfghc2f2LeQA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

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

> On Mon, Sep 15, 2014 at 11:32 PM, Erich Dollansky <
> erichsfreebsdlist@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140916120602.2f1dc123>