/ proc / net / udp下降是负值

问题描述 投票:0回答:1

我们有一个Syslog-ng,它接收大量的UDP流,我认为正在丢弃许多UDP数据包,请问为什么我在/ proc / net / udp中得到负值[丢弃列]

netstat -su

    5322117448164 packets received
    874516751 packets to unknown port received.
    516387410736 packet receive errors
    351482789 receive buffer errors
    InCsumErrors: 897232

将最大接收大小设置为80MB

sysctl net.core.rmem_max net.core.rmem_max = 83886080

ss -ulnp显示Recv-Q约为80MB

# ss -ulnp | grep syslog

UNCONN 83482560 0 *:9002 *:* (("syslogng",pid=15798,fd=6))

/ proc / net / udp

  sl  local_address rem_address   st tx_queue rx_queue tr tm->when retrnsmt   uid  timeout inode ref pointer drops

51808: 00000000:232A 00000000:0000 07 00000000:04FFFEC0 00:00000000 00000000     0        0 3815546609 2 ffff88103f9fd500 -1437668106

您能告诉我负值在滴数栏中是什么意思

unix udp proc
1个回答
0
投票

由于存在大量流量,由于rmem_max配置不够,所以出现了下降,但问题的根本原因是我们syslog-ng的配置错误,很不幸。

© www.soinside.com 2019 - 2024. All rights reserved.