Date: Tue, 18 Mar 2003 11:10:32 +0100 From: Olivier Dony <olivier@blacktrap.net> To: Jan Blomqvist <jan.blomqvist@teligent.se> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Resource temporarily unavailable Message-ID: <20030318101032.GA50668@vega.blacktrap.net> In-Reply-To: <LJEIJHIOGAPJEBMEHCEGIEGMCKAA.jan.blomqvist@teligent.se> References: <LJEIJHIOGAPJEBMEHCEGIEGMCKAA.jan.blomqvist@teligent.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 18, 2003 at 09:03:32AM +0100, Jan Blomqvist wrote: > Hi! > I have 800mhz 500mb node with freebsd 4.1, I often get this "Resource > temporarily unavailable" > I have problem to find out what kind of Resource its problem with, when I do > top command everything looks ok lots of memory free and like 80% idle, and > we have done some changes in the kernel "options MAXMEM=(512*1024) > options SHMMNI=64"and also increased maxusers to 128.This is a > example of error message: Hi, Just a couple of wild guesses : - I suppose you have no particular maxprocess limit or whatever for your login class in /etc/login.conf? You can always have a look at login.conf(5) - What does 'ps auxww' look like when this happens? Anything surprising there? 'top' only shows the first so much heavier processes, so you might not see everything. - On my box here I just ran a little test and with all limits set to 'unlimited' in login.conf I can trigger this error with a recursive shell script calling itself. It happens when about 475 processes have been spawned, and then they all die eventually and everything returns to normal. Hope this helps a bit, but people on the list have probably more information and also more relevant about this matter... good luck :-) Olivier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030318101032.GA50668>