Squeezecenter accessing Hard disks constantly!

User avatar
pluscool
Posts: 16
Joined: Thu Apr 23, 2009 10:59 am
Location: Oslo, Norway

Squeezecenter accessing Hard disks constantly!

Postby pluscool » Wed Nov 04, 2009 3:56 am

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? :|

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahi server accessing Hard disks constantly!

Postby cpg » Wed Nov 04, 2009 5:10 am

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.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Amahi server accessing Hard disks constantly!

Postby moredruid » Wed Nov 04, 2009 6:30 am

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
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Amahi server accessing Hard disks constantly!

Postby moredruid » Wed Nov 04, 2009 6:31 am

I would advise installing "atop"

great tool... and can gather statistics as well (with bundled atopsar)
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Re: Amahi server accessing Hard disks constantly!

Postby rgmhtt » Thu Nov 05, 2009 3:46 pm

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.

User avatar
pluscool
Posts: 16
Joined: Thu Apr 23, 2009 10:59 am
Location: Oslo, Norway

Re: Amahi server accessing Hard disks constantly!

Postby pluscool » Tue Dec 15, 2009 1:23 pm

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.

Who is online

Users browsing this forum: No registered users and 86 guests