From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 01:20:16 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8657016A4F3 for ; Wed, 15 Oct 2003 01:20:16 -0700 (PDT) Received: from thalia.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41A9443F85 for ; Wed, 15 Oct 2003 01:20:12 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b216.otenet.gr [212.205.244.224]) by thalia.otenet.gr (8.12.10/8.12.10) with ESMTP id h9F8K5WO006277; Wed, 15 Oct 2003 11:20:06 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.10/8.12.10) with ESMTP id h9F8K5Qg004073; Wed, 15 Oct 2003 11:20:05 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.10/8.12.10/Submit) id h9F8K5GC004072; Wed, 15 Oct 2003 11:20:05 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 15 Oct 2003 11:20:05 +0300 From: Giorgos Keramidas To: njc Message-ID: <20031015082005.GB3899@gothmog.gr> References: <3F8CEE86.1000507@fightevil.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F8CEE86.1000507@fightevil.net> cc: freebsd-questions@freebsd.org Subject: Re: Increasing per-process memory limits? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2003 08:20:16 -0000 On 2003-10-14 23:51, njc wrote: > Hello, > I'm currently using Zope's Plone application which relies heavily on > python. When uploading large files (>65 megs, possibly higher), the > python process is bombing out with a 'memory exceeded' error. I'm using > 4.8-STABLE . I've been told that if I increase the amount of available > memory to the python process that I can resolve this issue. I've > attempted increasing the max users variable in the kernel to 0, hoping > it might auto-tune, but that doesn't seem to be working. Am I tweaking > the wrong area? Where should I be looking? Try reading the manual page of /etc/login.conf: man login.conf Another way of enforcing/changing the limits that a user process has is through the 'limit' built-in command of tcsh or the /usr/bin/limits system tool. More information about these in the tcsh(1) and limits(1) manpages. - Giorgos