From owner-freebsd-stable@FreeBSD.ORG Tue Sep 16 04:06:10 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 353F1468 for ; Tue, 16 Sep 2014 04:06:10 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E6FACEC for ; Tue, 16 Sep 2014 04:06:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=dZ1E2C36U82p5bEGNMs1zs5b+T3s+s8eyGXhbuzcxR8=; b=GglowUDYDD6ZQZHtKYbuf9cMGUBnadWVXcVYKj4ouCCKGKY0crUVG8+9zOrCnyA+OChQBMtnVR+zW0K5ArAAk4kCgXG/rqJzxkPgNt4r9dz463hw7Q0Zw0SvvbtBukdTq43NX/G73okRUzUKvLqDX5AtoV3y23bsQCthpRas4JM=; Received: from [114.121.128.87] (port=61125 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1XTk1n-002ylx-1x; Mon, 15 Sep 2014 22:06:09 -0600 Date: Tue, 16 Sep 2014 12:06:02 +0800 From: Erich Dollansky To: Brandon Allbery Subject: Re: mq_open fails when message queue attributes are set Message-ID: <20140916120602.2f1dc123@X220.alogt.com> In-Reply-To: References: <20140916113247.7158a96d@X220.alogt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2014 04:06:10 -0000 Hi, On Mon, 15 Sep 2014 23:52:10 -0400 Brandon Allbery 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