From owner-freebsd-questions Sun Apr 19 20:33:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA28297 for freebsd-questions-outgoing; Sun, 19 Apr 1998 20:33:07 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA28266 for ; Mon, 20 Apr 1998 03:32:58 GMT (envelope-from bkogawa@primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id UAA12791; Sun, 19 Apr 1998 20:32:56 -0700 (MST) Received: from ip193.sjc.primenet.com(206.165.96.193), claiming to be "foo.primenet.com" via SMTP by smtp01.primenet.com, id smtpd012775; Sun Apr 19 20:32:54 1998 Received: (from bkogawa@localhost) by foo.primenet.com (8.8.8/8.8.6) id UAA10279; Sun, 19 Apr 1998 20:33:56 -0700 (PDT) Date: Sun, 19 Apr 1998 20:33:56 -0700 (PDT) Message-Id: <199804200333.UAA10279@foo.primenet.com> To: mi@aldan.algebra.com Subject: Re: Cannot fork Newsgroups: localhost.freebsd.questions References: <199804191458.KAA02223@rtfm.ziplink.net> From: "Bryan K. Ogawa" Cc: questions@FreeBSD.ORG X-Newsreader: NN version 6.5.0 #1 (NOV) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In localhost.freebsd.questions you write: >Hello! >Every once in a while I get this message which will not go away >until I stop a few processes. It usually shows up when I run make, >which spawns processes left and right (like when making ports). >But I do not run that many: > mi@xxx:ports/editors/vim5 (155) ps -ax | wc -l > 125 >And there is plenty of swap: > mi@xxx:ports/editors/vim5 (156) pstat -s > Device 1K-blocks Used Avail Capacity Type > /dev/sd1s1b 65536 23068 42404 35% Interleaved > /dev/sd0s1b 65536 22784 42688 35% Interleaved > /dev/sd2s1b 65536 22564 42908 34% Interleaved > Total 196416 68416 128000 35% >Kernel limits known to me are also quite far from being close: > mi@xxx:ports/editors/vim5 (157) sysctl -a | grep proc > kern.maxproc: 2068 > kern.maxfilesperproc: 4136 > kern.maxprocperuid: 2067 >Not too many files open: > mi@xxx:ports/editors/vim5 (162) su -K > mi@xxx:ports/editors/vim5 (149) lsof | wc -l > 1601 >And my user-ID belongs to the root's login class, so there should >be no artificial limitations. There is nothing interesting in the >log either. Machine has 128Mb of RAM. Sounds like the user process limits from your shell. When you get the error next, try doing ulimit -a and trying the command again. -- bryan k ogawa http://www.primenet.com/~bkogawa/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message