Hello,
I am running Linux Mint 17.1 XFCE on my Dell Inspiron B120 Celeron (1.4 Ghz, 1GB). I have had an annoying issue for the past couple of months, which began even when I was running Version 17. (I upgraded to 17.1 thinking it may solve the issue, but it did not.)
After booting into Linux Mint, everything is fine for about 5 minutes time, and then something will access my hard drive non-stop for about an hour, which seriously degrades my computer's performance. After about an hour, the process will end and my computer will be "back to normal'.
I ran "iotop" and found that when my computer's hard drive was continuously running, it was because of this program: find / -i@-o -print0
which was consuming about 98% of the IO. After the hard drive "settles down", the program is no longer listed in iotop.
I also recall that I installed a couple of programs around the same time that the problem began: OpenShot, BleachBit, and GNU emacs. (I uninstalled BleachBit thinking this may be the offending program, but this did not solve the problem.)
Wondering if anyone has any clues on why this program is running, and how I can remove it?
Thanks for any help you can provide!
Chris
Hard drive running continuously after boot-up
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Hard drive running continuously after boot-up
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Hard drive running continuously after boot-up
chrismt,
If this happens soon after booting then it sounds like it could be a cron job kicking off. What's listed in /etc/cron.daily
Also when it starts again run and paste back the output of
If this happens soon after booting then it sounds like it could be a cron job kicking off. What's listed in /etc/cron.daily
Code: Select all
ls /etc/cron.daily
Code: Select all
pgrep -a find
Re: Hard drive running continuously after boot-up
Hi WharfRat,
here are the results of ls /etc/cron.daily:
0anacron aptitude cracklib-runtime locate man-db passwd upstart
apt bsdmainutils dpkg logrotate mlocate samba
and here are the results of pgrep -a find:
2630 /bin/sh /usr/bin/updatedb.findutils
2638 /bin/sh /usr/bin/updatedb.findutils
2695 /usr/bin/find / -ignore_readdir_race ( -fstype NFS -o -fstype nfs -o -fstype nfs4 -o -fstype afs -o -fstype binfmt_misc -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -fstype iso9660 -o -fstype ncpfs -o -fstype coda -o -fstype devpts -o -fstype ftpfs -o -fstype devfs -o -fstype mfs -o -fstype shfs -o -fstype sysfs -o -fstype cifs -o -fstype lustre_lite -o -fstype tmpfs -o -fstype usbfs -o -fstype udf -o -fstype ocfs2 -o -type d -regex \(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/alex$\)\|\(^/var/spool$\)\|\(^/sfs$\)\|\(^/media$\)\|\(^/var/lib/schroot/mount$\) ) -prune -o -print0
here are the results of ls /etc/cron.daily:
0anacron aptitude cracklib-runtime locate man-db passwd upstart
apt bsdmainutils dpkg logrotate mlocate samba
and here are the results of pgrep -a find:
2630 /bin/sh /usr/bin/updatedb.findutils
2638 /bin/sh /usr/bin/updatedb.findutils
2695 /usr/bin/find / -ignore_readdir_race ( -fstype NFS -o -fstype nfs -o -fstype nfs4 -o -fstype afs -o -fstype binfmt_misc -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -fstype iso9660 -o -fstype ncpfs -o -fstype coda -o -fstype devpts -o -fstype ftpfs -o -fstype devfs -o -fstype mfs -o -fstype shfs -o -fstype sysfs -o -fstype cifs -o -fstype lustre_lite -o -fstype tmpfs -o -fstype usbfs -o -fstype udf -o -fstype ocfs2 -o -type d -regex \(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/alex$\)\|\(^/var/spool$\)\|\(^/sfs$\)\|\(^/media$\)\|\(^/var/lib/schroot/mount$\) ) -prune -o -print0
Re: Hard drive running continuously after boot-up
chrismt,
Your have two disk indexing packages installed, locate and mlocate. At some time you installed locate which was replaced by mlocate.
Locate is inefficient due to the fact that it rereads all the contents of all directories each time it updates the database. mlocate maintains timestamp information so it skips files that haven't changed making it much less demanding on resources.
Purge the locate package and reinstall mlocate to make sure the /etc/alternatives/locate symlink is set to /usr/bin/mlocate.
Good luck
Your have two disk indexing packages installed, locate and mlocate. At some time you installed locate which was replaced by mlocate.
Locate is inefficient due to the fact that it rereads all the contents of all directories each time it updates the database. mlocate maintains timestamp information so it skips files that haven't changed making it much less demanding on resources.
Purge the locate package and reinstall mlocate to make sure the /etc/alternatives/locate symlink is set to /usr/bin/mlocate.
Good luck
Re: Hard drive running continuously after boot-up
Works like a charm -- problem solved!!!
Thanks so much WharfRat, this had been driving me crazy! All the best to you.
Thanks so much WharfRat, this had been driving me crazy! All the best to you.
-
- Level 1
- Posts: 16
- Joined: Sun Sep 19, 2010 2:47 pm
- Location: North Fork Valley
- Contact:
Re: Hard drive running continuously after boot-up
OK, we will start with, I'm listening to the Dead and wharfrat has chrismt's query help.
Seems I may be in the right place.
Having searched and not finding a better answer, and not wanting to starting a new post, as my issue is close, I will start with, how do I purge locate?
I will try that and then venture on.
ls /etc/cron.daily
0anacron aptitude cracklib-runtime locate man-db ntp samba
apt bsdmainutils dpkg logrotate mlocate passwd upstart
Seems I may be in the right place.
Having searched and not finding a better answer, and not wanting to starting a new post, as my issue is close, I will start with, how do I purge locate?
I will try that and then venture on.
ls /etc/cron.daily
0anacron aptitude cracklib-runtime locate man-db ntp samba
apt bsdmainutils dpkg logrotate mlocate passwd upstart
Thinkpad X270 | I7-7600, 16GB, 4TB SSD | LM 20 & Win10 | Daily Driver
Thinkpad X260 | i5-6300, 16GB, 2TB SSD & 2TB External | LM 20 & Win10 | Home Desktop
Thinkpad T420 | i5-2500, 16GB, 500 SSD & 4TB External | LM 20 | Kodi & Streaming
Thinkpad X260 | i5-6300, 16GB, 2TB SSD & 2TB External | LM 20 & Win10 | Home Desktop
Thinkpad T420 | i5-2500, 16GB, 500 SSD & 4TB External | LM 20 | Kodi & Streaming
Re: Hard drive running continuously after boot-up
In the terminal
Code: Select all
sudo apt purge locate