From owner-freebsd-questions@FreeBSD.ORG Tue Sep 23 07:46:12 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 8B397106567A for ; Tue, 23 Sep 2008 07:46:12 +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 46C008FC27 for ; Tue, 23 Sep 2008 07:46:12 +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 BBC5B1310A6 for ; Tue, 23 Sep 2008 09:26:14 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: 0.908 X-Spam-Level: X-Spam-Status: No, score=0.908 required=5.9 tests=[AWL=-1.440, BAYES_50=0.001, FH_HOST_ALMOST_IP=1.751, 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 YVseOY74YCz4 for ; Tue, 23 Sep 2008 09:26:12 +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 5264B13106B for ; Tue, 23 Sep 2008 09:26:12 +0200 (CEST) Message-ID: <48D89A12.1010608@cdmon.com> Date: Tue, 23 Sep 2008 09:26:10 +0200 From: Jordi Moles Blanco User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 07:46:12 -0000 hello everyone, i'm having some trouble with a freebsd 6.2 box and apache-2.0.59. When i try to install some apache_mods, i get this: For example with mod_cband: ********************* apache2_mod_cband: cannot create shared memory segment for remote hosts ********************* when i debug this, i get to the point where kernel says: ******************** semget: No space left on device ******************** It doesn't happen with all apache2_mods, but with a few, for example mod_cband and mod_tsunami. i've googled a lot and found some people with the same problem but with apache 1.3.x. Their fix doesn't work in my box. They have tried this: ***************** ipcs -s | grep nobody | perl -e 'while () { @a=split(/\s+/); print `ipcrm sem $a[1]`}' ********************* but it doesn't work for me. i also found this: ********************** 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. do you have any idea where the problem is? Thanks.