LinuxQuestions.org
Help answer threads with 0 replies.
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 11-17-2001, 07:21 AM   #1
aethereal
Member
 
Registered: Dec 2000
Location: Seattle
Distribution: Red Hat 8.0
Posts: 41

Rep: Reputation: 15
Unhappy irritating, repetitive HD sound (only in Linux)


Hi,

Would anybody happen to have any insights into the following?

I have a very standard Dell Dimension 4100 running a very standard dual-boot Win98SE/Red Hat 6.2 setup.

Everything works completely fine, except that I have noticed a very irritating thing whenever I am running Linux.

For some reason, only when I am running Linux, my hard drive seems to make a very brief (fraction of a second) read/write action about every five seconds or so, even when my machine is doing virtually nothing.

Does anybody know why this might be?

I have 128MB of RAM (with room to spare), and plenty of swap space allocated, I believe, so I can't understand why I should hear such very brief hard drive accesses every few seconds.

Any ideas on this? I suspect that whatever is going on here has a very simple cause/solution. But what?

Any thoughts would be greatly appreciated.

This incessant, and seemingly very needless, "zip... <pause> zip... <pause> zip... <pause>" sound of my hard drive is beginning to drive me crazy.

Thanks,
Ben

Btw: I feel quite sure there is nothing wrong with my hard drive itself. : )
 
Old 11-17-2001, 11:12 PM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Re: irritating, repetitive HD sound (only in Linux)

Quote:
Originally posted by aethereal
For some reason, only when I am running Linux, my hard drive seems to make a very brief (fraction of a second) read/write action about every five seconds or so, even when my machine is doing virtually nothing.
I knew the answer to this one once, but I've slept since then...

But IIRC, it had something to do with cron. I think. Maybe...


Quote:
Btw: I feel quite sure there is nothing wrong with my hard drive itself. : )
No, other than annoying you (and of course, the unnecessary wear on the drive), it shouldn't hurt anything.

I kinda remember how we isolated the problem, it was by killing processes in kpm until the drive shutup (hmm, try umounting it and see who complains?)


John
 
Old 11-17-2001, 11:31 PM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Have a look at the time stamps in your system logs. Sounds like something is generating a tidbit of information that needs to be noted. Have a look at /var/log/messages, /var/log/warn. Use
Code:
tail -100 /var/log/messages
to see the last 100 lines or
Code:
tail -f /var/log/messages
to watch the last lines of the logs as written live.
 
Old 11-18-2001, 06:27 AM   #4
aethereal
Member
 
Registered: Dec 2000
Location: Seattle
Distribution: Red Hat 8.0
Posts: 41

Original Poster
Rep: Reputation: 15
Smile I think I found the solution to my problem

Hey guys, thanks very much for your suggestions. Those were exactly the sorts of things I was looking for.

Here's what I've found (I'll try to keep this brief):
1. Nothing seemed wrong with any of my /var/log files.
2. Nothing seemed wrong with any of my cron activity.
3. I performed a very exhaustive search of newsgroup postings and came across the following message, which seemed to describe my situation exactly.

-------------------------------

From: suntong001@my-deja.com (suntong001@my-deja.com)
Subject: Redhat: hard drive accessing
Newsgroups: comp.os.linux.misc
Date: 2000/09/30


Hi,

I found that my Redhat6.2 tries to access my hard drive about every 5 seconds. I'm using a 256M RAM P3 with 1G swap, So I am really curious why redhat access my HD so often.

I didn't seem to notice this on my debian, maybe I'm wrong...

Please provide your comments, tips or tools, etc on this, thanks!

* Tong *
-------------------------------

To make a long story short, a respondent suggested the cause of this problem is likely a Gnome process called magicdev.

I had already listed all of my processes running and, using the process of elimination, had begun killing daemons I thought most likely to be the cause of my problem.

Sure enough, once I then killed magicdev, the vast majority of my incessant hard drive access noises ceased.

So, for whatever reason, magicdev seems to be the cause of this particular problem.

It just so happens I'm going to be upgrading to Red Hat 7.2 this week. So, fortunately, I think that will permanently solve this magicdev issue as well while I'm at it.

Guys, thanks again for your help with this issue. I learned a lot in the process!

Thanks again,
Ben
 
Old 11-19-2001, 07:43 PM   #5
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Magicdev is an automounter for floppies and cds, and it polls the system every few seconds to see if a disk has been inserted. That's the reason for the noise.
 
Old 11-20-2001, 04:34 AM   #6
GOLDF1NG3R
LQ Newbie
 
Registered: Jul 2001
Location: UK
Distribution: RH 7.1
Posts: 24

Rep: Reputation: 15
I found that my hard drive was being hammered by `updatedb` which is run from within '/etc/cron.daily'. This updates a db which is used by `locate`(similar to `find`?).
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
giFT - Not a Repetitive Question inescapeableus Linux - Software 0 07-22-2004 02:24 PM
Irritating Sound Problem ArthurDent Linux - Newbie 20 06-30-2004 08:39 PM
Flex for repetitive patterns Yntarius Linux - General 3 05-28-2004 07:15 PM
Quick script for running repetitive commands david_ross LinuxQuestions.org Member Success Stories 4 01-25-2004 09:12 AM
repetitive conditional include() in PHP linuxfond Programming 12 09-17-2003 03:51 AM

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

All times are GMT -5. The time now is 01:06 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