From owner-freebsd-questions@FreeBSD.ORG Mon Mar 3 23:52:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA7001065671 for ; Mon, 3 Mar 2008 23:52:58 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id B86E48FC1F for ; Mon, 3 Mar 2008 23:52:58 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id D37BB1CDE4; Mon, 3 Mar 2008 14:52:57 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 4 Mar 2008 00:52:56 +0100 User-Agent: KMail/1.9.7 References: <1afdeaec0803020436g7e2fb432qfd79d6f9f47a54dd@mail.gmail.com> In-Reply-To: <1afdeaec0803020436g7e2fb432qfd79d6f9f47a54dd@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803040052.56637.fbsd.questions@rachie.is-a-geek.net> Cc: Colin Adams Subject: Re: kern.ipc.maxpipekva X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2008 23:52:59 -0000 On Sunday 02 March 2008 13:36:26 Colin Adams wrote: > I'm getting error messages about this when trying to run my program. > As far as I know, I don't use IPC at all, although I dare say it is > used in one of the libraries that are linked in. > > After googling for this error, I edited /boot/loader.conf to set it to > 65000000 (a nice big number?), and now if I do: > > sysctl kern.ipc.maxpipekva > > I see: > > kern.ipc.maxpipekva: 65000000 > > but I still get the message. > > I also get a lot of messages saying: > > Fatal error `Cannot create kernel pipe' at line 294 in file > /usr/src/lib/libc_r/uthread/uthread_init.c (error = 24) > > Why does this occur, and what can i do about it? grep 24 /usr/include/sys/errno.h: max open /files/. This signals that a thread can't be created, cause there's too many open files. Any chance your program/library loops like mad, creating threaded workers that open a socket/file and never end? -- Mel Problem with today's modular software: they start with the modules and never get to the software part.