> -----Original Message-----
> From: Company 2210 [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 02, 2003 14:49
> To: [EMAIL PROTECTED]
> Subject: Problem Tuning Maxsockets
> 
> 
> 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?

according to init_maxsockets in sys/kern/uips_socket2.c
you should recompile your kernel with a different
NMBCLUSTERS.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to