From owner-freebsd-questions@FreeBSD.ORG Tue Sep 23 09:29:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 593071065684 for ; Tue, 23 Sep 2008 09:29:15 +0000 (UTC) (envelope-from jordi@cdmon.com) Received: from correo.cdmon.com (correo.cdmon.com [212.36.74.112]) by mx1.freebsd.org (Postfix) with ESMTP id 14BE78FC22 for ; Tue, 23 Sep 2008 09:29:09 +0000 (UTC) (envelope-from jordi@cdmon.com) Received: from localhost (localhost.cdmon.com [127.0.0.1]) by correo.cdmon.com (Postfix) with ESMTP id 96CB6131187; Tue, 23 Sep 2008 11:29:08 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: -1.265 X-Spam-Level: X-Spam-Status: No, score=-1.265 required=5.9 tests=[AWL=0.738, BAYES_00=-2.599, SPF_SOFTFAIL=0.596] Received: from correo.cdmon.com ([127.0.0.1]) by localhost (correo.cdmon.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6nPB-ViaLB6h; Tue, 23 Sep 2008 11:29:05 +0200 (CEST) Received: from [192.168.0.174] (62.Red-217-126-43.staticIP.rima-tde.net [217.126.43.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by correo.cdmon.com (Postfix) with ESMTP id 151341311AB; Tue, 23 Sep 2008 11:29:05 +0200 (CEST) Message-ID: <48D8B6E0.50705@cdmon.com> Date: Tue, 23 Sep 2008 11:29:04 +0200 From: Jordi Moles Blanco User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Artis Caune , freebsd-questions@freebsd.org References: <48D89A12.1010608@cdmon.com> <9e20d71e0809230106y30bd4ba0o51b814cae07f4955@mail.gmail.com> In-Reply-To: <9e20d71e0809230106y30bd4ba0o51b814cae07f4955@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: semget: no space left on freebsd 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jordi@cdmon.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2008 09:29:15 -0000 hi, thanks a lot for the info. i'll give it a try and report back. En/na Artis Caune ha escrit: > On Tue, Sep 23, 2008 at 10:26 AM, Jordi Moles Blanco wrote: > >> Also try adding this options on FreeBSD kernel config: >> options SEMMNI=20 >> options SEMMNS=120 >> >> And set the kern.maxfiles sysctl option higher than 1000. >> >> ********************* >> >> it didn't work either. >> > > Hi, > > you don't have to recompile the kernel to change those, just add them > in /boot/loader.conf: > kern.ipc.semmni="256" > kern.ipc.semmns="512" > kern.ipc.semmnu="256" > > You should also add these lines to /etc/sysctl.conf: > kern.ipc.shmmax=536870912 > and/or also: > kern.ipc.semmap=256 > kern.ipc.shm_use_phys=1 > kern.ipc.shmall=131072 > depending on how much memory you have and how mush shared memory modules need. > > > > > >