Date: Thu, 09 Oct 1997 16:28:25 -0700 From: "Todd \"Taco\" Hansen" <taco@mad.scientist.com> To: Sri Ramkrishna <sramkris@ichips.intel.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: wierd problem with forking. Message-ID: <343D6899.3F54BC7E@mad.scientist.com> References: <199710091821.LAA01034@ichips.intel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Each user is only allowed to have so many processes running at a time. This is just an idea but if you fork bomb your computer you will see it happen. :) Sri Ramkrishna wrote: > > I'm not sure if other people have gotten this problem, but I've been > getting it a lot and I'm trying to figure out what it is. If I open > about 5 windows, and netscape, I can't seem to type any program that > wants to fork. For instance if I try to do a "man -k sendmail" or > something like that, the fork fails and the man command kicks out. While > trying to determine why the fork failed I wrote a short C program that > would fork and exit. If the fork failed I capture the errno. However > the fork program works everytime, while the man command fails. Whats > going on here? > > I'm using the generic kernel in almost everything except for some of the > drivers. But the other options remain the same. I have a PPro 150Mhz > machine with 32 megs EDO running FreeBSD 2.2.2. > > I can give you some information like, when I do a vmstat (I thought I > was running out of memory) I find that 26meg is on the avl list and > about 6meg on the free list. The machine doesn't indicate swapping, > so it isn't memory. Can swap space be the culprit? I've set swap space > to be twice the physical memory. So I have a 64 meg swap space. Any > ideas would be great. > > sri > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Sriram Ramkrishna | Intel Corporation > Unix System Adminstrator | MD-6 Division, Technical Support > phone: 503-264-3529 | email: sramkris@ichips.intel.com > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > -- Todd Hansen, KD6YPS (Taco) taco@mad.scientist.com http://millenium.atcg.com/ "Whenever any form of government becomes destructive...it is the right of the people to alter or to abolish it" - Declaration Of Independence
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?343D6899.3F54BC7E>