Date: Wed, 15 Oct 2003 13:01:59 +0200 From: David Landgren <david@landgren.net> To: freebsd-questions@freebsd.org Subject: Re: Increasing per-process memory limits? Message-ID: <3F8D2927.2000604@landgren.net> In-Reply-To: <20031015082005.GB3899@gothmog.gr> References: <3F8CEE86.1000507@fightevil.net> <20031015082005.GB3899@gothmog.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas wrote: > On 2003-10-14 23:51, njc <njc@fightevil.net> 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. Note that the GENERIC kernel has a hard limit of 256MB, defined by MAXDSIZ (and MAXSSIZ too) in the configuration file. For modern machines with a large amount of RAM this may be inadequate. You will have to recompile the kernel to run larger processes. David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F8D2927.2000604>