Unix Technical Forum

disk activity

This is a discussion on disk activity within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I have a server than runs 24/7, but much of the time there isn't much demand placed on it. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 09:06 AM
smb
 
Posts: n/a
Default disk activity

I have a server than runs 24/7, but much of the time there isn't much
demand placed on it. I have set the disk to spin down after 20min of
inactivity, but it never seems to reach this threshold. On closer
inspection, I see the hard disk light flicks on briefly every 5 secs or
so. I can't think what would cause this. Are there any tools that can
help my trace what is causing this disk activity?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 09:06 AM
Miguel De Anda
 
Posts: n/a
Default Re: disk activity

smb wrote:
> I have a server than runs 24/7, but much of the time there isn't much
> demand placed on it. I have set the disk to spin down after 20min of
> inactivity, but it never seems to reach this threshold. On closer
> inspection, I see the hard disk light flicks on briefly every 5 secs or
> so. I can't think what would cause this. Are there any tools that can
> help my trace what is causing this disk activity?


Heh, I couldn't figure this out on my laptop either, and my laptop drive
doesn't have many days left, so whenever I leave it on overnight, I hear
is working every few minutes, for just a brief moment. I suspect its
some kind of log files being written, disk syncing, idunno... oh well.

Also keep in mind that the slocate database gets updated daily (or at
least weekly, I forget) at 4 am. This usually lets me know its time for bed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 09:07 AM
Grant Coady
 
Posts: n/a
Default Re: disk activity

On Mon, 06 Jun 2005 16:31:44 -0500, smb <invalid@invalid.invalid> wrote:
> I have a server than runs 24/7, but much of the time there isn't much
> demand placed on it. I have set the disk to spin down after 20min of
> inactivity, but it never seems to reach this threshold. On closer
> inspection, I see the hard disk light flicks on briefly every 5 secs or
> so. I can't think what would cause this. Are there any tools that can
> help my trace what is causing this disk activity?


Been a long time since I read the explanation, something like, file
gets written, some time later 'atime' needs update, that triggers
directory got written, needs 'atime' update, rinse, repeat... Yes?

Search for your issue in context of conserving battery on laptops
by reducing hard disk activity. That's the usual group who care.

Disk spin-up time to satisfy request may take you over acceptable
response latencies? Although longer term everything served might
stay in memory cache automagically for you.

Then you have the log: -- MARK -- to think about

--Grant.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 09:07 AM
Vigil
 
Posts: n/a
Default Re: disk activity

On Mon, 06 Jun 2005 16:31:44 -0500, smb wrote:

> I see the hard disk light flicks on briefly every 5 secs or
> so.


If you're running a journalled filesystem, it could be that.

--

..

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 09:07 AM
prodigal1
 
Posts: n/a
Default Re: disk activity

smb wrote:
> On closer
> inspection, I see the hard disk light flicks on briefly every 5 secs or
> so. I can't think what would cause this.


Well smb the answer is quite simple. Certain authorities view the
connection of servers 24/7 to the net to be indicative of potential
terrorist activity. Using specially crafted code, your server is being
constantly monitored by...certain authorities...to ensure that it
doesn't represent any type of threat.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 09:07 AM
William Hamblen
 
Posts: n/a
Default Re: disk activity

On 2005-06-06, smb <invalid@invalid.invalid> wrote:
> I have a server than runs 24/7, but much of the time there isn't much
> demand placed on it. I have set the disk to spin down after 20min of
> inactivity, but it never seems to reach this threshold. On closer
> inspection, I see the hard disk light flicks on briefly every 5 secs or
> so. I can't think what would cause this. Are there any tools that can
> help my trace what is causing this disk activity?


Something is being written to a log file, probably. Sync runs every
few seconds and writes to disk the dirty buffers.

--
e-Harmony.com called the cops after I sent in my personality profile.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 09:07 AM
Grant Coady
 
Posts: n/a
Default Re: disk activity

On Mon, 06 Jun 2005 16:31:44 -0500, smb <invalid@invalid.invalid> wrote:
> I have a server than runs 24/7, but much of the time there isn't much
> demand placed on it. I have set the disk to spin down after 20min of
> inactivity, but it never seems to reach this threshold. On closer
> inspection, I see the hard disk light flicks on briefly every 5 secs or
> so. I can't think what would cause this. Are there any tools that can
> help my trace what is causing this disk activity?


Been a long time since I read the explanation, something like, file
gets written, some time later 'atime' needs update, that triggers
directory got written, needs 'atime' update, rinse, repeat... Yes?

Search for your issue in context of conserving battery on laptops
by reducing hard disk activity. That's the usual group who care.

Disk spin-up time to satisfy request may take you over acceptable
response latencies? Although longer term everything served might
stay in memory cache automagically for you.

Then you have the log: -- MARK -- to think about

--Grant.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 09:08 AM
Claudio Silva
 
Posts: n/a
Default Re: disk activity

On Mon, 06 Jun 2005 22:31:44 +0100, smb <invalid@invalid.invalid> wrote:

> I have a server than runs 24/7, but much of the time there isn't much
> demand placed on it. I have set the disk to spin down after 20min of
> inactivity, but it never seems to reach this threshold. On closer
> inspection, I see the hard disk light flicks on briefly every 5 secs or
> so. I can't think what would cause this. Are there any tools that can
> help my trace what is causing this disk activity?


In my case, the disks works every 2 secs. I dont know, since it's a
server, if it has kde or if it's on init 4, but the disk activity stops if
i turn off the KDE Media manager (Control Center/KDE Components/Service
Manager). I'm using KDE 3.4.0.

--
Claudio Silva
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 09:08 AM
Grant Coady
 
Posts: n/a
Default Re: disk activity

On Tue, 07 Jun 2005 16:19:16 +0100, "Claudio Silva" <phoenix.power@hotpop.com> wrote:
>
> In my case, the disks works every 2 secs. I dont know, since it's a
> server, if it has kde or if it's on init 4, but the disk activity stops if
> i turn off the KDE Media manager (Control Center/KDE Components/Service
> Manager). I'm using KDE 3.4.0.


Different issue, that's polling for removable media (CDROM). No server.

--Grant.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 09:08 AM
smb
 
Posts: n/a
Default Re: disk activity

On Tue, 07 Jun 2005 00:27:06 +0100, Vigil wrote:
> On Mon, 06 Jun 2005 16:31:44 -0500, smb wrote:
>
>> I see the hard disk light flicks on briefly every 5 secs or
>> so.

>
> If you're running a journalled filesystem, it could be that.
>


I don't think that's it, as I've two disks and they are both formatted
with the same filesystem. One spins down just fine.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:51 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com