From owner-freebsd-performance@FreeBSD.ORG Thu Jun 12 16:32:25 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDF80106568C for ; Thu, 12 Jun 2008 16:32:25 +0000 (UTC) (envelope-from felipebgn@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.179]) by mx1.freebsd.org (Postfix) with ESMTP id 4DF018FC14 for ; Thu, 12 Jun 2008 16:32:24 +0000 (UTC) (envelope-from felipebgn@gmail.com) Received: by ik-out-1112.google.com with SMTP id c30so2974402ika.3 for ; Thu, 12 Jun 2008 09:32:23 -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=8tHB4N7dyXI05zA/eWkW5r4+nxp/1cxTiBnXWX9SY9U=; b=sZ8LVlsFYeoti2xJ15co7Z/NPmZuF/VfF3HWo4ep9yGVLtyCEuVvbVYxkR186Xk2KD eb+O8n850/yOtVqiMObMcwq0XZ7VYHwW3qbG70jSVyR+B6AgTY+nOxGI95KDJXvehk+i BkTD4LUBFQko0o+MicbpBktY7PqejmdGlYhx0= 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=YFyfc1XgOZUXnbtuxxuzoCINqccTF6zJfpGVl3DXQ5AWBh3bgGxbdr35tnfG04a4+5 Q/CezLDrT4swGl/4Z1/1GDRmB2Y/f5iwCuissd3xN14aU6Zcz6Jkpcbwv2+5DeGH6DNE OEG0oEQuNkELxvszjM8SpKSNfJSXQRSFnoDvw= Received: by 10.210.92.8 with SMTP id p8mr1354481ebb.182.1213288343894; Thu, 12 Jun 2008 09:32:23 -0700 (PDT) Received: by 10.210.19.16 with HTTP; Thu, 12 Jun 2008 09:32:23 -0700 (PDT) Message-ID: <928b5da90806120932v49113d35if81b12c45c86c662@mail.gmail.com> Date: Thu, 12 Jun 2008 13:32:23 -0300 From: "Felipe Neuwald" To: "Andrew MacIntyre" In-Reply-To: <485107C2.7080202@bullseye.andymac.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <928b5da90806111738h55bbbbb0y3e9731323a1561f4@mail.gmail.com> <485107C2.7080202@bullseye.andymac.org> Cc: freebsd-performance@freebsd.org, freebsd-python@freebsd.org Subject: Re: Performance with python and FreeBSD 7.0 amd64 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2008 16:32:25 -0000 > > Hmm... that's an interesting mix of failures. > > I have seen bus errors when Python runs out of stack space either in the > main thread or child threads (not an unknown issue with Zope). > > gcc 4.x in my limited experience generates sometimes noticeably larger > stack frames than gcc 3.x (which is standard on 6.x), which can provoke > unexpected stack exhaustion. > > You don't mention whether you're using a local build or a binary package. > Nor do you mention the point release (python 2.4.5 is the most recent in > the 2.4 series). I'm using a local build, installed via ports tree (python24-2.4.5_1). > The default thread stack size according to my 6.3 box's ports is 1MB for > Python 2.4.4) which should be adequate for most circumstances. > > The illegal instruction failure suggests something wrong with your > binaries (including those built for Zope). > > The segmentation violations often indicate a problem with reference > counts, frequently attributable to bugs in 3rd party extensions. > > You might want to check that all binaries for Python, Zope & Plone (if it > has any) link against the same libraries. Ok, I'll try to check these. I'm not the python + zope + plone guy, I'm the FreeBSD administrator. I'll have to work with the application team to find the solution for these problem. > If you can snaffle cores, you might want to try and extract backtraces > from gdb (debugging symbols would make this more productive...) Ok, I'll also try to get more information with cores. Thanks, Felipe Neuwald.