Re: nmbclusters and nmbufs
At 11:53 AM 8.19.2003 +0400, Varshavchick Alexander wrote: Hi, Can anybody advise me please if I want to increase nmbclusters option in kernel, can I just type sysctl kern.ipc.nmbclusters=16384 without rebooting the server, or is the only way to set the NMBCLUSTERS option in kernel, install the new kernel and reboot? And secondly, also I need to increase nmbufs kernel option, but there seems to be no such option in LINT, what should I tweak? sysctl kern.ipc.nmbufs=32768 without rebooting or kern.ipc.nmbufs=32768 in /boot/loader.conf and reboot? Thanks Alexander Varshavchick, Metrocom Joint Stock Company You can modify those on fly without a reboot with: sysctl kern.nmbclusters=n (n being the number of choice) You can then put the statements in the /boot/loader.conf and will load on next boot as alternative to changing the kernel. I modified the kernel here. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nmbclusters and nmbufs
On Tue, 19 Aug 2003, Jack L. Stone wrote: You can modify those on fly without a reboot with: sysctl kern.nmbclusters=n (n being the number of choice) No, it doesn't work: sysctl: oid 'kern.ipc.nmbclusters' is read only You can then put the statements in the /boot/loader.conf and will load on next boot as alternative to changing the kernel. I modified the kernel here. Yes, adding them to /boot/loader.conf and rebooting made the trick, thanks. Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nmbclusters and nmbufs
On Tue, Aug 19, 2003 at 11:53:57AM +0400, Varshavchick Alexander wrote: Hi, Can anybody advise me please if I want to increase nmbclusters option in kernel, can I just type sysctl kern.ipc.nmbclusters=16384 without rebooting the server, or is the only way to set the NMBCLUSTERS option in kernel, install the new kernel and reboot? These variable are normaly readonly, so I think you do need to reboot. And secondly, also I need to increase nmbufs kernel option, but there seems to be no such option in LINT, what should I tweak? sysctl kern.ipc.nmbufs=32768 without rebooting or kern.ipc.nmbufs=32768 in /boot/loader.conf and reboot? It does exist: options NMBUFS=4096. You seen to be low on a lot of resources. It could be an idee to set ``maxusers'' to a higher setting. These days a lot of varibles base there value on maxusers. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nmbclusters and nmbufs
On Tue, 19 Aug 2003, Alex de Kruijff wrote: Can anybody advise me please if I want to increase nmbclusters option in kernel, can I just type sysctl kern.ipc.nmbclusters=16384 without rebooting the server, or is the only way to set the NMBCLUSTERS option in kernel, install the new kernel and reboot? These variable are normaly readonly, so I think you do need to reboot. And secondly, also I need to increase nmbufs kernel option, but there seems to be no such option in LINT, what should I tweak? sysctl kern.ipc.nmbufs=32768 without rebooting or kern.ipc.nmbufs=32768 in /boot/loader.conf and reboot? It does exist: options NMBUFS=4096. Yes, but I guess I must have said that the system version is 4.5 and this options didn't exist then. You seen to be low on a lot of resources. It could be an idee to set ``maxusers'' to a higher setting. These days a lot of varibles base there value on maxusers. Maxusers is already set to a high value, but due to the extensive network activity nmbufs and nmbclusters seemed to be lacking. Thank you for the advices. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]