Page 1 of 1

Squeezecenter accessing Hard disks constantly!

Posted: Wed Nov 04, 2009 3:56 am
by pluscool
For some days ago my amahi server started to access HD all the time, I hear the disks and see the HD's light on all the time.
Any suggestions? :|

Re: Amahi server accessing Hard disks constantly!

Posted: Wed Nov 04, 2009 5:10 am
by cpg
per our conversation in the channel, things look relative normal, as far as system logs is concerned (/var/log/messages and dmesg).

the squeezebox server does take a lof ot memory and rescans periodically.
if you have a lot of music, maybe that is taking some CPU.

run:

Code: Select all

top
and also

Code: Select all

iotop
(yum install iotop may be required)

to see what's up in real time.

Re: Amahi server accessing Hard disks constantly!

Posted: Wed Nov 04, 2009 6:30 am
by moredruid
are you downloading torrents? are you downloading from newsgroups?
both of them would warrant disk activity. If you have a minimum amount of memory the disk activity might be due to excessive swapping

Re: Amahi server accessing Hard disks constantly!

Posted: Wed Nov 04, 2009 6:31 am
by moredruid
I would advise installing "atop"

great tool... and can gather statistics as well (with bundled atopsar)

Re: Amahi server accessing Hard disks constantly!

Posted: Thu Nov 05, 2009 3:46 pm
by rgmhtt
You can add the noatime parameter to your /etc/fstab file. This goes after the defaults option (ie defaults,noatime).

I use the noatime parameter on some of my Linux notebooks, particularly if the have SSDs.

You can learn about noatime via 'man fstab'.

***WARNING DO NOT MISSPELL ANY CHANGES to /etc/fstab'. There is a command to test this out first, I don't have it in front of me. An error in fstab can result in a non-bootable system.

Re: Amahi server accessing Hard disks constantly!

Posted: Tue Dec 15, 2009 1:23 pm
by pluscool
Thanks all for the advice. I manage to fix the problem. it was an error with some symlinks and squeezebox scanning it all the time.