Software :: Disk Accessed When The System Is Idle?
Jun 18, 2010
GNU/linux kernel 2.6, Slackware 12.0
Every now and then, say with a period of one hour, the system begins accessing the hdd and doesn't stop accessing for at least 5 minutes. What can be the reason? Can it have something to do with the swap partition?
I keep noticing disk activity every roughly 1 to 3 seconds even though there is "nothing" going on. Of course, I run a number of "system" and "user" application packages - Apache2, MySQL, Browsers (Opera, IceWeasel), an SMB client and server, OpenOffice 3.0RC8 being the most prominent ones. I wonder what might be the cause for this constant disk activity which happens even when none of the applications do any noticeable work at all. Is there a way to determine the process that does those disk read/writes?
I created a thread about a problem a I had with my hard disk clicking whilst idle little while ago and I may now have stumbled upon a possible solution. The strange thing with the problem is that Ubuntu/Kubuntu didn't cause this problem but Opensuse 11.2 does.
I installed Fedora 13 to have a glimpse of what all the fuss was about and noticed that I had the same problem (hard disk clicking whilst idle ~ every 20 secs or so). Now there's a wiki on this subject and a few bug reports: [url]
Some ATA harddrives perform very frequent head unloads under Linux significantly shortening their lifespans. Root cause
The inactivity timer for head unload is configured too aggressively either via ATA APM (Advanced Power Management) feature or other non-standard means. Such aggressive settings are very fragile to changes in IO pattern and under Linux many such drives unload their heads only to re-load them shortly. Note that this relentless unloading/reloading cycle can also be triggered under Windows by installing programs which can alter the IO pattern (e.g. certain vaccine programs which runs in background).
Now two of the listed models with this problem are basically identical to my model (Dell Inspiron 1520) and basically share the same hardware: Dell Vostro 1500 and XPS 1520.
The workaround listed is to:
set APM to 254
Furthermore, there is a script: Storage-Fixup which can also be downloaded from opensuse software search. Indeed there is a report of this for a Vostro 1500: Gmane Loom
The report suggests looking at: Disk Power Management - openSUSE which lists a method to create a configuration file to management disk power management:
My question is whether I could download the storage-fixup rpm [url] has a description of it and it can be found: Software.openSUSE.org) and install it to (hopefully) solve the issue or should I follow the method given in: Disk Power Management - openSUSE
My system decided to crash on me, hard. It was humming along happily for about 2 months and now doesn't boot. If I boot from hard-disk, I get grub. Launching the first kernel choice hangs. I thought maybe the install was corrupt, so I booted from usb install disk. The usb hdd didn't boot; something about an error trying to access /dev/sda . Unplugging the internal disk and plugging in the usb install disk does result in the system booting. Plugging in the internal disk in a running system usb-booted system does not result in the system detecting the disk.
How do I know if the disk is physically broken? This seems unlikely since it does manage to launch grub consistently. Or is this still possible? How can I try to mount whatever is left? The usb install disk doesn't even list the /dev/sd*. Any pointers on how to reformat the drive if it's not being mounted?
I had noticed that my workstation (running debian testing) is having a constant load of about 0.9 (+/-0.1), even while the system is completly idle.The system starts with a normal load and then goes up to about 0.9 within a few minutes and then will stay there forever (well it can get higher, but never lower). This is the load graph after the system runs some time: URL....
I have tried everything I know to find the cultprint but there is no cpu usage and no io usage. I even have disabled the desktop and still have this problem.Also I have tried booting an older Kernel (4.1 and 3.16) with no difference in the load.Here is some information about my system:
Code: Select all» uname -a Linux localhorst 4.2.0-1-amd64 #1 SMP Debian 4.2.3-2 (2015-10-14) x86_64 GNU/Linux.
Torrents client kills my Internet connectivity so bad I can't even use a web-browser whilst it's on -- pages take like five minutes to load -- I often forget to turn on my torrent client. Which led me to wonder if there's a way I can launch a script on system idle?
I was messing around with Compiz today and it got me to wondering if I can create a custom command when my system goes to idle, instead of launching the screen saver. I want to start the Compiz Rain effect on system idle. is this possible?
I'm trying to write a script to run motion when the computer is idle but for some reason the script I found online doesn't work. I tried to write a simple command to put some echo in a file when the screen server starts and stops but this doesn't work also. this is the script I'm using -
i used to download files using transmission bit torrent client. I download the torrent and once the download starts i will leave the system and check only after 4 or 5 hours later.But when i check the system again, the network connections were automatically disconnected.The download is getting stopped naturally. why my wired network connection is getting disconnected automatically if the system is idle?(ubuntu 10.10)
I'm writing a post-install script to run on the computers I'm working with. Most of it is written, but I'm a noob when it comes down to it. I'd like to know how to disable the system from showing the lockscreen after being idle. Could someone show me how to do this from the command-line? Ubuntu 10.10 Maverick Meerkat
My Gnome screensaver doesn't work, although it once did.
I have searched for a solution to this problem but no luck. I am running FC 11 and out-of-the-box gnome. At first the screensaver worked normally, shutting off the screen after 5 mins. Now it does not do so. I found the following command line suggestion in the forums, and it looks like it may point to a problem -- the screensaver is inactive, but how to make it active? I may be misunderstanding the term inactive, of course. Logically, the screensaver would have to be inactive if I am typing a command.
In any case, the query command shows:
Just in case the screensaver really was not running, I tried this command (which I found in another post):
But the query returns the same thing as before.
The only thing I can think of that might be an issue is that using the "appearances" background facility I added a couple dozen pictures that I thought I might use as screen background. Not long after that I discovered that my screen did not go black after 5 mins as expected. Not sure this correlation has any causal meaning, however. I then tried various things, finally returning to the plain (blue) default. That seemed to fix it for a short while, then after a couple of days, the bad or non-behavior returned -- the screensaver does not work.
(update -- I removed all the extra background pics and it makes no difference.)
My system runs all the time, but I don't want the screen to be on all the time.
How to make the system boot faster by removing the idle time between 5s to 10s? bootchart attached. It is Ubuntu10.04LTS by the way. One more hint, the screen black out for ~4s after "Begin: Running /scripts/init-bottom... Done." I don't know what is going on during that 4s, but my best guess is there is a way we can get rid of it. Bootchart can be found here:
My hard drive all of a sudden starts to read and write all on its own for around 15 seconds at a time while at idle or while I am just browsing the net. At first I thought it was from cron running but I have that disabled.
Is it possible to install GRUB in the MBR of the only bootable disk in the system, but load configuration and images from another disk?Basically I want to install GRUB on /dev/sda, but menu and images will be under /dev/sdb2.Note: /dev/sdb is not bootable.
I had done a new lucid install to a 1 TB RAID 1 array using the alternate CD a few weeks back. I messed up that system trying to some hardware working that lucid doesn't have drivers for yet, so I gave up on it and reinstalled to a single 80 GB disk that I now want to move over to the RAID array.
I moved all of the existing files on the array to a single folder, then copied all of the folders from the 80 GB disk over to the array with permissions and symlinks (minus the contents of /proc and /sys, which I created empty).
These are the commands I used:
p -a -d -R -v -t /media/raid_array /b* cp -a -d -R -v -t /media/raid_array /d* cp -a -d -R -v -t /media/raid_array /e* cp -a -d -R -v -t /media/raid_array /h*
I tried to change fstab to use the 689a... for root, but when I try to boot, it's still trying to open /dev/disk/by-uuid/412d...
So then I booted from the single disk again and chrooted into the array, then ran update-initramfs -u. I got 3 "grep: /proc/modules: No such file or directory" errors, and "cat: /proc/cmdline: No such file or directory"- so I created directory /proc/modules, created an empty file /proc/cmdline, and ran the initramfs update again. Then I tried to shut down, which hung (probably because I was doing all of this from a terminal window in Gnome), so I killed the power after a couple of minutes.
It's still trying to use /dev/disk/by-uuid/412d... to boot.
What am I missing? I assume I just have to change the UUID to mount as root, but I don't know how.
My dual proc, dual core Opteron MSI Master2FAR motherboard failed, and I try to boot a disk, used on this board as boot disk, on an Intel based Gigabyte GA-965-DS3. Both systems are x86_64 architecture.
The OS is on both systems is openSUSE 11.1.
On booting the disk on the Gigabyte, the disk is seen correctly by the BIOS, but not by the OS, and there is no /dev/sdX; no /dev/disk/... either. I am taken to a login shell from the ramdisk.
When I just mount this disk on the Gigabyte (booted with the Gigabyte's original boot disk) everything seems fine. No suprise to me, since the disk was fine, and was unmounted gracefully and physically taken off the MSI before the board failed.
I think that the cause lies in the fact that the harddisk controller on the Gigabyte is different from the MSI, and the driver for that controller is not available at boot time.
I have two questions:
- is my assumption correct, or is something else going on?
- if I am right, is there a way to get this disk booting on the Gigabyte (or on another system, for that matter)?
You might want to ask why I want to boot this disk on the Gigabyte in the first place, since I can mount it and see all data on it. I have a reason for that, but telling that story would make this topic too long, and it's too off-topic. Most certainly I will get to that in another topic.
I have windows and linux distros on my /dev/sda. I tried to install fedora 13, but after reboot I cannot boot up to any of installed systems. I'm getting: Non-System disk or disk errorreplace and striky any key when readyWhen I use ubuntu 10, boot from first hard disk, I'm able to get GNU GRUB version 1.98...nd boot up to any system. but without ubuntu in a cd-rom I'm getting this error.I tried: grub-install /dev/sdX in one of my installed linux distros, but without any success.
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
Booted up system and it stated please insert system disk press any key.So it sounds like my startup got corrupted? I running centos 4.5 on it (old yes) Is there a repair I can perform by a disk? Would it matter if I chose i386 or x86? I cant remeber which version was installed on it.
My server is Ubuntu 10.04 which is used to test an Open ERP system. However, once I setup everything and trying to be access from other workstations, it doesn't work! Also, the server cannot found any Windows PCs in the network.
I have two networks on a server. One being my internal network, and the other being an external IP address. This is on Debian Lenny. Here is my /etc/network/interfaces file:
I can reboot my system and sometimes eth1 is accessible from SSH, and other times eth0 is accessible. Then sometimes eth1 will just stop being pingable alltogether. This is a fairly fresh install of Debian, and the only thing I have running is VMWare Server 2.0, bridged to both of my network connections.
I have installed ubuntu9.10-desktop-i386,then I install the vsftpd to transfer files with my another computer which own a win xp os.And the ip ofin computer is "192.168.2.10",this address is fixed.the ip of the Ubuntu compuer is "18.104.22.168",the address is dynamic,since I use the wireless network.When I startup the ftp server in my ubuntu, I can not access it from my win computer,but I can access it in my ubuntu .However when I startup the tomcat in my win machine, I can access it in my ubuntu using"http://192.168.2.10:8080/files
I have finished something simple and would like some people to test it, and when I gave my url of my website that sits on my computer to someone, the response was that she kept getting messages saying that connection has been reset. She tried for a couple of times and could not see my website, which the address is accurate.
Are there specific things I need to do to allow users to see my site? Yet, why does she not get messages saying that "failed to access" or something like that?