2019-07-28 10:31:56 +08:00
|
|
|
|
|
2013-08-18 17:42:25 +08:00
|
|
|
|
1) 2011.4.18
|
2019-07-28 10:31:56 +08:00
|
|
|
|
1.1) Ϊ<>˸<EFBFBD><CBB8>õ<EFBFBD><C3B5><EFBFBD> UDP <20><>ʽ<EFBFBD><CABD> syslog-ng ͨ<>ţ<EFBFBD>Ӧ<EFBFBD><D3A6> syslog-ng.conf
|
|
|
|
|
<EFBFBD>е<EFBFBD> source <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>: so_rcvbuf(xxx)<29><><EFBFBD><EFBFBD>:
|
2013-08-18 17:42:25 +08:00
|
|
|
|
source s_udp {
|
|
|
|
|
udp(ip(0.0.0.0) port(12345) so_rcvbuf(81920000));
|
|
|
|
|
};
|
|
|
|
|
|
2019-07-28 10:31:56 +08:00
|
|
|
|
ͬʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> net.core.rmem_max, <20><>: /sbin/sysctl -w net.core.rmem_max=81920000
|