serverLog(LL_WARNING,"WARNING: The TCP backlog setting of %d cannot be enforced because kern.ipc.somaxconn is set to the lower value of %d.",server.tcp_backlog,somaxconn);
}
}
#elif defined(HAVE_SYSCTL_KERN_SOMAXCONN)
intsomaxconn,mib[2];
size_tlen=sizeof(int);
mib[0]=CTL_KERN;
mib[1]=KERN_SOMAXCONN;
if(sysctl(mib,2,&somaxconn,&len,NULL,0)==0){
if(somaxconn>0&&somaxconn<server.tcp_backlog){
serverLog(LL_WARNING,"WARNING: The TCP backlog setting of %d cannot be enforced because kern.somaxconn is set to the lower value of %d.",server.tcp_backlog,somaxconn);