kern.ipc.maxpipekva

Mel fbsd.questions at rachie.is-a-geek.net
Mon Mar 3 23:52:59 UTC 2008


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.


More information about the freebsd-questions mailing list