FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-08-2011, 12:11 PM
Mitchell Laks
 
Default what program is running find that is taking up so much of my cpu time this morning?

Dear Gurus,

this morning my computer is very sluggish and top says find is running.

I did

ps aux|grep find

with this output

root 25307 0.0 0.0 11132 652 ? SN 07:42 0:00 /bin/sh /usr/bin/updatedb.findutils
root 25315 0.0 0.0 11136 352 ? SN 07:42 0:00 /bin/sh /usr/bin/updatedb.findutils
nobody 25342 0.0 0.0 56292 904 ? SN 07:42 0:00 su nobody -s /bin/sh -c /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
nobody 25354 3.6 0.0 13300 1340 ? DN 07:42 0:17 /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


what utility is doing this find?

thanks,

Mitchell Laks


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110708121128.GA26007@earthlink.net">http://lists.debian.org/20110708121128.GA26007@earthlink.net
 
Old 07-08-2011, 12:11 PM
Mitchell Laks
 
Default what program is running find that is taking up so much of my cpu time this morning?

Dear Gurus,

this morning my computer is very sluggish and top says find is running.

I did

ps aux|grep find

with this output

root 25307 0.0 0.0 11132 652 ? SN 07:42 0:00 /bin/sh /usr/bin/updatedb.findutils
root 25315 0.0 0.0 11136 352 ? SN 07:42 0:00 /bin/sh /usr/bin/updatedb.findutils
nobody 25342 0.0 0.0 56292 904 ? SN 07:42 0:00 su nobody -s /bin/sh -c /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
nobody 25354 3.6 0.0 13300 1340 ? DN 07:42 0:17 /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


what utility is doing this find?

thanks,

Mitchell Laks


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110708121128.GA26007@earthlink.net">http://lists.debian.org/20110708121128.GA26007@earthlink.net
 
Old 07-08-2011, 12:24 PM
Juan Sierra Pons
 
Default what program is running find that is taking up so much of my cpu time this morning?

2011/7/8 Mitchell Laks <mlaks@post.harvard.edu>:
>
> Dear Gurus,
>
> this morning my computer is very sluggish and top says find is running.
>
> I did
>
> ps aux|grep find
>
> with this output
>
> root * * 25307 *0.0 *0.0 *11132 * 652 ? * * * *SN * 07:42 * 0:00 /bin/sh /usr/bin/updatedb.findutils
> root * * 25315 *0.0 *0.0 *11136 * 352 ? * * * *SN * 07:42 * 0:00 /bin/sh /usr/bin/updatedb.findutils
> nobody * 25342 *0.0 *0.0 *56292 * 904 ? * * * *SN * 07:42 * 0:00 su nobody -s /bin/sh -c /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
> nobody * 25354 *3.6 *0.0 *13300 *1340 ? * * * *DN * 07:42 * 0:17 /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
>
>
> what utility is doing this find?
>
> thanks,
>
> Mitchell Laks
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/20110708121128.GA26007@earthlink.net
>
>
Hi,

I think it is /etc/cron.daily/mlocate wichi internally runs updatedb -
"update a database for mlocate"

Check your /etc/cron.daily/mlocate.

This anacron job runs every day and update your mlocate database.

You can disable it or just move it to /etc/cron.weekly/ or
/etc/cron.monthly/ is up to you.

How many times do you use the mlocate command per day? :-p

Best regards

--
Mi nueva dirección es: - My new email address is: - Mon nouveau email est:
juan@elsotanillo.net
----------------------------------------------------------------------------
Usuario Linux Registrado: #257202
http://www.elsotanillo.net
----------------------------------------------------------------------------


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CABS=y9sNdO0gfko3WO_CnppjjeXEdXJu+r2AbPJuMbCzX_Y+S A@mail.gmail.com">http://lists.debian.org/CABS=y9sNdO0gfko3WO_CnppjjeXEdXJu+r2AbPJuMbCzX_Y+S A@mail.gmail.com
 
Old 07-08-2011, 12:24 PM
Juan Sierra Pons
 
Default what program is running find that is taking up so much of my cpu time this morning?

2011/7/8 Mitchell Laks <mlaks@post.harvard.edu>:
>
> Dear Gurus,
>
> this morning my computer is very sluggish and top says find is running.
>
> I did
>
> ps aux|grep find
>
> with this output
>
> root * * 25307 *0.0 *0.0 *11132 * 652 ? * * * *SN * 07:42 * 0:00 /bin/sh /usr/bin/updatedb.findutils
> root * * 25315 *0.0 *0.0 *11136 * 352 ? * * * *SN * 07:42 * 0:00 /bin/sh /usr/bin/updatedb.findutils
> nobody * 25342 *0.0 *0.0 *56292 * 904 ? * * * *SN * 07:42 * 0:00 su nobody -s /bin/sh -c /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
> nobody * 25354 *3.6 *0.0 *13300 *1340 ? * * * *DN * 07:42 * 0:17 /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
>
>
> what utility is doing this find?
>
> thanks,
>
> Mitchell Laks
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/20110708121128.GA26007@earthlink.net
>
>
Hi,

I think it is /etc/cron.daily/mlocate wichi internally runs updatedb -
"update a database for mlocate"

Check your /etc/cron.daily/mlocate.

This anacron job runs every day and update your mlocate database.

You can disable it or just move it to /etc/cron.weekly/ or
/etc/cron.monthly/ is up to you.

How many times do you use the mlocate command per day? :-p

Best regards

--
Mi nueva dirección es: - My new email address is: - Mon nouveau email est:
juan@elsotanillo.net
----------------------------------------------------------------------------
Usuario Linux Registrado: #257202
http://www.elsotanillo.net
----------------------------------------------------------------------------


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CABS=y9sNdO0gfko3WO_CnppjjeXEdXJu+r2AbPJuMbCzX_Y+S A@mail.gmail.com">http://lists.debian.org/CABS=y9sNdO0gfko3WO_CnppjjeXEdXJu+r2AbPJuMbCzX_Y+S A@mail.gmail.com
 
Old 07-08-2011, 01:41 PM
Andrew McGlashan
 
Default what program is running find that is taking up so much of my cpu time this morning?

HI,

Juan Sierra Pons wrote:

2011/7/8 Mitchell Laks <mlaks@post.harvard.edu>:

ps aux|grep find

I think it is /etc/cron.daily/mlocate wichi internally runs updatedb -
"update a database for mlocate"

Check your /etc/cron.daily/mlocate.


If it is mlocate, then you may want to exclude areas from the database.

For instance, I use rsnapshot and this area is one that I don't want
"indexed" because it isn't necessary, so I simply exclude it. You may
have other areas that wouldn't benefit from an index update.


See your /etc/updatedb.conf to prune some areas ...

Cheers

--
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4E170924.3010207@affinityvision.com.au">http://lists.debian.org/4E170924.3010207@affinityvision.com.au
 

Thread Tools




All times are GMT. The time now is 03:11 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org