Thread: Connection problem

  1. #1
    Registered User Tommo's Avatar
    Join Date
    Jun 2007
    Location
    Scotland
    Posts
    101

    Connection problem

    Hi guys.

    I have two computers connected to a router; one uses XP, the other (which I am using) runs Debian. The problem is the browser on my debian machine is running very slow. I am using Firefox. I have tried epiphany to see if it was a browser issue but I get the same speeds. The thing is, the other computer running XP is operating normally.

    Any ideas how I could diagnose the problem?

    Please note, I have tried another network cable and the problem remains.
    Last edited by Tommo; 09-25-2007 at 11:56 AM.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    What does "top" say when you are running FireFox? Is the CPU load high or low? Is there a lot of memory used, or lots free?

    Also, what is slow - the drawing pages, downloading files or something else?

    If you use wget to download a file, what speed does that happen at?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User Tommo's Avatar
    Join Date
    Jun 2007
    Location
    Scotland
    Posts
    101
    It's actually pretty low. It wasn't displaying in top initially, I had to refresh a page for 'firefox-bin' to appear and that was using maybe 8% max cpu and staying at 5.4% memory. ps aux shows:

    Code:
    tommo@debian:~$ ps aux | grep firefox
    tommo     3260  0.0  0.1   4164  1524 ?        S    19:27   0:00 /bin/sh /usr/local/bin/firefox/firefox
    tommo     3263  0.0  0.1   4200  1560 ?        S    19:27   0:00 /bin/sh /usr/local/bin/firefox/run-mozilla.sh /usr/local/bin/firefox/firefox-bin
    tommo     3268  1.3  5.4 152896 55868 ?        Sl   19:27   0:44 /usr/local/bin/firefox/firefox-bin
    tommo    20891  0.0  0.0   2852   720 pts/1    S+   20:24   0:00 grep firefox
    And yes it is slow at drawing pages, downloading files is not a problem.
    Last edited by Tommo; 09-25-2007 at 12:29 PM.

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Have you got the right graphics drivers for your hardware?

    Does "xgears" run fast?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Registered User Tommo's Avatar
    Join Date
    Jun 2007
    Location
    Scotland
    Posts
    101
    xgears is not installed. It is just a recent problem I have had. I got rid of Iceweasel and installed firefox manually not that long ago. As for my graphics drivers, I doubt it's the problem, although I could be wrong I wouldn't know.

    Code:
    $/sbin/lspci
    
    00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Express Chipset Family Graphics Controller (rev 04)
    I don't see anything specifically related to the above in lsmod, but then again it could be compiled into the kernel. But I digress.

  6. #6
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    Have you installed any add-ons for Firefox? There are known add-ons that could slow it down a lot, or cause it to crash and freeze etc.
    And I have to ask, why did you remove Iceweasel? I love it!
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

  7. #7
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Iceweasel is very nice. Besides, it's basically exactly the same as Firefox. They just renamed it because there are some copyright problems with the name Firefox or the Firefox logo or something, I forget the exact details.

    And yes it is slow at drawing pages, downloading files is not a problem.
    Well then it probably is a browser issue, even if Epiphany was slow too. (Did you try Epiphany when Firefox was fast?)

    I'm pretty sure that Firefox can switch browsing engines, at least under Windows. Or maybe that was Opera. Anyway, you could try switching back to the default rendering engine if you changed it. You could try modifying/deleting your configuration files in case one of the options has slowed it down.

    What about other browsers? Do you have KDE installed? Because I could see Epiphany and Firefox using the same engine, but I think Konqueror uses KHTML, which is completely different.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  8. #8
    Registered User Tommo's Avatar
    Join Date
    Jun 2007
    Location
    Scotland
    Posts
    101
    Thanks for the replies guys.

    I got rid of Iceweasel as it was crashing a lot if i remember correctly. I don't have KDE no, I prefer Gnome. What is a browsing engine? I have never heard of that before. How would I check this? I don't understand why it started all of a sudden though, this is why I think there may even be something wrong with my eth card. Strange.

  9. #9
    Registered User Tommo's Avatar
    Join Date
    Jun 2007
    Location
    Scotland
    Posts
    101
    I tried my windows partition, and browsing wasn't a problem. So I got rid of firefox, and installed iceweasel again. The problem remains. I may just re-install, this is getting on my tits.

    Edit: After a couple of minutes, it has started working normally again. Who knows.
    Last edited by Tommo; 09-30-2007 at 08:44 AM.

  10. #10
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Many Linux systems automatically index files. This takes a lot of CPU while it's running. Perhaps that was what was happening.

    If you add a system resource monitor or whatever to Gnome's taskbar, you can easily see when this is happening, because the majority of the CPU is used reading the filesystem, which shows up as a different, darker colour in the resource monitor's CPU monitor.

    You can stop the indexing if you really want to. It's usually a find process being run by nobody. I'm not sure what the ramifications of this are -- I always just let it run. It doesn't take long.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 11-07-2005, 11:34 PM
  2. searching problem
    By DaMenge in forum C Programming
    Replies: 9
    Last Post: 09-12-2005, 01:04 AM
  3. Bin packing problem....
    By 81N4RY_DR460N in forum C++ Programming
    Replies: 0
    Last Post: 08-01-2005, 05:20 AM
  4. sockets problem programming
    By kavejska in forum C Programming
    Replies: 0
    Last Post: 07-25-2005, 07:01 AM
  5. Words and lines count problem
    By emo in forum C Programming
    Replies: 1
    Last Post: 07-12-2005, 03:36 PM