LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-15-2014, 04:39 PM   #1
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 411

Rep: Reputation: 33
constantly accessing hard drive


My linux box is constantly accessing the hard drive. The noise is driving me insane. I had to turn it off.

Right now I can't even access it via putty.(SSH) There's just too much 'lag.' I can't access any files. I try to open the network point and it just stalls. I have no idea what to do.

I tried looking in top, but there's nothing unusual.

I know I said I can't access it now. I can't, but I could before. It's like sometimes on, sometimes off. Very erratic.

If someone could tell me how to troubleshoot this issue please tell me or point me in the right direction.

Thanks.
 
Old 01-15-2014, 04:46 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,225

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
First check for errors being logged to any of the /var/log/* files.
Second is what have you changed or upgraded recently?
 
Old 01-15-2014, 05:04 PM   #3
dhabyx
LQ Newbie
 
Registered: Aug 2012
Distribution: Slackware
Posts: 17

Rep: Reputation: Disabled
Another suggestion, you can check what process uses the hard disk with iotop http://slackbuilds.org/repository/14.1/system/iotop/
 
Old 01-15-2014, 10:09 PM   #4
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
Are you sure nepomuk or anokondi aren't running?
Have you ruled out impending hardware failure?
 
Old 01-15-2014, 10:48 PM   #5
elyk
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 241

Rep: Reputation: 49
Sounds like it might be swapping. Try checking how much RAM is free/used.
 
Old 01-16-2014, 05:14 AM   #6
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 411

Original Poster
Rep: Reputation: 33
Thanks for the replies.

Today it seems to be behaving itself much better. Although access to my samba shares is still quite sluggish and effectively unusable.

In syslog there's a lot of complaining about not being able to connect to my printer. I never use my slackbox to print, so, I never configured it to print.

I haven't upgraded anything. This is a (relatively) new install.

iotop doesn't show anything being used right now. If that changes I'll post an update.

I don't see anokandi or nepomuk running.

It could be that my hard drives are failing. But the smart test said they were OK.

I have 1 GB of RAM, so I don't think that memory space is an issue. Top says that it isn't using swap. But now that my head is a little cooler today (as opposed to last night), I'm looking at top and it says 440MB of ram space used when it said 250MBs a moment ago. So, it very well could be some sort of memory leak, maybe? The highest memory usage smbd, console-kit-dae and polkitd at 0.7%.

No... wait... Isn't there some cron task that's scheduled to run late night? I remember this from a long time ago, I just don't remember. I'm looking in /etc/cron.daily but the scripts there are hard to read since I'm not very proficient when it comes to coding. But then, why would this cause my samba shares to be sluggish?

Last edited by hedron; 01-16-2014 at 06:06 AM.
 
Old 01-16-2014, 06:51 AM   #7
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158

Rep: Reputation: 237Reputation: 237Reputation: 237
slocate's updatedb runs daily at nights, I suppose. But I never saw it slow down the system to such an extent.
 
Old 01-21-2014, 06:25 PM   #8
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 411

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by STDOUBT View Post
Have you ruled out impending hardware failure?
Yea, you were right on the money. I had done the smart test in windows, big mistake! (To be fair, it could have been that the problem is intermittent as many of these things are.) smartctl seems to be much better at detecting faults. So, I replaced the bad drive and am now re-syncing the array.

Thanks to all who responded.
 
  


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
OpenSUSE constantly accessing hard drive , makes 'click' sound' every time. Stevithen SUSE / openSUSE 1 06-26-2010 09:01 PM
Hard drive accessed constantly lemvigh Linux - Hardware 6 11-10-2007 04:12 AM
Hard Drive Light on Constantly Ray_Kovecses Ubuntu 0 02-01-2006 05:29 PM
Something constantly using hard drive short101 Linux - Laptop and Netbook 11 02-24-2005 04:11 PM
Hard drive constantly spinnig up/down Wynd Linux - Laptop and Netbook 2 06-06-2003 12:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:29 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
Open Source Consulting | Domain Registration