Increasing per-process memory limits?
Giorgos Keramidas
keramida at ceid.upatras.gr
Wed Oct 15 19:55:59 PDT 2003
On 2003-10-15 18:15, njc <njc at fightevil.net> 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 :-)
More information about the freebsd-questions
mailing list