Giorgos Keramidas wrote:

On 2003-10-14 23:51, njc <[EMAIL PROTECTED]> 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

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to