Side effects from reducing kern.maxvnodes?

I am running FreeBSD 10.4 on an Atmel ARM9 AT91SAM9G20 processor for a remote sensing project. When I run file intensive commands like find, scp, or git the system will eventually freeze and hang forever. When I reduced kern.maxvnodes from 4149 to 1000, git stopped crashing my system. Are there any harmful side effects that reducing maxvnodes might have on system operation?

Thanks!
 
when it freezes, does it dump anything to the console? you might be running the kernel out of memory with too many open files, since lowering maxvnodes "fixes" it. running out of kernel memory is generally fatal to the continued operation of the kernel ;)

you might try rebooting one of these devices and check vfs.numvnodes after the app's gotten warmed up a bit. probably shouldn't lower the max any further than that.
 
Back
Top