From owner-freebsd-questions@FreeBSD.ORG Tue Sep 23 08:06:36 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 70470106566B for ; Tue, 23 Sep 2008 08:06:36 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id 2C5068FC1B for ; Tue, 23 Sep 2008 08:06:36 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: by gxk10 with SMTP id 10so3923964gxk.19 for ; Tue, 23 Sep 2008 01:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=m9+ygcD9LaYT0DyvLXv7KJ1/fnqAZ/j9IbrD2BI/rrQ=; b=JKbbFwqe5fJm+jPuIMOlQZaoXdsqR5DrFDWsbc1rO/VWK2qISmc71pYeujJMEdTl9t 78LYsJv4uJBsoyV/geONY+AQIAkV3SKim4YBpUH0z1bIN3k5J7xuTeb+gYrU4U0qhSop toJjbmiaOh/HYJhjhWEPm4w8vwm3dvCo4Dhg8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=w4OpRJdM3hjD6xRcj4ms7PrrM5FNY+DE6lfG5fdbeepSbwYUgH7VfRbSlCeRnu+6Pv 9fZeOp5V/jKh47KF3ITBdHGhKnKhlG+62IAVlRnc17yl09Y980dPMa/Kdun0b8ZrngnY 4UYCgt0V3Kq0ur1Piy/WEZTmLjiqQWQwIxt+w= Received: by 10.100.141.5 with SMTP id o5mr4022171and.127.1222157195414; Tue, 23 Sep 2008 01:06:35 -0700 (PDT) Received: by 10.100.253.17 with HTTP; Tue, 23 Sep 2008 01:06:35 -0700 (PDT) Message-ID: <9e20d71e0809230106y30bd4ba0o51b814cae07f4955@mail.gmail.com> Date: Tue, 23 Sep 2008 11:06:35 +0300 From: "Artis Caune" To: jordi@cdmon.com In-Reply-To: <48D89A12.1010608@cdmon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48D89A12.1010608@cdmon.com> Cc: freebsd-questions@freebsd.org Subject: Re: semget: no space left on freebsd 6.2 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: Tue, 23 Sep 2008 08:06:36 -0000 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. -- regards, Artis Caune <----. CCNA <----|==================== <----' didii FreeBSD