I am running Freebsd 8.0. and I am getting these maxfiles kernel errors. Where do I go to fix this and How do I increase this. I am running apache, mysql and moodle on the server.
The kern.maxfiles sysctl determines how many open files the system supports. The default is typically a few thousand but you may need to bump this up to ten or twenty thousand if you are running databases or large descriptor-heavy daemons. The read-only kern.openfiles sysctl may be interrogated to determine the current number of open files on the system.
See tuning(7).LOADER TUNABLES
Some aspects of the system behavior may not be tunable at runtime because memory allocations they perform must occur early in the boot process. To change loader tunables, you must set their values in loader.conf(5) and reboot the system.
rbizzell33 said:kern.maxfiles="25000"
This is the correct syntax right with the quotes
rbizzell33 said:I appreciate all your help. right now the loader.conf is empty now on my server. I just have all of the default values. So I need to input that change in the loader.conf and reboot the system
rbizzell33 said:I was just asking what happened when you originally put those changes in the sysctl file. Did it change anything or it didn't work at all because it has to go in the loader.conf?
DutchDaemon helped you a lot... I am not much on the forum.rbizzell33 said:On my other server that are both new hp ml 150 servers I noticed a lag when I type sometimes like it probably may not be tuned correctly. I am running postfix apache atmail mysql on that server. But on the one you have been helping me with that has apache mysql and moodle