成长值: 345 签到天数: 4740 天 [LV.Master]伴坛终老
|
发表于 2019/1/22 21:46
|
显示全部楼层
|Google Chrome 71.0.3578.98 |Windows 10
联系openvz商家模板
I checked the gateway through mtr: 185.243.56.1 without any problems
But there is a problem with vps IP, it should be that the server's nf_conntrack is full.
You can confirm if this happens by dmesg
dmesg | grep nf_conntrack
"nf_conntrack: table full, dropping packet"
Representative problem exists.
View the real-time status of the nf_conntrack table via the /proc file system:
Track connection details:
cat /proc/net/nf_conntrack
View the maximum number of connections in the nf_conntrack table
cat /proc/sys/net/netfilter/nf_conntrack_max
View the current number of connections in the nf_conntrack table
cat /proc/sys/net/netfilter/nf_conntrack_count
View the maximum size of the nf_conntrack_buckets hash table
cat /proc/sys/net/netfilter/nf_conntrack_buckets
There are usually thousands of users on openvz, kernel he is public, so you need to have a larger value.
Can optimize this value.
sysctl -w net.netfilter.nf_conntrack_max=9999999
sysctl -w net.netfilter.nf_conntrack_buckets=1048576
The sysctl -w commands are temporarily valid.
Edit the file to add: /etc/sysctl.conf, the startup will take effect automatically.
net.netfilter.nf_conntrack_max = 9999999
net.netfilter.nf_conntrack_buckets = 1048576
After modification, execute sysctl -p to take effect
boot automatically modified
After the server is finished, openvz vps reboot will get the new kernel parameters.
I can't operate to your server, I hope you can check this problem.
https://wiki.khnet.info/index.php/Conntrack_tuning
Wiki data, you can try temporary changes, restart is not necessary, he will take effect on the server immediately
The user can restart in the control panel to get new parameters.
You can check it first?
dmesg | grep nf_conntrack
Is this , it does not involve any changes. |
|