[Users] Network slowness

Kirill Korotaev dev at sw.ru
Mon Jul 2 10:27:53 EDT 2007


Check /proc/user_beancounters limits (post it here).
It can be due to a limit network buffers allowed.

Thanks,
Kirill

Kai Hendry wrote:
> Hi, I am using a kernel from deb http://download.openvz.org/debian etch main
> 
> Linux argo 2.6.18-028stab033.1-ovz-smp #1 SMP Thu May 31 04:17:27 CEST
> 2007 i686 GNU/Linux
> 
> argo$ sudo vzctl --version
> vzctl version 3.0.11
> 
> 
> I've setup an openvz VE (running Debian Unstable) like so:
> http://faq.dabase.com/faqw.py?req=show&file=faq01.152.htp
> 
> And I am quite happy with it.  Except I have experiencing some odd
> slow network behaviour, which I am having trouble debugging.
> 
> I first noticed it when my apt-get upgrades hung (timed out).
> 
> Now I've been noticing for an application in the VE to connect to a
> remote mysql DB.
> 
> monty is my laptop in the UK
> simon is the VE
> argo is the host
> 
> http://pastebin.com/940574
> 
> You can see that simon seems to take consistently almost 30 secs to
> get a couple of records from the DB. Any ideas why?
> 
> I have tried stopping and starting simon. I suspected DNS troubles at
> first, though simon to be able to look up stuff as fast as argo.
> 
> Kind regards,
> 
> 
> ------------------------------------------------------------------------
> 
> simon:~% sudo /sbin/ifconfig 
> lo        Link encap:Local Loopback  
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> 
> venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
>           inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
>           UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
>           RX packets:1858952 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1771614 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
>           RX bytes:851745664 (812.2 MiB)  TX bytes:258658607 (246.6 MiB)
> 
> venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
>           inet addr:192.168.2.66  P-t-P:192.168.2.66  Bcast:0.0.0.0  Mask:255.255.255.255
>           UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
> 
> simon:~% sudo route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 191.255.255.1   *               255.255.255.255 UH    0      0        0 venet0
> default         191.255.255.1   0.0.0.0         UG    0      0        0 venet0
> simon:~% sudo cat /etc/resolv.conf 
> search nipl.net
> nameserver 72.29.96.250
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users



More information about the Users mailing list