Recently, a large number of failed requests (Time Out is displayed in the error status) are suspected to be a problem of network latency when processing a large number of ERP synchronization inventory for a project. However, this problem has not been solved after kernel network parameters are optimized.
The following are optimization parameters:
Echo 1024 60999>/proc/sys/NET/IPv4/ip_local_port_range echo 30>/proc/sys/NET/IPv4/tcp_fin_timeout echo 4096>/proc/sys/NET/IPv4/tcp_max_syn_backlog echo 262144>/proc/sys/NET/IPv4/tcp_max_tw_buckets echo 262144>/proc/sys/NET/IPv4/tcp_max_orphans echo 300>/proc/sys/NET/IPv4/tcp_keepalive_time echo 1>/proc/sys/NET/IPv4/tcp_tw_recycle Echo 0>/proc/sys/NET/IPv4/tcp_timestamps Echo 0>/proc/sys/NET/IPv4/tcp_ecn Echo 1 >/proc/sys/NET/IPv4/tcp_sack Echo 0>/proc/sys/NET/IPv4/tcp_dsack
Thanks to O & M Li pengwei for providing the above solutions
Kernel Network Optimization Test