Web Hosting Talk







View Full Version : too many files in system: another BSD problem


WoodShedd
05-23-2002, 02:08 AM
Im running freeBSD 4.4 and the tech recently made some modifications to the kernel. today i was experiencing some wierd stuff: ftp would not connect properly, nor would ssh. I could connect via the web but the pages were screwed up. things gradually righted themselves and I looked into the problem. all i could dredge up is this: kvm_open /dev/kmem: too many files in system

I dont know what it means, and the only thought I have on it are that the tech ****ed something up when he was doing the modifications, or the increased security settings are handing me the shaft.

any input on this would be great.

thanks

Shyne
05-23-2002, 07:13 PM
Did you mean too many open files in system?

ReliableServers
05-23-2002, 09:42 PM
What modifications did he make? You shoudl be able to backtrack what he changed(and make sure he reads what they do), recompile the old kernel for the time being.

bobcares
05-24-2002, 03:16 PM
Hi!

The tech does not allow many files to be opened for working with..
Here's what you must do...
First try -
$ sysctl kern.maxfiles

Now it would give a response as
kern.maxfiles: 2088
(note the 2088 is an example).

Just write a number higer than the value e..g.
sysctl kern.maxfiles=5000

This is typical problem when we complie as a newbie...
If you are recompiling the kernel... set the max users to a higher value... That's it.. ;)

Have a great day :)

Regards
Amar