Re: kern.ipc.maxpipekva

2008-03-03 Thread Colin Adams
No chance at all, I would have said.

On 03/03/2008, Mel <[EMAIL PROTECTED]> wrote:
> 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
>  > 6500 (a nice big number?), and now if I do:
>  >
>  > sysctl kern.ipc.maxpipekva
>  >
>  > I see:
>  >
>  > kern.ipc.maxpipekva: 6500
>  >
>  > 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.
>  ___
>  freebsd-questions@freebsd.org mailing list
>  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>  To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kern.ipc.maxpipekva

2008-03-03 Thread Mel
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
> 6500 (a nice big number?), and now if I do:
>
> sysctl kern.ipc.maxpipekva
>
> I see:
>
> kern.ipc.maxpipekva: 6500
>
> 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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kern.ipc.maxpipekva exceeded, error

2004-09-18 Thread Nagilum
Hi Puna,
This looks like there occured a looping recursion, there is definately 
something wrong with your ports. Maybe try to reinstall the dependencies 
forcefully after bringing your ports tree up-to-date (if that alone does 
not already help)
Kind regards,
Alex.

Puna Tannehill wrote:
On a freshly rebuild v5.3-BETA4...
A failed compile of sysutils/fastest_cvsup led me to run 'make clean' 
before trying again.  It took over 5 minutes to run make clean, and at 
the very end I got the following:

# make clean
kern.ipc.maxpipekva exceeded; see tuning(7)
Pipe call failed: Too many open files in system
Pipe call failed: Too many open files in system
===>  Cleaning for libtool-1.5.8
===>  Cleaning for perl-5.8.5
===>  Cleaning for fastest_cvsup-0.2.8
There is nothing specifically in tuning about this particular knob, 
but from poking around I get the feeling that it's about memory 
management of the kernel IPC subsystem.

Running 'sysctl kern.ipc.maxpipekva' shows:
kern.ipc.maxpipekva=1257472
Hunting around on in the archives, I came up with people getting this 
error while doing very intensive compiles.  Seems strange to me that I 
might get such an error on a 15min uptime, cold-booted machine and 
just doing a 'make clean'.  And thoughts?

Puna
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"