Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2003 05:55:50 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        njc <njc@fightevil.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Increasing per-process memory limits?
Message-ID:  <20031016025550.GA4171@gothmog.gr>
In-Reply-To: <3F8DF143.6060402@fightevil.net>
References:  <3F8CEE86.1000507@fightevil.net> <20031015082005.GB3899@gothmog.gr> <3F8DF143.6060402@fightevil.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-10-15 18:15, njc <njc@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 :-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031016025550.GA4171>