Open haosdent opened 5 years ago
Does it work when with one worker only? If so, you can turn on the compile debug macro DPVS_CFG_PARSER_DEBUG
defined in src/config.mk, and change the dpvs log level to DEBUG
in /etc/dpvs.conf. Rebuild and run dpvs to see if there exists session miss.
@ywc689 , thanks a lot!!! OrzOrzOrz
Use 1 worker indeed don't have such issues and indeed session miss. Do you know any reason would cause this?
@ywc689 is it because of VLAN + FULLNAT? I just check our nic, it is X710(i40e) which support fdir
The dpdk 17.11.2 driver of i40e does not support Flow Director. We are considering to upgrade dpdk version.
@ywc689 When will the version of dpdk be updated?
I use ECMP + FULLNAT to set up my DPVS. My DPVS config is
and the local IP is
10.65.222.130
The route table in my DPVS is
and addr info is
When I
curl 10.65.222.55
from other servers, sometimes it works, sometimes it doesn't work. Most time it doesn't work.When it doesn't work, I could see the connection state is
SYN_RECV
in the DPVS.
I also try to dump the packet in the gateway. It looks like DPVS didn't send SYN+ACK after it receives SYN+ACK from the real server.
From the gateway, I could ping the DPVS VIP, DPVS local IP and any other DPVS IPs without packet loss.
@beacer @mscbg Any reason would cause this? I could modify the code to provide logs to you if need. Highly appreicated your help in advance since I have stucked at here more than 2 months. Orz