I’m having nearly constant problems with the network stalling. I thought it was just one website, but it’s across many websites. At some times of the day, it’s really bad. I have standard DSL connection. I’v heard about changing your DNS server to help. How do find the source of the problem? What are the tools to find it? Thanks.
On 07/09/2013 01:06 PM, lord valarian wrote:
>
> I’m having nearly constant problems with the network stalling. I thought
> it was just one website, but it’s across many websites. At some times of
> the day, it’s really bad. I have standard DSL connection. I’v heard
> about changing your DNS server to help. How do find the source of the
> problem? What are the tools to find it? Thanks.
Could you describe “stalling” a bit more? Do you mean some pages will not
load, or all of them will not load? Just for certain sites? What about
with another web browser? Do other computers on your network (if
applicable) work? Does it happen with other applications (e-mail, news,
chat/IM, Google Earth, etc.) that connect to the Internet?
Testing your DNS server is done with the ‘dig’ command, and you could
setup something like the following in a terminal/shell to query a server
of yours every ten seconds, then wait for errors:
Code:
while 1 ]; do date; dig +short -x @grep '^nameserver ' /etc/resolv.conf | awk '{print $1}' | head -1
google.com | head -1; echo; sleep 10; done
If that stops printing one line with an IP address to Google and instead
just prints dates, something is wrong. You should get something like this:
Code:
Tue Jul 9 13:23:34 MDT 2013
74.125.239.99
Tue Jul 9 13:23:35 MDT 2013
74.125.239.97
Tue Jul 9 13:23:36 MDT 2013
74.125.239.96
If your DNS servers are having issues, though, you’ll probably need to
check with your ISP. If your DNS server is your own gateway/router then
you may need to get that fixed.
Good luck.
Disable IPv6
Make sure you have the loopback and DHCP check boxes checked to in the options
Are you seeing slow refresh times when you load YaST too?
try disabling ipv6 at two levels
==>system level
==>browser level
If any of the following conditions exist
You do not connect with a high quality wired connection (802.3), eg WiFi, wireless telco, satellite
You have a flakey ISP which has less than great hardware
You share your connection with many people (a good hint although not guaranteed if you have a private address space)
You regularly try to transfer <very> large files ( >10MB)
You connect to <many> clients simultaneously (Server, torrent, etc)
Then I recommend you read and make the changes I’ve written about at
https://sites.google.com/site/4techsecrets/optimize-and-fix-your-network-connection
The guide describes
What is the TCP Congestion Control Algorithm, and how to change it
How to enlarge the TCP/IP buffers (but beware, as I describe enlarging also suggests the contents should be managed intelligently to avoid “Buffer Bloat.”)
The guide merely describes how to optimize when operating in less than optimal conditions (eg Direct Network wired connection, dedicated and unshared over a short distance doing common tasks like web surfing and email). It will not work magic to solve network issues, but will make your machine more responsive and intelligent when network problems exist.
Note the description of one of my tests… The typical profile for that problem is that the network slow, slows over about 4 minutes, then “stalls” altogether for approx 2 minutes… Then is much faster but repeats the cycle.
HTH,
TSU
I’m still studying the messages(more to come). I’m getting this result.
> while 1 ]; do date; dig +short -x @`grep '^nameserver ' /etc/resolv.conf | awk '{print $1}' | head -1` google.com | head -1; echo; sleep 10; done
Tue Jul 16 12:03:37 PDT 2013
;; connection timed out; no servers could be reached
Tue Jul 16 12:04:17 PDT 2013
;; connection timed out; no servers could be reached
Tue Jul 16 12:04:57 PDT 2013
;; connection timed out; no servers could be reached
(repeats)
Could you describe “stalling” a bit more? Do you mean some pages will not
load, or all of them will not load? Just for certain sites? What about
with another web browser? Do other computers on your network (if
applicable) work? Does it happen with other applications (e-mail, news,
chat/IM, Google Earth, etc.) that connect to the Internet?
DSL - no other computers connected. I get about 120k-170K per second. Using yast update, it seems to work fine. It’s seems confined to firefox. You mean kconquerer? What other browser for suse?
Pages will not load for a few minutes. Later they will load fine. The same time of day they can be faster or slower. There isn’t really any pattern.
Have you been able to check other devices on the same access point?
If you boot a Live CD of Ubuntu does it work normally?
Have you tried this
https://dl.dropboxusercontent.com/u/10573557/All_Network/Hostname.png
with both boxes checked
Try clearing your name resolution cache by stop/restarting nscd.
IIRC (someone correct me if I’m wrong)
nscd -K && nscd
HTH,
TSU
Gigabyte M61P-S3 eth0
(hardware text file available)
Make sure you have the loopback and DHCP check boxes checked to in the options
I found loopback not checked. So. I checked the box and closed out network page. In yast, I checked the network setting page again and verified. Rebooted as this morning.
---- super user mode ----
#nscd -K && nscd
#while 1 ]; do date; dig +short -x @`grep '^nameserver ' /etc/resolv.conf | awk '{print $1}' | head -1` google.com | head -1; echo; sleep 10; done
Thu Jul 18 13:42:30 PDT 2013
;; connection timed out; no servers could be reached
Thu Jul 18 13:43:11 PDT 2013
;; connection timed out; no servers could be reached
Thu Jul 18 13:43:51 PDT 2013
;; connection timed out; no servers could be reached
Have you been able to check other devices on the same access point?
If you boot a Live CD of Ubuntu does it work normally?
I’m connected using the gigabyte motherboard’s nvidia ethernet. Also, I have an ethernet card, not connected. If that is what you mean?
Get a live CD of suse ot ubuntu? Test the internet connect the same way I’ll can do that.
I also have mswin XP bootable through the grub menu and windows 7.
TSU2(continued next message)
I’v noticed that without ipv6 supported(unchecked in network settings) the stalls seems to be reduced.
while 1 ]; do date; dig +short -x @`grep '^nameserver ' /etc/resolv.conf | awk '{print $1}' | head -1` google.com | head -1; echo; sleep 10; done
In superuser mode or normal mode, it still times outs every time.
Yast->online update
Seems to be the same.
TCP/IP buffer changing the buffer size? I don’t have any email client, only yahoo. Otherweb browsers like? Kconquerer seems to be much faster than firefox. Maybe this is a firefox problem. I have some addons that might add to webpage loading time.
I encounter slowness when I’m downloading at the same time, nothing unusual there.
Thanks to all.