Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-02-2006, 12:39 AM
|
#1
|
Member
Registered: Jan 2006
Location: Connecticut
Distribution: Ubuntu 10.10, Lubuntu 10.10, #!Crunchbang 10 "Statler"
Posts: 84
Rep:
|
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 01:02 AM.
|
|
|
04-02-2006, 01:26 AM
|
#2
|
LQ Newbie
Registered: Aug 2003
Location: Serbia
Distribution: SuSE
Posts: 29
Rep:
|
There might be some service active such as locatedb updates which is running during the computer idle time.
|
|
|
04-02-2006, 01:47 AM
|
#3
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
check your /var/log/syslog and /var/log/messages file.
|
|
|
04-02-2006, 05:57 AM
|
#4
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Rep:
|
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
|
|
|
04-02-2006, 07:34 AM
|
#5
|
Senior Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158
|
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
|
|
|
04-02-2006, 08:18 AM
|
#6
|
Member
Registered: May 2005
Distribution: Fedora Core Since version 3
Posts: 193
Rep:
|
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
|
|
|
04-02-2006, 09:32 AM
|
#7
|
Member
Registered: Jan 2006
Location: Connecticut
Distribution: Ubuntu 10.10, Lubuntu 10.10, #!Crunchbang 10 "Statler"
Posts: 84
Original Poster
Rep:
|
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.
|
|
|
04-02-2006, 11:05 AM
|
#8
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
Linux caches memory unlink Windows, so it may look like almost all of your memory is being used, but it's just reserved.
|
|
|
04-02-2006, 07:06 PM
|
#9
|
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 01:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|