From owner-freebsd-bugs Fri Oct 20 06:21:38 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA02324 for bugs-outgoing; Fri, 20 Oct 1995 06:21:38 -0700 Received: from bigbird.vmicls.com (bigbird.vmicls.com [198.17.96.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id GAA02309 for ; Fri, 20 Oct 1995 06:21:32 -0700 Received: from gonzo by bigbird.vmicls.com (8.6.9/SMI-4.1-vmicls-master-host-1) id JAA28287; Fri, 20 Oct 1995 09:23:27 -0400 From: Jerry.Kendall@vmicls.com (Jerry Kendall) Organization: VMI Communications and Learning Systems Received: by gonzo (5.0/vmi-client-host-1) id AA08228; Fri, 20 Oct 1995 09:23:25 +0500 Date: Fri, 20 Oct 1995 09:23:25 +0500 Message-Id: <9510201323.AA08228.gonzo@vmicls.com> To: freebsd-bugs@FreeBSD.ORG Subject: Running out of processes Cc: jkendall@vmicls.com X-Sun-Charset: US-ASCII content-length: 2723 Sender: owner-bugs@FreeBSD.ORG Precedence: bulk I am running out of processes. Details: I have a Pentium-75 with 16 Megs ram. I have 'maxusers' set to 20; therefore, according to the formula, I should have (20 + (16 * maxusers)) = 340 processes as my upper limit. I have checked with 'sysctl' and it verifies my numbers. I also have 64 pty's created. With 'sysctl' I checked to see how many process and files a user may have and these seem to be quite good. When running under X, I open 3 windows, 1 to run 'top' so I can see number of processes etc, 1 to run 'pstat -s' in to watch how the swapping is going, the 3rd is to allow me to start a large number of 'xterm's in. I get about 18 and I get 'unable to fork - try again'. At this point swapping is at about 7%. number of processes according to top is 60. I can close some of the 'xterm' windows. The process numbers go down, I add more and it goes up. But, it seems to stop at 60. Now then, When NOT running X, just ksh/sh/... I start to execute 'sleep 900 &' to just waste a process slot. I seem to get about 18 of these going and then 'unable to fork - try again' shows it's ugly face at me. In this case, 60 does not seem to be the limit, just that I seem to run about 20 processes. PLEASE HELP!!!!!!!!!!! Jerry kernel config file --------------------------- machine "i386" cpu "I586_CPU" ident KCIS maxusers 20 options SYSVSHM options SYSVSEM options SYSVMSG options INET options FFS options NFS options MFS options QUOTA options MSDOSFS options "CD9660" options PROCFS options "COMPAT_43" options BOUNCE_BUFFERS options UCONSOLE config kernel root on wd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 device scd0 at isa? port 0x340 bio device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr device sio3 at isa? port "IO_COM4" tty irq 9 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr device pca0 at isa? port "IO_TIMER1" tty device ed0 at isa? port 0x300 net irq 10 iomem 0xcc000 vector edintr pseudo-device speaker pseudo-device loop pseudo-device bpfilter 2 pseudo-device ether pseudo-device log pseudo-device sl 2 pseudo-device ppp 2 pseudo-device pty 64 pseudo-device gzip pseudo-device tun 2 end of file --------------------------------------------