Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-21-2003, 07:47 PM   #1
Registered: Dec 2002
Posts: 71

Rep: Reputation: 15
Red Hat Linux Server Unbearably Slow

I just installed RH9. Apps from the desktop take a long time to launch. Even Konsole takes at least 20 seconds. Konqueror takes more than 40 seconds. Also when I start Kwrite it takes almost a minute. It seems that most of the X window apps are just plain slow launching.
However if I type ll -a or someother CLI app it runs instantaenously.

Specs: 2.2 Mhz Celeron server with 60GB HD 7200RPM, 256MB RAM from Gateway Computers. My partitions are as follows:
/boot 102MB,
/swap 1GB,
/ 50GB

I switched to KDE. I turned off a lot of services. (Sendmail, Canna, the autoprobe module). I have it down to minimum. I checked the DMA and it is set to 1.

The system has no sound card and no other hardware boards.
I restared a few times.

The strange thing, RH9 runs faster on my slower notebook (but I do have 512MB ram there).

Any suggestions would be appreciated.
Old 10-21-2003, 10:40 PM   #2
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Rep: Reputation: 30
why don't you run ps aux in console to figure out which programs are running and use root to kill the processes that are unwanted just a suggestion, I have a server right now. So far it's running quick and easy. barely anything runs on it though, and i didn't need to use ps aux to check the processes and kill anything, All i needed to do was secure the box down, than again i run slackware 9.1. I've been hearing a lot of complaints about redhat nowdays, why don't you give slackware a try?
Old 10-21-2003, 11:46 PM   #3
Registered: Oct 2003
Location: Salt Lake City, UT
Distribution: RedHat 9
Posts: 35

Rep: Reputation: 15
You could run top to list the top 10 programs taking CPU time.
Old 10-22-2003, 12:02 AM   #4
Registered: Jul 2003
Posts: 140

Rep: Reputation: 15
2.2 Mega Heartz? Thats slow! Or do you mean 2.2 Giga Hertz? I dunno, just thought I'd mention that....
Old 10-22-2003, 07:26 AM   #5
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
With Redhat 8 on, I wish this tip would become a sticky at the top of the Redhat Distribution forum. It needs to be able to resolve it's own name. Add localhost and it's network address to the hosts file. It will help regardless if you have a Cray or a Commodore.

Can't guarantee it will fix your issues, but this is major issue number one when it comes to speed.
Old 10-22-2003, 08:50 AM   #6
Registered: Dec 2002
Posts: 71

Original Poster
Rep: Reputation: 15
I meant 2.2 Ghz not 2.2 Mhz.

Does anyone think 256 MB ram with 1GB swap space is enough?
I am even going to up my RAM to 512MB.

I used the red hat service manager instead of ps aux or top. Does it matter?

And the localhost issue/suggestion. I thought that was done automatically.

I will double check everything and report back what I have done. But any other suggestions still appreciated.
Old 10-22-2003, 09:05 AM   #7
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
Originally posted by costasm
Does anyone think 256 MB ram with 1GB swap space is enough?

And the localhost issue/suggestion. I thought that was done automatically.
The RAM and SWAP are kind of at opposite ends of the scale. If this is a public server, I'd double or triple the RAM, but if this is a low-load server, I'd say 1GB swap is way too much. Make it equal to your RAM up to 512MB. Keep in mind that these issues, in my opinion, are not in anyway related to your slowness issues, but just another suggestion.

Adding the localhost and actual IP to the hosts file is not done automatically. Redhat assumes that you will set up DNS for this purpose, which is a waste for a low-load server. It is a VERY common mistake that I've written in these forums hundreds of times. Don't worry though, I made the same mistake too.
Old 03-19-2004, 03:54 PM   #8
LQ Newbie
Registered: Sep 2003
Location: Phoenix, Arizona, USA
Posts: 12

Rep: Reputation: 0
I have a very slow starting sendmail along with some X programs that launched very slowly. You my try adding ".localdomain" versions of each host name in your /etc/hosts file.
BEFORE localhost firewall bobby

AFTER localhost.localdomain localhost firewall.localdomain firewall bobby.localdomain bobby

This worked for me. Sendmail starts very quickly now (on RedHat 8 and 9 systems).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure Red Hat Linux as a server gschrade Red Hat 3 10-29-2003 12:32 PM
Red Hat Linux 7.3 as a Mail Server harperonline Linux - Networking 2 03-12-2003 04:34 AM
Installing a Server With Linux Red Hat 8.0 Zakane Linux - Newbie 4 01-22-2003 05:57 PM
Help!!! Red hat 7.2 FTP, WEB, MAIL connectivity to the server is running slow jobesd Linux - Distributions 0 02-28-2002 03:49 PM
Red Hat Linux Server installation questions ashpai Linux - Software 4 03-05-2001 10:50 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration