*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448
Rep:
kern.maxpipekva exceeded, please see tuning(7)
My console is filling up with these errors and I'm getting "too many open files" errors, and I'm unable to perform any actions at all.
When the errors began last week, I was able to boot into -s mode, manually mount and fsck the slices, and add the following two kernel paramenters to /boot/loader.conf to get me back up and running:
kern.ipc.maxpipekva: 8634368
kern.ipc.pipekva: 344064
However, after trying a few intensive operations yesterday, such as cvsup, the errors came right back and do not desist unless I reboot the machine. They then reappear after a few minutes, even if the system is idle and I don't even log in after reboot.
Is there a recommended value for these parameters if I've got a total of 340MB RAM, or another way of solving this problem? Google gives lots of hits but really no definitive answers (same for a post on this forum).
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448
Original Poster
Rep:
Probably... problem was, there were so many open files, I couldn't get any commands in.
Rebooting and changing the value of "openfiles" from "unlimited" to "1024" in /etc/login.conf seems to have solved it for me. I don't know if that number is too large or small, but it's working so far.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.