From owner-freebsd-questions@FreeBSD.ORG Mon Jun 5 18:15:12 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D940316C29E for ; Mon, 5 Jun 2006 18:15:12 +0000 (UTC) (envelope-from dking@ketralnis.com) Received: from ketralnis.com (melchoir.ketralnis.com [68.183.67.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E70643D4C for ; Mon, 5 Jun 2006 18:15:12 +0000 (GMT) (envelope-from dking@ketralnis.com) Received: from [192.168.1.28] (pix.xythos.com [64.154.218.194]) (authenticated bits=0) by ketralnis.com (8.13.1/8.13.1) with ESMTP id k55IDbIO057306; Mon, 5 Jun 2006 11:13:39 -0700 (PDT) (envelope-from dking@ketralnis.com) In-Reply-To: <20060605125237.0dd0f77b.wmoran@collaborativefusion.com> References: <0CFDA5B7-6649-4891-BB66-31D9BCB83B38@ketralnis.com> <20060604085148.5f7c5287.wmoran@collaborativefusion.com> <20060604193932.1872024a.wmoran@collaborativefusion.com> <27CE73B8-B2DC-4EB5-A350-8259E7AFDD1A@ketralnis.com> <20060605125237.0dd0f77b.wmoran@collaborativefusion.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: David King Date: Mon, 5 Jun 2006 11:14:58 -0700 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.750) Cc: Bill Moran Subject: Re: shmget: No space on device (sshit) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 18:15:19 -0000 >> I have all of the IPC-related sysctls listed below. I do see that >> kern.ipc.shmmni is set to 192, and that kern.ipc.semmni is set to 10. >> Are those the maximums? What does MNI mean in those names? Is there a >> man page or recommended document that describes what these mean in >> detail? > ipcs -M or /usr/src/sys/conf/NOTES > I believe the "mni" portion is "maximum number of identifiers". ipcs -M shows: shminfo: shmmax: 134217728 (max shared memory segment size) shmmin: 1 (min shared memory segment size) shmmni: 192 (max number of shared memory identifiers) shmseg: 128 (max shared memory segments per process) shmall: 8192 (max amount of shared memory in pages) So yes, it had definitely reached its max. So I used ipcrm to remove all of the shared memory segments, and the problem seems to have cleared up for now. A few rounds of simulating failed logins to sshit shows that it does allocate shared memory segments, and every time it adds an IP address it seems to allocate a new shared memory segment instead of finding the old one. But from here it looks like an issue to take up with the developer, since it seems to be a bug. Thanks Bill for your help!