kernel: TCP: time wait bucket table overflow problem
kernel: TCP: time wait bucket table overflow problem
I recently used elk to collect system logs and found that some machines have many kernel errors
Most of the opinions on the Internet are to increase the kernel parameter net.ipv4.tcp_max_tw_buckets. But I didn’t explain the principle
I thought about it, and actually tw_buckets means time wait bucket table. The table is full.
Why is it full?
<code>netstat -an<span>|more</span></code>
See the link of time_out
Usually it is port 80, which is caused by the web server, so it is natural to think of keepalived.
After that, what I did was to turn off keepalived, and then adjust the value of tcp_max_tw_buckets to 2w. After observing, basically there is no such alarm.
Especially for some clusters that require forwarding backends, I personally think it is best to turn off keepalive, so that fewer connections will be maintained.
The above introduces the problem of kernel: TCP: time wait bucket table overflow, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Function means function. It is a reusable code block with specific functions. It is one of the basic components of a program. It can accept input parameters, perform specific operations, and return results. Its purpose is to encapsulate a reusable block of code. code to improve code reusability and maintainability.

keepalived+nginx+tomcat implements high-availability web cluster 1. nginx installation process 1. Download the nginx installation package and install the dependent environment package (1) Install the c++ compilation environment yum-yinstallgcc#c++ (2) Install pcreyum-yinstallpcre-devel (3 )Install zlibyum-yinstallzlib-devel(4) Install nginx, locate the nginx decompression file location, and execute the compile and installation command [root@localhostnginx-1.12.2]#pwd/usr/local/nginx/nginx-1.12

In this article, we will learn about enumerate() function and the purpose of “enumerate()” function in Python. What is the enumerate() function? Python's enumerate() function accepts a data collection as a parameter and returns an enumeration object. Enumeration objects are returned as key-value pairs. The key is the index corresponding to each item, and the value is the items. Syntax enumerate(iterable,start) Parameters iterable - The passed in data collection can be returned as an enumeration object, called iterablestart - As the name suggests, the starting index of the enumeration object is defined by start. if we ignore

Detailed explanation of the role and function of the MySQL.proc table. MySQL is a popular relational database management system. When developers use MySQL, they often involve the creation and management of stored procedures (StoredProcedure). The MySQL.proc table is a very important system table. It stores information related to all stored procedures in the database, including the name, definition, parameters, etc. of the stored procedures. In this article, we will explain in detail the role and functionality of the MySQL.proc table

1. System environment and software version centos6.6x64keepalived-1.2.18.tar.gznginx-1.6.2.tar.gz Master server: 192.168.38.64 Slave server: 192.168.38.66vip: 192.168.38.100 2. nginx installation (master-slave Consistent installation) 1. Install the dependent environment and copy the code as follows: yuminstallgccgcc-c++makeautomakeautoconflibtoolpcrepcre-develzlibzlib-developensslopenssl-devel2.

目录1:basename()2:copy()3:dirname()4:disk_free_space()5:disk_total_space()6:file_exists()7:file_get_contents()8:file_put_contents()9:filesize()10:filetype()11:glob()12:is_dir()13:is_writable()14:mkdir()15:move_uploaded_file()16:parse_ini_file()17:

1. keepalivedKeepalived is a service software that ensures high availability of the cluster. The node with high priority in the network is the master, which is responsible for responding to the VIP's arp package, telling other hosts in the network the mapping relationship between VIP and mac address, and also sending messages to the network in the form of multicast. Send a vrrp notification to inform you of your priority. The backup node is only responsible for processing multicast packets sent by the master. When it finds that the master's priority is not as high as its own, or it does not receive the vrrp notification from the master, the backup node will switch itself to the master state. 2. Environment setup environment: qemu-kvm, client debian (9.4.0) virtual machine qemu-kvm

Usage and Function of Vue.use Function Vue is a popular front-end framework that provides many useful features and functions. One of them is the Vue.use function, which allows us to use plugins in Vue applications. This article will introduce the usage and function of the Vue.use function and provide some code examples. The basic usage of the Vue.use function is very simple, just call it before Vue is instantiated, passing in the plugin you want to use as a parameter. Here is a simple example: //Introduce and use the plug-in
