Is -DISC_SOCKET_MAXEVENTS still needed in BIND 9.16?

Anand Buddhdev anandb at ripe.net
Thu Feb 20 09:04:07 UTC 2020


On 20/02/2020 09:08, Ondřej Surý wrote:

Ah, thank you for this Ondrej! I've adjusted our spec file, and removed
the define.

> Hi Anand,
> 
> on the contrary, we set tuning to large by default (it’s default or
> small now), so with the define you are actually setting it to lower value:
> 
> #ifndef ISC_SOCKET_MAXEVENTS
> #ifdef TUNE_LARGE
> #define ISC_SOCKET_MAXEVENTS 2048
> #else /* ifdef TUNE_LARGE */
> #define ISC_SOCKET_MAXEVENTS 64
> #endif /* TUNE_LARGE */
> #endif /* ifndef ISC_SOCKET_MAXEVENTS */
> 
> Ondrej


More information about the bind-users mailing list