Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!europa.chnt.gtegsc.com!gatech!news.mathworks.com!fu-berlin.de!sirius.physik.fu-berlin.DE!not-for-mail
From: graichen@sirius.physik.fu-berlin.de (Thomas Graichen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Limit to max no processes per user?
Date: 18 Aug 1995 15:14:12 GMT
Organization: Freie Universitaet Berlin
Lines: 64
Message-ID: <412ao4$ror@fu-berlin.de>
References: <DDIBu9.9J0@seeware.DIALix.oz.au>
NNTP-Posting-Host: sirius.physik.fu-berlin.de (130.133.3.140)
X-Access: 16 17 18
X-Newsreader: TIN [version 1.2 PL2]
Mark Hannon (mark@seeware.DIALix.oz.au) wrote:
: Hi!
: I am running FreeBSD 2.0.5 and using xdm to start an X session.
: The problem I have is running out of processes and not being
: able to fork a new process.
: As examples of this behaviour from an xterm:-
: putte:~> ps x
: No more processes.
: Or when trying to format pages in xman I get the following error in
: the console:-
: Cannot fork
: tbl: can't open `/tmp/xman012092': No such file or directory
: And when writing this news article the first time everything fell
: in a heap and dissapeared...
: I am confused as to how I can set this limit to some higher value
: and where the limit is being set. I have a kernel with max 180
: processes (default configuration) and the system is running around
: 64 processes.
: Is there anyone who can help me??
yes - many of them :-) - simply try limit/unlimit in the csh/tcsh or ulimit
in sh/bash:
graichen@mordillo:~> limit
cputime unlimited
filesize unlimited
datasize 65536 kbytes
stacksize 8192 kbytes
coredumpsize unlimited
memoryuse 9420 kbytes
descriptors 64
memorylocked 6284 kbytes
maxproc 40
graichen@mordillo:~> unlimit maxproc
graichen@mordillo:~> limit
cputime unlimited
filesize unlimited
datasize 65536 kbytes
stacksize 8192 kbytes
coredumpsize unlimited
memoryuse 9420 kbytes
descriptors 64
memorylocked 6284 kbytes
maxproc 147
graichen@mordillo:~>
t
_______________________________________________________||_____________________
__||
Perfection is reached, not when there is no __|| thomas graichen
longer anything to add, but when there __|| freie universitaet berlin
is no longer anything to take away __|| fachbereich physik
__||
- Antoine de Saint-Exupery - __||
___________________________||____email: graichen@omega.physik.fu-berlin.de____