ClickHouse/programs/server
Azat Khuzhin 9d69786a6b Increase listen_backlog by default (to match default in newer linux kernel)
It was 64 for a long time, and even linux kernel never has such a small
limit, it had 128 (net.core.somaxconn sysctl).

But recently, in 5.4, the default value had been increased even in
linux kernel, to 4096 [1].

  [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=19f92a030ca6d772ab44b22ee6a01378a8cb32d4

Let's increase it in ClickHouse too.

Also note, that I've looked through some instances with
clickhouse-server only, and TcpExtListenOverflows was non zero (`nstat
-za`), in other words backlog of the listen socket indeed overflowed
there.

So it is better to increase the default to move the problem to
clickhouse-server itself (yes you will unlikely have 4K new incomming
connections at one time, with accept thread do not accept them all, but
still seems that it is possible, maybe due to some locks or something
else).
2021-10-01 21:03:59 +03:00
..
config.d Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
users.d Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
.gitignore Update gitignore 2021-04-20 23:39:41 +03:00
clickhouse-server.cpp Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
CMakeLists.txt Move formatBlock to its own file 2021-07-29 16:39:42 +02:00
config.xml .tech -> .com 2021-09-22 03:22:57 +03:00
config.yaml.example .tech -> .com 2021-09-22 03:22:57 +03:00
embedded.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
MetricsTransmitter.cpp Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
MetricsTransmitter.h Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
play.html Fix font in Chromium 2021-08-10 08:18:18 +03:00
Server.cpp Increase listen_backlog by default (to match default in newer linux kernel) 2021-10-01 21:03:59 +03:00
Server.h Make ContextPtr const by default. 2021-05-31 17:49:02 +03:00
users.xml Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
users.yaml.example Added users.yaml example to programs/server 2021-05-24 13:46:32 +03:00