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
 
LinkBack Search this Thread
Old 04-01-2006, 11:39 PM   #1
mike160
Member
 
Registered: Jan 2006
Location: Connecticut
Distribution: Ubuntu 10.10, Lubuntu 10.10, #!Crunchbang 10 "Statler"
Posts: 84

Rep: Reputation: 15
Hard Disk Activity ???


Heres a quick question....

I've been running Slack 10.2 on my rig for about 6 months now and normally my box just sits there quietly humming away unless i'm using it .. but recentley i've noticed brief hard drive activity about every 5-6 second when my machine is idle... Is this normal ??

PC seems to be running smoothly... hard disk is only about 35% full and idle proc load is at 0-1%
Only app i'm running in the backgound is Karamba

I just want to make sure this isn't a bigger problem starting to brew now.

Thanks for the help
Later

edit... I've also noticed that when running the TOP command my free memory is consistantly dropping with hard drive activity... any ideas ??

Last edited by mike160; 04-02-2006 at 12:02 AM.
 
Old 04-02-2006, 12:26 AM   #2
vbraca
LQ Newbie
 
Registered: Aug 2003
Location: Serbia
Distribution: SuSE
Posts: 29

Rep: Reputation: 15
There might be some service active such as locatedb updates which is running during the computer idle time.
 
Old 04-02-2006, 12:47 AM   #3
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
check your /var/log/syslog and /var/log/messages file.
 
Old 04-02-2006, 04:57 AM   #4
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
When you notice the activity on your hard drive, run the "top" (without quotes) from a terminal. That will tell you what process is using the most cpu power.

Bob
 
Old 04-02-2006, 06:34 AM   #5
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 916

Rep: Reputation: 87
I had a similar problem. After killing the processes one by one, I found that it was caused by the login attempts via ssh (/var/log/messages was full of logs of failed attempts). These are caused by the port scanners of course. I first tried changing the maximum login failures and wait period for users in sshd_config, but since most attempts were made with the name of a different user, that didn't work very well. I finally googled for an iptables ruleset which drops packets for a certain amount of time from an IP which makes 4 unsuccessful login attempts in the last 60 seconds or so. That solved the problem for me.

You can check this page for the ruleset I used:

http://www.debian-administration.org/articles/187
 
Old 04-02-2006, 07:18 AM   #6
comptiger5000
Member
 
Registered: May 2005
Distribution: Fedora Core Since version 3
Posts: 193

Rep: Reputation: 30
the memory decreases due to Linux caching disk data in ram for faster access in the future, so this is normal. You won't run out of ram because of it
 
Old 04-02-2006, 08:32 AM   #7
mike160
Member
 
Registered: Jan 2006
Location: Connecticut
Distribution: Ubuntu 10.10, Lubuntu 10.10, #!Crunchbang 10 "Statler"
Posts: 84

Original Poster
Rep: Reputation: 15
Thanks for the fast replies... here is a snipit of the "messages.1" file...

Mar 30 22:19:51 slackbox kernel: AGP: Found AGPv3 capable device at 1:0:0
Mar 30 22:19:51 slackbox kernel: AGP: Enough AGPv3 devices found, setting up...
Mar 30 22:19:51 slackbox kernel: AGP: Setting up AGPv3 capable device at 0:0:0
Mar 30 22:19:51 slackbox kernel: AGP: Putting device into 4x mode
Mar 30 22:19:51 slackbox kernel: AGP: Setting up AGPv3 capable device at 1:0:0
Mar 30 22:19:51 slackbox kernel: AGP: Putting device into 4x mode
Mar 30 22:38:44 slackbox -- MARK --
Mar 30 22:58:44 slackbox -- MARK --
Mar 30 23:18:44 slackbox -- MARK --
Mar 30 23:38:44 slackbox -- MARK --
Mar 30 23:58:44 slackbox -- MARK --
Mar 31 00:18:44 slackbox -- MARK --
Mar 31 00:38:44 slackbox -- MARK --
Mar 31 00:58:44 slackbox -- MARK --
Mar 31 01:18:44 slackbox -- MARK --
Mar 31 01:38:44 slackbox -- MARK --
Mar 31 01:58:44 slackbox -- MARK --
Mar 31 02:18:44 slackbox -- MARK --
Mar 31 02:38:44 slackbox -- MARK --
Mar 31 02:58:44 slackbox -- MARK --
Mar 31 03:18:44 slackbox -- MARK --
Mar 31 03:38:44 slackbox -- MARK --
Mar 31 03:58:44 slackbox -- MARK --
Mar 31 04:18:44 slackbox -- MARK --
Mar 31 04:38:44 slackbox -- MARK --
Mar 31 04:58:44 slackbox -- MARK --

are all these dates and times followed by -- MARK -- normal... theres tons of them along with other stuff such as mounting cdroms, starting X, etc...

also I started out with 658 Mb of memory free last night, and today it settled on 327 Mb free...
I don't know ... I'm still learning the ins ands outs of linux so alot of stuff is unfamiliar when compared to that other OS.
 
Old 04-02-2006, 10:05 AM   #8
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
Linux caches memory unlink Windows, so it may look like almost all of your memory is being used, but it's just reserved.
 
Old 04-02-2006, 06:06 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
This perhaps is OT but if you are interested in keeping tabs on your system processes, you might want to check out gkrellm which support hard drive activity monitoring, among other things
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
Incessant hard disk activity - proc/bus/pci emeskay Linux - Newbie 3 12-09-2004 07:17 PM
hard disk activity patkim Linux - General 5 06-04-2004 01:00 PM
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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration