Click to See Complete Forum and Search --> : Lagg


Exempt
02-20-2004, 08:49 AM
Hello,

I havnt used my Linux system in about 3 months... (I have a dual boot with XP)... So I finally booted into Linux and actually am making myself learn this... Well I noticed that its lagging really bad, first when i boot up it takes atleast a minute to boot up to the login screen, seems to pause on sendmail, I also get these errors:

ntpd: Synchronizing with Time Server [failed]
Starting lpd Get_local_host hostname 'exemptspc@mshome', bad

I messed with the hostname a long time ago trying to get my girlfriends PC to connect to the cable modem thru mine, now Im not sure what to put it as, Im sure thats why that error is there... I am connected thru a linksys router, and I did notice when I changed it it wouldnt connect... Not sure why...

And when I type in my password and log in, another 30 seconds atleast... It seems to pause on the Starting Window Manager and the last 2 icons after that...

And I can handle all that, the one thing I cant handle is once im in, when I click on a program/type command to goto a program it takes ATLEAST 10 seconds to even act like its loading... No drive activity at all... Sometimes I have to double click the icons to work...

Anyone know what the problem could be?

Heres my system specs:
AMD Athlon 1800+ 768MB RAM
Redhat 8 with 2.4.20-28.8
and KDE 3.0.5a-5
I did install fluxbox as a friend told me to do, and it does the same thing in that memory manager too...

I also just updated my video drivers because a game was lagging bad, and thats no longer lagging, but the rest is... And its only when I first try to load a program...


Thanks in advance!

klackenfus
02-20-2004, 09:01 AM
A couple of things I noticed:

1. Why are you running Sendmail? Unless you're using this box as a mailserver, it's not necessary. One less service starting is a good thing.

2. Try setting your hostname back to localhost.localdomain. I have had that make significant differences in the way the system performs. It should not (emphasis on should) affect your cable modem.

I'm sure others will have better and more detailed solutions.

Exempt
02-20-2004, 09:03 AM
dot... duh! I kept trying an @ symbol... LMAO... Ill try and fix those 2 and reboot see how it does!

Thanks!

hard candy
02-20-2004, 09:06 AM
I think in redhat you change the hostname in /etc/sysconfig/network. Change it to what you like. You might try adding the hostname also to the localhost line after "localhost" with some space between them. Reboot.
In /etc/resolve.conf , make sure the nameserver names and addresses are the same as the linksys listing for DNS server and in the same order also.
And in the server settings in the redhat menu, disable any services you are not actually going to use.

Exempt
02-20-2004, 09:25 AM
K I changed it to localhost.localdomain, rebooted and still got the error...

And I couldnt get online, so I changed it to: localhost.mshome, and a few moments later had connection... Not sure if it was a coincidence, maybe the router hadnt eastablished a connection with my PC yet or not...

But heres the contents of that file, /etc/sysconfig/network:


NETWORKING=yes
HOSTNAME=localhost.mshome


Sendmail is disabled BTW... As for the services to disable, Im not wuite sure what I need and what I dont... :(

Exempt
02-20-2004, 09:51 AM
YESSSSSSSSSSS!!!!!!!!!!!!!!!!! I figured it out! It was the /etc/hosts file, there was no domain or anything listed in it... I slightly remember editing that file and seeing the warning not too, back when i was trying to connect my g/fs computer...

Anyways, that fixed the boot up lag, the time server prob, and yes even the program loading lag!!


Thanks a million guys!

klackenfus
02-20-2004, 09:58 AM
Anyways, that fixed the boot up lag, the time server prob, and yes even the lag!!

The odd thing about this is, I have no idea why the domain name setting would affect the way KDE performs. I know this solution works but frankly, I don't see the linkage. I just remember doing exactly what you did and having the same problem.

hard candy
02-20-2004, 10:02 AM
Probably a lot of programs like email, office applications, control center, sound, etc reference the domain name in kde and maybe they are looking at all the possibilities to resolve it.