• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question TCP client quota reached: quota reached

SalvadorS

Regular Pleskian
Hello everybody,

Why I see this line in my /var/log/daemon.log file?


May 27 09:11:15 xx named[25053]: client @0x7f59082e2730: TCP client quota reached: quota reached


May 27 09:11:15 xx named[25053]: client @0x7f5908212180: TCP client quota reached: quota reached


May 27 09:11:15 xx named[25053]: client @0x7f5908275c30: TCP client quota reached: quota reached


May 27 09:11:15 xx named[25053]: client @0x7f5910659870: TCP client quota reached: quota reached


May 27 09:11:16 xx named[25053]: client @0x7f591074b940: TCP client quota reached: quota reached


May 27 09:11:16 xx named[25053]: client @0x7f5910821270: TCP client quota reached: quota reached


May 27 09:11:16 xx named[25053]: client @0x7f590809fe60: TCP client quota reached: quota reached


May 27 09:11:16 xx named[25053]: client @0x7f59080210e0: TCP client quota reached: quota reached


May 27 09:11:16 xx named[25053]: client @0x7f5908158ff0: TCP client quota reached: quota reached

Thanks
 
This message is most likely due to the number of client's TCP connections is currently established to the named process is greater than the maximum clients TCP connections that are allowed:

# rndc status
version: 9.9.5-9+deb8u18-Debian (none) <id:f9b8a50e>
recursive clients: 0/0/1000
tcp clients: 124/100
server is up and running

By the above, I suggest to increase the number of "tcp-clients" and "recursive-clients", adding the following parameters:

Code:
recursive-clients 2000;
tcp-clients 200;

In the file "etc/named.conf"

# rndc status
version: 9.9.5-9+deb8u18-Debian (none) <id:f9b8a50e>
recursive clients: 0/1900/2000
tcp clients: 124/200
server is up and running

I hope it will help.
 
Dear Igor,

First of all thank you for your support as always. I added these two lines to etc/named.conf file like that:

// -- PLEASE ADD YOUR CUSTOM DIRECTIVES BELOW THIS LINE. --
// ...
recursive-clients 2000;
tcp-clients 200;
// -- END OF YOUR CUSTOM DIRECTIVES. --

But still

recursive clients: 0/0/1000

tcp clients: 100/100

Do I have to restart something?
 
After addidng that two lines I received this error:


root@xx:/var/named/run-root/etc# rndc status

WARNING: key file (/etc/bind/rndc.key) exists, but using default configuration file (/etc/bind/rndc.conf)

rndc: connect failed: 127.0.0.1#953: connection refused

So I have to delete them just in case... I don´t know if I added the lines in the correct place...
 
Hello,

It is possible to add that two lines but in this section:

// -- THE FOLLOWING LINES WERE GENERATED BY PLESK. IF YOU MODIFY THEM, THEY WILL BE OVERWRITTEN WHEN THESE SETTINGS ARE MANAGED IN PLESK UI. --


options {
And the add the lines. But everytime the file is modified by plesk I think the lines will disappear. Any ideas?
 
Back
Top