Problem Tuning Maxsockets

Aaron Wohl freebsd at soith.com
Tue Sep 2 05:06:47 PDT 2003


I changed maxusers to be: maxusers        256 
That ended up with 8192 files.
There is probably a more direct way to set that )

On Tue, 2 Sep 2003 12:48:33 +0100, "Company 2210"
<company2210 at hotmail.com> said:
> I am trying to alter the number of maxsockets allocated from the default
> of
> 2022 to 8192 on a FreeBSD 4.8 box. However, when I try to perform this
> operation via sysctl I'm informed the oid (kern.ipc.maxsockets) is read
> only. Does this mean I need to recompile the kernel? I've tried 'options
> MAXSOCKETS=8192' in a kernel recompile - but that was rejected by the
> inital
> parse, so either the option is different to the sysctl name or their is
> another way to do this? Could someone shed some light?
> 
> Thanks
> 
> Colin
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list