Date: Fri, 20 Oct 1995 09:23:25 +0500 From: Jerry.Kendall@vmicls.com (Jerry Kendall) To: freebsd-bugs@FreeBSD.ORG Cc: jkendall@vmicls.com Subject: Running out of processes Message-ID: <9510201323.AA08228.gonzo@vmicls.com>
next in thread | raw e-mail | index | archive | help
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 --------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9510201323.AA08228.gonzo>