mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 10:10:06 +00:00
3581. [bug] Changed the tcp-listen-queue default to 10. [RT #33029]
This commit is contained in:
parent
5183f9d9da
commit
30d6dc14e9
2
CHANGES
2
CHANGES
@ -1,3 +1,5 @@
|
|||||||
|
3581. [bug] Changed the tcp-listen-queue default to 10. [RT #33029]
|
||||||
|
|
||||||
3580. [bug] Addressed a possible race in acache.c [RT #33602]
|
3580. [bug] Addressed a possible race in acache.c [RT #33602]
|
||||||
|
|
||||||
3579. [maint] Updates to PKCS#11 openssl patches, supporting
|
3579. [maint] Updates to PKCS#11 openssl patches, supporting
|
||||||
|
@ -98,7 +98,7 @@ options {\n\
|
|||||||
statistics-file \"named.stats\";\n\
|
statistics-file \"named.stats\";\n\
|
||||||
statistics-interval 60;\n\
|
statistics-interval 60;\n\
|
||||||
tcp-clients 100;\n\
|
tcp-clients 100;\n\
|
||||||
tcp-listen-queue 3;\n\
|
tcp-listen-queue 10;\n\
|
||||||
# tkey-dhkey <none>\n\
|
# tkey-dhkey <none>\n\
|
||||||
# tkey-gssapi-credential <none>\n\
|
# tkey-gssapi-credential <none>\n\
|
||||||
# tkey-domain <none>\n\
|
# tkey-domain <none>\n\
|
||||||
|
@ -5271,8 +5271,8 @@ load_configuration(const char *filename, ns_server_t *server,
|
|||||||
result = ns_config_get(maps, "tcp-listen-queue", &obj);
|
result = ns_config_get(maps, "tcp-listen-queue", &obj);
|
||||||
INSIST(result == ISC_R_SUCCESS);
|
INSIST(result == ISC_R_SUCCESS);
|
||||||
ns_g_listen = cfg_obj_asuint32(obj);
|
ns_g_listen = cfg_obj_asuint32(obj);
|
||||||
if (ns_g_listen < 3)
|
if ((ns_g_listen > 0) && (ns_g_listen < 10))
|
||||||
ns_g_listen = 3;
|
ns_g_listen = 10;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Configure the interface manager according to the "listen-on"
|
* Configure the interface manager according to the "listen-on"
|
||||||
|
@ -8576,14 +8576,15 @@ avoid-v6-udp-ports { 40000; range 50000 60000; };
|
|||||||
<term><command>tcp-listen-queue</command></term>
|
<term><command>tcp-listen-queue</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The listen queue depth. The default and minimum is 3.
|
The listen queue depth. The default and minimum is 10.
|
||||||
If the kernel supports the accept filter "dataready" this
|
If the kernel supports the accept filter "dataready" this
|
||||||
also controls how
|
also controls how
|
||||||
many TCP connections that will be queued in kernel space
|
many TCP connections that will be queued in kernel space
|
||||||
waiting for
|
waiting for
|
||||||
some data before being passed to accept. Values less than 3
|
some data before being passed to accept. Nonzero values
|
||||||
will be
|
less than 10 will be silently raised. A value of 0 may also
|
||||||
silently raised.
|
be used; on most platforms this sets the listen queue
|
||||||
|
length to a system-defined default value.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user