在网上查看了一些文章,怀疑是因为网卡buffer size太小导致(This is a count of packets that have been dropped by the kernel, either due to a firewall configuration or due to a lack of network buffers.)。那我们就只有调整网卡buffersize,找了一些国外的文章,可以通过ethtool来修改网卡的buffer size ,首先要网卡支持,由于是NAT设备,我的全部是INTEL 的1000M网卡。
我们看看ethtool说明
-g –show-ring www.2cto.com
Queries the specified ethernet device for rx/tx ring parameter information.
-G –set-ring
Changes the rx/tx ring parameters of the specified ethernet device.