From owner-freebsd-questions Sun Dec 13 22:29:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA06405 for freebsd-questions-outgoing; Sun, 13 Dec 1998 22:29:12 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA06000 for ; Sun, 13 Dec 1998 22:27:25 -0800 (PST) (envelope-from listuser@netspace.net.au) Received: from d1o1.telia.com (root@d1o1.telia.com [195.67.240.241]) by mailb.telia.com (8.8.8/8.8.8) with ESMTP id HAA08814 for ; Mon, 14 Dec 1998 07:27:16 +0100 (CET) Received: from doorway.home.lan (t6o1p59.telia.com [195.67.241.119]) by d1o1.telia.com (8.8.8/8.8.5) with ESMTP id HAA19311 for ; Mon, 14 Dec 1998 07:27:14 +0100 (CET) Received: (from listuser@localhost) by doorway.home.lan (8.8.8/8.8.7) id GAA07895 for freebsd-questions@FreeBSD.org; Mon, 14 Dec 1998 06:54:51 +0100 (CET) (envelope-from listuser) Date: Mon, 14 Dec 1998 06:54:51 +0100 (CET) From: List User Message-Id: <199812140554.GAA07895@doorway.home.lan> To: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Newsgroups: freebsd.questions Path: root From: Ben Smithurst Subject: Re: cannot fork Content-Type: text/plain; charset=us-ascii Received: from ben by scientia.demon.co.uk with local (Exim 2.054 #18) id 0zpIKe-0004gK-00; Sun, 13 Dec 1998 20:41:36 +0000 To: Sue Blake Sender: owner-freebsd-questions@FreeBSD.ORG Organization: Private News Host Precedence: bulk Message-ID: <19981213204136.A17472@scientia.demon.co.uk> X-Mailer: Mutt 0.95i References: <19981213211314.57505@welearn.com.au> <19981213145942.D10841@scientia.demon.co.uk> <19981214070131.32240@welearn.com.au> Delivered-To: vmailer-questions@freebsd.org X-Uidl: a6ebc0001149047c3b98b5c7afcd3ffe X-Loop: FreeBSD.ORG Mime-Version: 1.0 In-Reply-To: <19981214070131.32240@welearn.com.au> Cc: freebsd-questions Date: Sun, 13 Dec 1998 20:41:36 GMT Sue Blake wrote: > Thanks Ben, it sounds like you're on the right track here even though > I understand ver little of what you've said. Could you translate some > of it into "do this" style? > > I get that 'limits' is a command I can type, and it comes back with > maxprocesses-cur 64 What does $ sysctl kern.maxproc show? That's the system wide limit, which may be higher than your user limit. I'm guessing that while you're running X you could easily get 64 processes. (`ps ax | wc -l' will tell you how many procs you have, near enough anyway.) If kern.maxproc is a lot higher than 64, you can probably just alter some settings in /etc/login.conf to increase the per-user limits (following the instructions at the top of login.conf about rebuilding the database). To find out which class you are in, do `limits -U sue', or something: $ limits -U ben Resource limits for class staff: shows I'm in the `staff' class. You can change your class if needed using vipw, it's the fifth field along (which may well be blank, and can safely be left blank). If kern.maxproc isn't much higher, rebuild your kernel, replacing the maxusers line in the kernel config file with maxusers 64 or some such value. Reboot, check kern.maxproc and your limits, and see if things are working better. -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message