LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-03-2004, 11:58 AM   #1
patkim
LQ Newbie
 
Registered: Apr 2004
Posts: 12

Rep: Reputation: 0
hard disk activity


My PC configuration is AMD Athlon 2000, 256 MB DDR, 20 GB HDD with Win XP and Red Hat 7.3 in separate partitions. When I boot to RH, it just happens that after 20 – 30 minutes from boot, there’s sudden hard disk activity though I am not running any new programs, I can feel the Harddisk spinning, the HDD light glowing full and this slows down the PC for another 2 – 3 minutes. This keeps on happening even thereafter at random intervals. What could be the reason? As such no much concern with hard disk activity, but what surprises me is that it just slows down the PC (practically I have to stop working) for another 2 - 3 mins!
Thanks..
 
Old 06-03-2004, 01:08 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try running:
top

Then press "P" to sort by cpu usage - you may get to see which process is doing all the work. My guess is that it will be "updatedb". This is used to index your system and create a database of files for use with the locate command.
 
Old 06-03-2004, 01:21 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Try hdparm to tweek your settings. You should be able to lessen the impact of hard drive access on your system.


This explains it in detail, you may want to search for other info on hdparm.


http://www.linuxdevcenter.com/pub/a/...29/hdparm.html
 
Old 06-03-2004, 09:40 PM   #4
mint567
Member
 
Registered: Nov 2003
Location: Georgia
Distribution: Slackware 10.2
Posts: 75

Rep: Reputation: 15
It is a possibility that all of your ram has been allocated and it is accessing swap memory. What window manager are you using or desktop?
 
Old 06-04-2004, 12:34 PM   #5
patkim
LQ Newbie
 
Registered: Apr 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for your inputs, I ran top command and yes it was updatedb consuming around 40 - 50 % CPU usage!! RAM utilization was around 70%. I am using KDE 3.
So is there any way updatedb can be disabled? or should I kill that process if I find that PC is slowing down too much. Thanks..
 
Old 06-04-2004, 01:00 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
If you never use the search app "locate" then you can remove it. The problem seems to be that your disk activity is slowing your system down more than it should. You should be able to use your system normally while disk activity is going on.

You could setup updatedb to run when you will not be at your computer or set it's nice level. Check to see if it's in /etc/cron.daily
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unusual disk activity Calgarian SUSE / openSUSE 2 04-18-2005 06:09 AM
Incessant hard disk activity - proc/bus/pci emeskay Linux - Newbie 3 12-09-2004 07:17 PM
Debian disk activity babzog Debian 3 03-23-2004 09:33 AM
A lot of hard disk activity? HoosTrax Linux - Hardware 14 03-04-2004 07:36 PM
CPU at 100% along with non stop hard disk activity biotek1 Fedora 6 02-05-2004 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:23 AM.

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
Open Source Consulting | Domain Registration