Author Topic: Hard drive activity.  (Read 791 times)

Offline theharvester

  • Full Member
  • ***
  • Posts: 74
Hard drive activity.
« on: July 10, 2010, 01:24:43 PM »
Hello all,
Last night I was installing a program in my Virtual Box XP install. I noticed my PCLOS was running slow (web surfing while installing program).
Checking into it I closed all Linux programs and noticed the hard drive light was nearly solid. Even after the install was complete XP shut down and Virtual Box closed the drive was still being accessed. Both cores were at 75% (or so)  memory was showing 2.8 Gb used (while VB was running) and swap was 650Mb or so but no other Linux programs were running.

After a computer re-start it isn't doing it now.

I was thinking it was VB resizing the drive but it continued after the program was installed and VB was closed down. The program I was installing added about 5 gigs to XP and I have VB set as a dynamic drive.


Is there a way to figure out what was causing it? Or if it happens again, what is causing it?


Computer specs:
PCLinuxOS 2010 fully updated Gnome
Intel core 2 duo 2.66Ghz
4 Gb ram (listed as 3.2 Gb or there a bouts)
320 Gb WD Raptor (PCLOS install)
300Gb WD Raptor (XP dual boot)
2 Tb WD (backup storage drive)

Virtual Box specs:
15 Gb dynamic drive with XP SP3
1024 Mb system memory
16Mb video memory

thanks,
Harvey.



Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Hard drive activity.
« Reply #1 on: July 10, 2010, 01:36:45 PM »
theharvester:

It's not uncommon for things to be going on in the background of a Linux installation. It could have been locate refreshing it's database. Very rarely do I pay any attention to what's happening, disk activity wise, as long as the system is running smoothly. If things seem to run slowly, I'll check top to see what's using the resources, and possibly shut something down temporarily, until I finish my immediate tasks, but mostly I just let things run through whatever they are doing.

Stopping running processes that you think shouldn't be running, as often as not, causes problems later on. Over the years I've found things remain running more smoothly overall, if I let the system just finish whatever it wants to do.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15506
  • ┌∩┐(◕_◕)┌∩┐
Re: Hard drive activity.
« Reply #2 on: July 10, 2010, 01:55:32 PM »
On top of old-polacks wise words. sometimes apps/files etc etc just don't "release" themselves properly therefore the cpu will carry on holding onto those processes and whilst other new ones are being accessed it just overloads the system and occasionally its your poor old hard drive that pays the price  ;D

I must say it happened to me a couple of days ago and my widget was showing cpu usage fluctuating between 80 - 100% and my disk was being thrashed  (reminded me of my old head master  ;D )

I closed down the apps I had open - waited a few minutes -  and after a reboot everything was hunky dory again.

Pleased to say this is a very rare occurrence.
PCLinuxOS 32bit KDE 4.10.4; kernel-3.4.11-pclos1.bfs & 64bit 3.4.38bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline theharvester

  • Full Member
  • ***
  • Posts: 74
Re: Hard drive activity.
« Reply #3 on: July 11, 2010, 07:39:22 PM »
Thanks guys. I am used to a bit of activity here and there but it just seemed to be going on for quite a while hot and heavy. Other than adding and removing packages (through synaptic of course) I tend to leave the system alone. I was just curious as to the activity because that is what was happening quite a bit just before something (drive and/or install) took a dump.
Thanks again,
Harvey.

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12657
Re: Hard drive activity.
« Reply #4 on: July 11, 2010, 07:47:14 PM »
Each week the system does a log rotate and compresses all the logs in the /var/log folder and some other system maintenance. This will run for a couple of minutes and usually will slow your system down during the process as there will be cpu and hard drive activity.

Thanks to everyone who donates. You keep the servers running.
Follow me on Twitter for the latest development info.

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Hard drive activity.
« Reply #5 on: July 11, 2010, 07:49:04 PM »
Thanks guys. I am used to a bit of activity here and there but it just seemed to be going on for quite a while hot and heavy. Other than adding and removing packages (through synaptic of course) I tend to leave the system alone. I was just curious as to the activity because that is what was happening quite a bit just before something (drive and/or install) took a dump.
Thanks again,
Harvey.

Did you check to see how much swap was being used? If stuff was being swapped out of memory to the swap partition, that would cause the symptoms you describe.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline theharvester

  • Full Member
  • ***
  • Posts: 74
Re: Hard drive activity.
« Reply #6 on: July 13, 2010, 07:52:13 PM »
Thank you Texstar Now I will know whats going on instead of just wondering.  As stated earlier it seemed to be doing it quite a bit just before a drive failure and was now wondering if something (hardware related) may have caused the drive failure.

Old-Polack,
Yes it was showing something like 650 Mb swap being used. That is actually the first time I have seen swap being used, although I don't monitor the system all that often.