[opensuse] How to find out which process is accessing the disk?
Hello, I have OpenSuSE 11.1 installed and very often, after the machine is idle for a few hours, some process starts using the disk very heavily. When I get back to the computer it is almost unusable, everything is freezing and lagging while the disk continues working heavily. After a few minutes it gets better, but something still continues using the disk. I don't have beagle installed. How do I find out which process is accessing the disk when this happens? Thanks, Marcelo -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Jul 12, 2009 at 2:41 PM, Marcelo Magno T. Sales
Hello,
I have OpenSuSE 11.1 installed and very often, after the machine is idle for a few hours, some process starts using the disk very heavily. When I get back to the computer it is almost unusable, everything is freezing and lagging while the disk continues working heavily. After a few minutes it gets better, but something still continues using the disk. I don't have beagle installed. How do I find out which process is accessing the disk when this happens?
Thanks,
Marcelo -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Marcello, In general, here's a command that tells you who uses a certain file: fuser <filename> Run it as root. See manpage for more details. Upon seeing your kind of situation I would suspect it's beagle that's to blame. beagle is an indexing process which is very "expensive". I don't have much use for it so I just remove it from all the machines I am running OpenSuSe on. Hope this helps. Boris. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Em Dom 12 Jul 2009, Boris Epstein escreveu:
On Sun, Jul 12, 2009 at 2:41 PM, Marcelo Magno T. Sales
wrote: Hello,
I have OpenSuSE 11.1 installed and very often, after the machine is idle for a few hours, some process starts using the disk very heavily. When I get back to the computer it is almost unusable, everything is freezing and lagging while the disk continues working heavily. After a few minutes it gets better, but something still continues using the disk. I don't have beagle installed. How do I find out which process is accessing the disk when this happens?
Thanks,
Marcelo -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Marcello,
In general, here's a command that tells you who uses a certain file:
fuser <filename>
Run it as root. See manpage for more details.
Upon seeing your kind of situation I would suspect it's beagle that's to blame. beagle is an indexing process which is very "expensive". I don't have much use for it so I just remove it from all the machines I am running OpenSuSe on.
Beagle is not installed in this machine. fuser is not very useful in this case, because I don't know which file(s) is/are being heavily accessed. []'s Marcelo -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Marcelo Magno T. Sales wrote:
Hello,
I have OpenSuSE 11.1 installed and very often, after the machine is idle for a few hours, some process starts using the disk very heavily. When I get back to the computer it is almost unusable, everything is freezing and lagging while the disk continues working heavily. After a few minutes it gets better, but something still continues using the disk. I don't have beagle installed. How do I find out which process is accessing the disk when this happens?
Thanks,
Marcelo
Open a terminal session and start top. That will show what's keeping the CPU busy. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Em Dom 12 Jul 2009, James Knott escreveu:
Marcelo Magno T. Sales wrote:
Hello,
I have OpenSuSE 11.1 installed and very often, after the machine is idle for a few hours, some process starts using the disk very heavily. When I get back to the computer it is almost unusable, everything is freezing and lagging while the disk continues working heavily. After a few minutes it gets better, but something still continues using the disk. I don't have beagle installed. How do I find out which process is accessing the disk when this happens?
Thanks,
Marcelo
Open a terminal session and start top. That will show what's keeping the CPU busy.
Nothing is using more than 3% CPU. The problem what is using the disk. []'s Marcelo -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Sonntag, 12. Juli 2009 schrieb Marcelo Magno T. Sales:
[...] How do I find out which process is accessing the disk when this happens?
Install atop from the server:/monitoring repository, start it, and then press 'd'. HTH Jan -- There is more to fear from an army of 100 sheep led by a lion, than an army of 100 lions led by a sheep. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Em Dom 12 Jul 2009, Jan Ritzerfeld escreveu:
Am Sonntag, 12. Juli 2009 schrieb Marcelo Magno T. Sales:
[...] How do I find out which process is accessing the disk when this happens?
Install atop from the server:/monitoring repository, start it, and then press 'd'.
Perfect! Thanks, Marcelo -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Sonntag, 12. Juli 2009 22:02:17 schrieb Jan Ritzerfeld:
Am Sonntag, 12. Juli 2009 schrieb Marcelo Magno T. Sales:
[...] How do I find out which process is accessing the disk when this happens?
Install atop from the server:/monitoring repository, start it, and then press 'd'.
iotop is another alternative. Sven -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Boris Epstein
-
James Knott
-
Jan Ritzerfeld
-
Marcelo Magno T. Sales
-
Sven Burmeister