Date: Tue, 4 Mar 2008 00:52:56 +0100 From: Mel <fbsd.questions@rachie.is-a-geek.net> To: freebsd-questions@freebsd.org Cc: Colin Adams <colinpauladams@googlemail.com> Subject: Re: kern.ipc.maxpipekva Message-ID: <200803040052.56637.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <1afdeaec0803020436g7e2fb432qfd79d6f9f47a54dd@mail.gmail.com> References: <1afdeaec0803020436g7e2fb432qfd79d6f9f47a54dd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803040052.56637.fbsd.questions>
