checkTcpBacklogSettings check for solaris based systems. (#10109)

This commit is contained in:
David CARLIER 2022-01-15 18:39:05 +00:00 committed by GitHub
parent 98414aca7f
commit 7da7d2aa8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2121,6 +2121,10 @@ void checkTcpBacklogSettings(void) {
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); 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);
} }
} }
#elif defined(SOMAXCONN)
if (SOMAXCONN < server.tcp_backlog) {
serverLog(LL_WARNING,"WARNING: The TCP backlog setting of %d cannot be enforced because SOMAXCONN is set to the lower value of %d.", server.tcp_backlog, SOMAXCONN);
}
#endif #endif
} }