1838 root 22 -15 271M 77660K sbwait 14 668.3H 23.58% /usr/local/bin/ipcad -rds -c /usr/local/etc/ipcad.conf{ipcad}
1838 root 20 -15 271M 77660K CPU21 21 425.9H 15.19% /usr/local/bin/ipcad -rds -c /usr/local/etc/ipcad.conf{ipcad}
divert?
у меня пикует нагрузка на ipcad практически до упора.
вот конфиг ipcad
capture-ports enable;
interface divert port 1 netflow-disable;
interface divert port 2 netflow-disable;
rsh enable at 127.0.0.1;
rsh root@127.0.0.1 admin;
rsh ttl = 3;
rsh timeout = 30;
dumpfile = ipcad.dump;
chroot = /tmp;
memory_limit = 50m;
сейчас нагрузки 700 мегабит
2295 root 41 -15 103M 56036K sbwait 1 35:26 34.33% ipcad{ipcad}
2295 root 24 -15 103M 56036K sbwait 2 21:03 16.06% ipcad{ipcad}
00420 0 0 tee 1 ip from any to any
00450 0 0 tee 2 ip from any to any
00510 0 0 tee 1 ip from any to any
[root@bill /usr/local/etc]# cat ipcad.conf
capture-ports enable;
interface tee port 1 netflow-disable;
interface tee port 2 netflow-disable;
rsh enable at 127.0.0.1;
rsh
root@127.0.0.1 admin;
rsh ttl = 3;
rsh timeout = 30;
dumpfile = ipcad.dump;
chroot = /tmp;
memory_limit = 50m;
hw.model: Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
1838 root 37 -15 299M 106M sbwait 17 670.1H 30.27% /usr/local/bin/ipcad -rds -c /usr/local/etc/ipcad.conf{ipcad}
1838 root 20 -15 299M 106M sbwait 11 427.1H 20.07% /usr/local/bin/ipcad -rds -c /usr/local/etc/ipcad.conf{ipcad}
[root@bill /usr/local/etc]# netstat -w1 -h -I lagg0
input (lagg0) output
packets errs idrops bytes packets errs bytes colls
82k 0 0 33M 144k 2 172M 0
81k 0 0 33M 137k 1 163M 0
83k 0 0 33M 145k 0 173M 0
79k 0 0 30M 144k 0 175M 0
[root@bill /usr/local/etc]# cat /etc/sysctl.conf
net.inet.ip.fastforwarding=1
##############################################
net.inet.ip.fw.dyn_max=65000
net.inet.ip.dummynet.hash_size=32768
net.inet.ip.dummynet.pipe_slot_limit=1000
net.inet.ip.dummynet.io_fast=1
net.inet.ip.dummynet.expire=0
net.inet.icmp.drop_redirect=1
###############################################
net.inet.tcp.maxtcptw=40960
kern.ipc.somaxconn=4096
kern.ipc.nmbclusters=65536
net.inet.tcp.nolocaltimewait=1
net.inet.ip.portrange.randomized=0
##################################
#### igb
ifconfig_igb0="-rxcsum -txcsum -tso -lro up"
ifconfig_igb1="-rxcsum -txcsum -tso -lro up"
ifconfig_igb2="-rxcsum -txcsum -tso -lro up"
ifconfig_igb3="-rxcsum -txcsum -tso -lro up"
#### lagg
ifconfig_lagg0="laggproto lacp laggport igb0 laggport igb1 up"
ifconfig_lagg1="laggproto lacp laggport igb2 laggport igb3 up"
десь воно так у мене налаштовано, без проблем проходить 1.9Г далі буду доставляти ще один нас, бо зараз це все в одному флаконі