Increasing per-process memory limits?

Giorgos Keramidas keramida at ceid.upatras.gr
Wed Oct 15 01:20:16 PDT 2003


On 2003-10-14 23:51, njc <njc at 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.

- Giorgos



More information about the freebsd-questions mailing list