From owner-freebsd-python@FreeBSD.ORG Sat Jun 12 02:31:39 2010 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE9451065673; Sat, 12 Jun 2010 02:31:39 +0000 (UTC) (envelope-from bernardo.maciel@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id C5E8F8FC15; Sat, 12 Jun 2010 02:31:38 +0000 (UTC) Received: by wyb33 with SMTP id 33so1782785wyb.13 for ; Fri, 11 Jun 2010 19:31:37 -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=yBOVpVOzAv9lN/aVs0wXC/uyj1rtJGuAscjxDJtlJdM=; b=Ffz1r1FVAub3GEKj7VDdMZkcIuPXDok61jm+kXI9A8upS5uvsjE+xDo2kub4TfxdNs hApURWsISLwGyfMxp147kOFn9nwXT7GqyV6FV8q9GBQeHZaVUbyoAkrHKxxWipeTVpF7 ofYGg2ZVhI/H+YPADOcG14zQaWxV77QKMA/10= 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=HTykYuCAIbIv3/Qup2cFryf4VwxytwznioGt8u2uGPagCstKfPJnflq21by4OFVd43 HZ8dbEFUhBDV1T/oXCBrQOPOduTErcs8dzHwYgaWZGoktYjQMNFG3XTuBWX/8SWKwAiQ 2oVJ32V6fKR+/EbCDn3utIDgYwEe7blTIKs00= MIME-Version: 1.0 Received: by 10.216.162.84 with SMTP id x62mr148194wek.39.1276309896979; Fri, 11 Jun 2010 19:31:36 -0700 (PDT) Received: by 10.216.171.15 with HTTP; Fri, 11 Jun 2010 19:31:36 -0700 (PDT) In-Reply-To: References: Date: Sat, 12 Jun 2010 03:31:36 +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-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2010 02:31:39 -0000 On Tue, Jun 1, 2010 at 02:45, Bernardo Maciel w= rote: > 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, > > -- > Bernardo > After messing around with kern.ipc sysctls without any luck, I ended up resorting to pkg_add . Thanks for your help. Best regards, --=20 Bernardo