IT notes


To get an overview of the system: # sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu' hw.machine: amd64 hw.model: Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz hw.ncpu: 16 hw.machine_arch: amd64

Measuring the Listen Queue

Run the command: netstat -Lan The command output may be the following: Current listen queue sizes (qlen/incqlen/maxqlen) Proto Listen Local Address tcp46 1863/0/32768 *.80 tcp4 0/0/128 *.31025 tcp6 0/0/128 *.31025 Some tcp sockets may have been deleted. unix 0/0/32768 /var/run/immortal/tuip/immortal.sock unix 0/0/255 /var/db/syslog-ng.ctl unix 0/0/4 /var/run/devd.pipe unix 0/0/4 /var/run/devd.seqpacket.pipe The command output shows that there are 1863 unaccepted connections in the listen queue on Port 80, while the connection limit is 32768 connections, and this situation is normal.