From owner-freebsd-ports@FreeBSD.ORG Tue Jun 1 01:45:39 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 961A9106564A; Tue, 1 Jun 2010 01:45:39 +0000 (UTC) (envelope-from bernardo.maciel@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3B1068FC15; Tue, 1 Jun 2010 01:45:38 +0000 (UTC) Received: by gyh20 with SMTP id 20so4072937gyh.13 for ; Mon, 31 May 2010 18:45:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9oFRYa4Q9sYLNL8yfnNDsC+ak+J4R/E1uyr6GwvoIBY=; b=LQ9iFQ0DMjuom834w0aQ+q82DrQLTH1bLnA7wdzn3+H4QLCqCl/waOXDI2t4VPmpz2 TQJfbosv82pyE7X+fNe9p/epiIfi59XhBnGBg51tp6kZe0l4+xQjN4XtfQ+r5MG71kR6 R5w4JSlq2nc6ecL+ySdEq8E1RAe1lkioYLcRw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=K7ycxjsZ+wpk78iVKFzW8OXKPwUs/lSRmqcvioaq+Dy0t3RPNSFynIh+dbXOZxLZuo 8QhfXTzC3ANdhLGpR+0qFZSPshJlSwCSdeOTmfLHrZi1AfZxbHtNJNBEXuZ+lga9+ORX FNlQCym+Q04ovtbB2+y+ERV1WdSydHneupqJs= MIME-Version: 1.0 Received: by 10.101.192.24 with SMTP id u24mr5716655anp.181.1275356738286; Mon, 31 May 2010 18:45:38 -0700 (PDT) Received: by 10.100.121.13 with HTTP; Mon, 31 May 2010 18:45:38 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Jun 2010 02:45:38 +0100 Message-ID: From: Bernardo Maciel To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: ports , python Subject: Re: FreeBSD Port: python26-2.6.5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 01:45:39 -0000 On Mon, May 31, 2010 at 23:59, Garrett Cooper wrote: > On Mon, May 31, 2010 at 9:49 AM, Bernardo Maciel > wrote: >> Hello, >> >> >> >> I recently ran into a problem when compiling python 2.6.5 under >> FreeBSD 8.0-p2 . I searched around, asked in FreeBSD forums ( >> http://forums.freebsd.org/showthread.php?t=3D14268 ) and then e-mailed >> the python-help mailing list. The problem isn't yet solved. >> >> My problem is that when I compile python 2.6.5, I get a "sem_init: No >> space left on device" message when the script is building the _ssl >> extension: > > ... > > =A0 =A0Increase the value of the kern.ipc.shmall sysctl because you have > other applications eating up POSIX shmem in the background. > HTH, > -Garrett > Hello again, Thank you for your reply. I increased the values of kern.ipc.shmall and kern.ipc.shmmax but still no luck. I have 256MB RAM and 256MB of swap space, so I searched around and chose 450MB for kern.ipc.shmmax, which gives a value of 115200 for kern.ipc.shmall, since hw.pagesize is 4096. The limit on kern.ipc.shmmax is RAM + swap, right? Here is the kern.ipc sysctl: ------------------------------ FPserver# sysctl kern.ipc kern.ipc.maxsockbuf: 262144 kern.ipc.sockbuf_waste_factor: 8 kern.ipc.somaxconn: 128 kern.ipc.max_linkhdr: 16 kern.ipc.max_protohdr: 60 kern.ipc.max_hdr: 76 kern.ipc.max_datalen: 124 kern.ipc.nmbjumbo16: 1096 kern.ipc.nmbjumbo9: 2192 kern.ipc.nmbjumbop: 4384 kern.ipc.nmbclusters: 8768 kern.ipc.piperesizeallowed: 1 kern.ipc.piperesizefail: 0 kern.ipc.pipeallocfail: 0 kern.ipc.pipefragretry: 0 kern.ipc.pipekva: 36864 kern.ipc.maxpipekva: 4169728 kern.ipc.msgseg: 2048 kern.ipc.msgssz: 8 kern.ipc.msgtql: 40 kern.ipc.msgmnb: 2048 kern.ipc.msgmni: 40 kern.ipc.msgmax: 16384 kern.ipc.semaem: 16384 kern.ipc.semvmx: 32767 kern.ipc.semusz: 136 kern.ipc.semume: 10 kern.ipc.semopm: 100 kern.ipc.semmsl: 60 kern.ipc.semmnu: 30 kern.ipc.semmns: 60 kern.ipc.semmni: 10 kern.ipc.semmap: 30 kern.ipc.shm_allow_removed: 0 kern.ipc.shm_use_phys: 0 kern.ipc.shmall: 115200 kern.ipc.shmseg: 128 kern.ipc.shmmni: 192 kern.ipc.shmmin: 1 kern.ipc.shmmax: 471859200 kern.ipc.maxsockets: 8768 kern.ipc.numopensockets: 11 kern.ipc.nsfbufsused: 0 kern.ipc.nsfbufspeak: 4 kern.ipc.nsfbufs: 2448 ------------------------------ I still get the same message when the script is building the _ssl extension. Can you help? Best regards, --=20 Bernardo