Re: Pirana problem with MTU fragmentation
Khapare Joshi <[email protected]> Thu, 8 Mar 2012 19:08:34 +0000
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <CABHhH+v=qHffCXt0Qjnoivy-RUSOf0vP4-Dj9+f5KNgP22Vkgg@mail.gmail.com> |
--===============8514220925243858324== Content-Type: multipart/alternative; boundary=f46d042ef7a9a6b20e04bac00048 --f46d042ef7a9a6b20e04bac00048 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Andrey On Thu, Mar 8, 2012 at 7:03 PM, Andrey Feldman <[email protected]> wrote: > Hi. > cat /proc/sys/net/ipv4/ip_no_pmtu_disc ? > cat /proc/sys/net/ipv4/ip_no_pmtu_disc 0 > tracepath 10.192.6.1 ? > ifconfig -a ? > > > On 03/08/2012 07:29 PM, Khapare Joshi wrote: > > Hello all, > > I am running pulse on virtual machine for webserver, it seems working wel= l, but there is one problem with networking I think. It seems there is a pr= oblem with lvs server is not fragmenting larger than 1500 packets size. I d= id the quick tcpdump and I get following info. > > > my problem is when user is uploading files it takes for ever and never co= mpletes. I am thinking lvs (pulse) is not not fragmenting the larger packet= size than 1500 hence it never goes to backend server. > > 16:25:22.543563 00:1f:6d:cf:4e:49 > 52:54:00:b5:30:3c, ethertype IPv4 (0x= 0800), length 2974: 10.128.1.5.60715 > 10.192.6.1.https: Flags [.], seq 770= 5:10625, ack 146, win 16388, length 2920 > 16:25:22.543590 52:54:00:b5:30:3c > 00:1f:6d:cf:4e:49, ethertype IPv4 (0x= 0800), length 590: 10.192.6.1 > 10.128.1.5: ICMP 130.208.165.177 unreachabl= e - need to frag (mtu 1500), length 556 > > > I tested following: > > 1. IP forward is enabled. > 2. lro,gro are off on eth0 > ethtool -k eth0 > Offload parameters for eth0: > rx-checksumming: on > tx-checksumming: on > scatter-gather: on > tcp-segmentation-offload: on > > udp-fragmentation-offload: on > generic-segmentation-offload: on > generic-receive-offload: off > large-receive-offload: off > 3. IPVS version is v1.2.1 > 4. Backend server has arptables and set to mangaled to right interface > > 5. Firewall is allowed on both lvs and backend server. > 6. http and https are open for all. > > Any help in this would be great. > > K > > > > _______________________________________________ > Piranha-list mailing [email protected]://www.redhat.com/ma= ilman/listinfo/piranha-list > > > > _______________________________________________ > Piranha-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/piranha-list > --f46d042ef7a9a6b20e04bac00048 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Andrey<br><br><div class=3D"gmail_quote">On Thu, Mar 8, 2012 at 7:03 PM,= Andrey Feldman <span dir=3D"ltr"><<a href=3D"mailto:[email protected]">pr1@pr1= .ru</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar= gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> =20 =20 =20 <div bgcolor=3D"#FFFFFF" text=3D"#000000"> Hi.<br> cat /proc/sys/net/ipv4/ip_no_pmtu_disc ?<br></div></blockquote><div><br= >=A0cat /proc/sys/net/ipv4/ip_no_pmtu_disc <br>0<br>=A0</div><blockquote cl= ass=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-left:1px solid= rgb(204,204,204);padding-left:1ex"> <div bgcolor=3D"#FFFFFF" text=3D"#000000"> tracepath 10.192.6.1 ?<br> ifconfig -a ?<div><div class=3D"h5"><br> <br> On 03/08/2012 07:29 PM, Khapare Joshi wrote: </div></div><blockquote type=3D"cite"><div><div class=3D"h5"> <pre>Hello all,=20 I am running pulse on virtual machine for webserver, it seems working well,= but there is one problem with networking I think. It seems there is a prob= lem with lvs server is not fragmenting larger than 1500 packets size. I did= the quick tcpdump and I get following info. my problem is when user is uploading files it takes for ever and never comp= letes. I am thinking lvs (pulse) is not not fragmenting the larger packet s= ize than 1500 hence it never goes to backend server. 16:25:<a href=3D"tel:22.543563%2000" value=3D"+12254356300" target=3D"_blan= k">22.543563 00</a>:1f:6d:cf:4e:49 > 52:54:00:b5:30:3c, ethertype IPv4 (= 0x0800), length 2974: 10.128.1.5.60715 > 10.192.6.1.https: Flags [.], se= q 7705:10625, ack 146, win 16388, length 2920 16:25:<a href=3D"tel:22.543590%2052" value=3D"+12254359052" target=3D"_blan= k">22.543590 52</a>:54:00:b5:30:3c > 00:1f:6d:cf:4e:49, ethertype IPv4 (= 0x0800), length 590: 10.192.6.1 > <a href=3D"http://10.128.1.5" target= =3D"_blank">10.128.1.5</a>: ICMP 130.208.165.177 unreachable - need to frag= (mtu 1500), length 556 I tested following:=20 1. IP forward is enabled. 2. lro,gro are off on eth0=20 ethtool -k eth0 Offload parameters for eth0: rx-checksumming: on tx-checksumming: on scatter-gather: on tcp-segmentation-offload: on udp-fragmentation-offload: on generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off 3. IPVS version is v1.2.1 4. Backend server has arptables and set to mangaled to right interface 5. Firewall is allowed on both lvs and backend server. 6. http and https are open for all. Any help in this would be great. K</pre> <br> <fieldset></fieldset> <br> </div></div><pre>_______________________________________________ Piranha-list mailing list <a href=3D"mailto:[email protected]" target=3D"_blank">Piranha-list@r= edhat.com</a> <a href=3D"https://www.redhat.com/mailman/listinfo/piranha-list" target=3D"= _blank">https://www.redhat.com/mailman/listinfo/piranha-list</a></pre> </blockquote> <br> </div> <br>_______________________________________________<br> Piranha-list mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"https://www.redhat.com/mailman/listinfo/piranha-list" target=3D"= _blank">https://www.redhat.com/mailman/listinfo/piranha-list</a><br></block= quote></div><br> --f46d042ef7a9a6b20e04bac00048-- --===============8514220925243858324== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Piranha-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/piranha-list --===============8514220925243858324==--