180,000 kevents - out of memory errors

David Schultz das at FreeBSD.ORG
Mon May 5 09:32:38 PDT 2003


On Mon, May 05, 2003, Simon Lai wrote:
> Currently I can only queue around 80,000 - 90,000
> kevents, with this config -
> 
>    maxfiles=250000 
>    nmbclusters=35000
>    nmbufs=210000
> 
> with this config I can make 180,000 connections and 
> queue 180,000 kevents -
> 
>    maxfiles=200000
>    nmbclusters=40000
>    nmbufs=240000
> 
> what should I do to improve the number of kevents
> I can queue?

Try increasing the sysctl kern.kq_calloutmax if you haven't done
so already.


More information about the freebsd-hackers mailing list