web browsers slow, little memory free, pleae review output from top
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
web browsers slow, little memory free, pleae review output from top
I'm trying to get to the bottom of why firefox, mozilla, konqueror, and epiphany are ALL loading webpages rather slowly. For instance, I can hit the same link on both my Mandrake 10 box running firefox (r any of the others) and at the same time click the link on my windows box running firefox. Well, the windows box returns the page in all of 6 to 7 seconds, while the Mandrake box takes roughly 40 to 50 seconds. It is not loading bit sof the page at a time or anything, it just takes that long until the page appears at all. So, I thought I'd try to find out what services I have running, and then hopefully decide which I do not need and how to stop them from starting at boot again. Kinda flying blind in my venture, but I noticed many many instances of kdeinit from the "top" command, and of my 512M of RAM I usually have 480-500M of it being used at any given time. Here is the top portion from "top"... what's with all the kdeinit and httpd2 entries? I'm running a webserver, but is it normal to have that many instances?
Until someone smarter comes along - this sounds rather like a DNS resolution issue. Have you checked how those names are resolved?
For instance, in Slack if I configure the network during the install, it requires me to enter a domain name, but my ISP doesn't use this. So whatever I enter is put into the /etc/resolv.conf file as a domain to search, before the actual nameserver(s). If that search isn't the proper domain, it's going to cause a delay while your browser searches before it goes to the nameserver. I only post this because I had the same issue until I removed that domain name, and now that I only have the 2 proper nameserver ip addresses, it begins to load immediately.
No good. I did in fact have an entry in there, and removed it, leaving only the nameserver entries. They are my loopback address first, then two others that I believe to be correct, I think they're 188.8.131.52 and .186
Originally posted by jeffreybluml Thanks for replying.
No good. I did in fact have an entry in there, and removed it, leaving only the nameserver entries. They are my loopback address first,
Anything other ideas?
I am not the expert here, but I don't think you need your loopback address. Since you know how to change the file, comment it out and try without it. Don't forget to restart your services before checking. Then you can uncomment it back in if you want.
then two others that I believe to be correct, I think they're 184.108.40.206 and .186
Does this sound correct?
bash-2.05b$ whois 220.127.116.11
OrgName: EarthLink, Inc.
Address: 1375 PEACHTREE ST, LEVEL A
NetRange: 18.104.22.168 - 22.214.171.124
NetType: Direct Allocation
TechName: Domain Administrator, Administrator
OrgAbuseName: ABUSE TEAM
OrgTechName: EarthLink, Inc.
# ARIN WHOIS database, last updated 2004-06-25 19:10
# Enter ? for additional hints on searching ARIN's WHOIS database.
You tell us if this is the correct nameserver...
If you got a Windoze box running you can issue
C:\> ipconfig /all
and that will show your nameservers. Sorry I don't know how to do it from *nix...
Last edited by Bruce Hill; 06-26-2004 at 07:41 PM.
Well, I may or may not have fixed mine, it turns out. Still trying to decide. SOme of the sites are faster now, but others are still rather slow. For instance, fox news just took 29 seconds to load on the linux box, 8 seconds on the win box. Perhaps it's just foxnews.com, as ti does have lots of flash ads and java crap to load. I don't know, some of you kind people shuold go there and tell me how quickly yours loads.
One thing I noticed, no matter how I try to remove the loopback address from my /etc/resolv.conf, if I delete it or comment it out, it gets re-written to it as soon as I restart my services. Why?
Another thing, I was mistaken in what I entered into /etc/resolv.conf. Rather than...
Now, to help robby737 get this far...
Please do the following. Open a terminal and change to root if you can. If you don't know how to do this, you just type "su" and then hit enter, and then enter the root password when prompted and hit enter...
Perform the following:
# vi /etc/resolv.conf
Move your cursor (with the arrow keys) to the line that says "nameserver 127.0.0.1" and hit the "d" key twice to delete the line. Now, hit the "i" key to begin insert mode, hit enter to create a new line, up arrow to get cursor to this new line, and typr the following...
Now, this only applies if the LAN IP of your router (assuming you have a router) is 192.168.1.1. Many are, but certainly not all. Lets try this (only way I can figure out how) to get your info. Open a new terminal and type:
In the second line of that, you see the "inet addr:192.168.1.101." That is the ip assigned by my router. YOur routers ip will be the first three sets of numbers, with the final set being 1. Just as my ip is 192.168.1.101, router 192.168.1.1...get it? There are of course exceptions to this rule, but you'll just have to let us know if you're one of them.
Now that youve got your routers ip, replace the numbers after "domain" that you just added to /etc/resolv.conf in the other terminal. Once you've got that line made, hit the esc key, then type a colon ( and wq, like this
and hit enter. This writes the file and quits the editor. now, as root, type
and hit enter. If you get command not found, type
this will restart all of your services. Might want to watch this process, to see if any fail to start.
Now see if your internet is better. PLEASE let us know if this worked for you. I'm still skeptical as to whether or not mine is better or not...it may just be that I"m impossible to satisfy...
Thanks for helping folks, let me know if you try getting to foxnews.com and how quick it is/isnt
Okay, after re-reading the reply from Chinaman, I pulled my head out of my rear and got this right.
The very first line in my /etc/resolv.conf was:
search earthlink.net local
Well, I changed this to read:
and foxnews, as well as all other sites, comes up in under 8 seconds. That is the IP of earthlink's nameserver, and was the first in the list of nameservers in this file, but adding it to the search line seems to have fixed things.
Might I add that in your post describing how to edit the file you suggest the editor vi, which to me is hard for a newbie. Maybe something like kedit, gedit, pico, or nano will be easier for newbies to start with. If vi gives you problems, just insert one of those where you previously had vi and see which you like better.
Ok I did what you said and I have a fealing I dont have a router set up. With your precise instructions vi seamed ok to use. when I did # vi /etc/resolv.conf there was no 127.0.0.1 there was 2 lines of nameserver 65.38.xxx.x then 16 lines of #nameserver 65.38.xxx.x #temp entry then 2 lines similar to the top 2 lines.
With # ifconfig -a I got the following:
link encap: local loopback (on fisrt line)
inet add: 127.0.0.0 mask 255.0.0.0 (on second line)
I dont think I have the dial up set up right. When in the configuration for the internet connection where it asks for dial up IP parameters and has 2 selections for auto and manual I put it in auto because I dont know what it is. Also there is another window for gateway I also selected auto not manual here as well becuase I dont know what it is. I do have the dns server addresses, username and passwords in there thats pretty easy. There is a check box in the setup that says set host name from IP. I dont know what to do with that either.