mirror of
http://github.com/valkey-io/valkey
synced 2024-11-23 20:00:00 +00:00
checkTcpBacklogSettings check for solaris based systems. (#10109)
This commit is contained in:
parent
98414aca7f
commit
7da7d2aa8e
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user