LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-21-2003, 08:47 PM   #1
costasm
Member
 
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, 11:40 PM   #2
Crunch
Member
 
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-22-2003, 12:46 AM   #3
banderson
Member
 
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, 01:02 AM   #4
HappyDude
Member
 
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, 08:26 AM   #5
ghight
Member
 
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, 09:50 AM   #6
costasm
Member
 
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, 10:05 AM   #7
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
Quote:
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, 04:54 PM   #8
eskinner
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
127.0.0.1 localhost
192.168.1.1 firewall
192.168.1.102 bobby

AFTER
127.0.0.1 localhost.localdomain localhost
192.168.1.1 firewall.localdomain firewall
192.168.1.102 bobby.localdomain bobby

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


Reply


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 01:32 PM
Red Hat Linux 7.3 as a Mail Server harperonline Linux - Networking 2 03-12-2003 05:34 AM
Installing a Server With Linux Red Hat 8.0 Zakane Linux - Newbie 4 01-22-2003 06:57 PM
Help!!! Red hat 7.2 FTP, WEB, MAIL connectivity to the server is running slow jobesd Linux - Distributions 0 02-28-2002 04:49 PM
Red Hat Linux Server installation questions ashpai Linux - Software 4 03-05-2001 11:50 AM


All times are GMT -5. The time now is 04:35 PM.

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