From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 19:55:59 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 D56C016A4B3 for ; Wed, 15 Oct 2003 19:55:59 -0700 (PDT) Received: from thalia.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5817E43F93 for ; Wed, 15 Oct 2003 19:55:57 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b137.otenet.gr [212.205.244.145]) by thalia.otenet.gr (8.12.10/8.12.10) with ESMTP id h9G2toWO001208; Thu, 16 Oct 2003 05:55:51 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.10/8.12.10) with ESMTP id h9G2toBP004365; Thu, 16 Oct 2003 05:55:50 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.10/8.12.10/Submit) id h9G2toje004364; Thu, 16 Oct 2003 05:55:50 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 16 Oct 2003 05:55:50 +0300 From: Giorgos Keramidas To: njc Message-ID: <20031016025550.GA4171@gothmog.gr> References: <3F8CEE86.1000507@fightevil.net> <20031015082005.GB3899@gothmog.gr> <3F8DF143.6060402@fightevil.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F8DF143.6060402@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: Thu, 16 Oct 2003 02:55:59 -0000 On 2003-10-15 18:15, njc wrote: > Giorgos Keramidas wrote: > >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. > > I'm sorry, I forgot to mention that I looked into this as well - the > python process runs as root, which appears to have unlimited resource > usage... that's kind of what confused me about this issue in the first > place. Thank you for your response, though. Then you're probably hitting one of the limits that affect root too, i.e.: # limits | grep -v inf Resource limits (current): datasize 524288 kb stacksize 65536 kb maxprocesses 3661 openfiles 7322 # I'd probably start checking if stacksize is too small :-)