[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird cron jobs in FC3



Whatis/Apropos/Locate database rebuilds, which occur daily by default, 
eat up a lot of I/O.
This is fine on a system that is on regularly.

But on a system that is powered up infrequently, you should consider 
either disabling the jobs, or just turn off "anacron" which runs jobs 
that missed their scheduled time.
I.e., if your system isn't powered at 3am or whenever the 
Whatis/Apropos/Locate databases are built, if you disable "anacron," 
they won't be run when the next time you startup.


Ken Keefe wrote:
> Subject: Weird cron jobs in FC3
> From: Ken Keefe <kaje@digitalfamily.org>
> To: discuss@silug.org
> Date: Wed, 09 Mar 2005 18:58:52 +0000
> 
> 
> I am relatively new to using FC3 and I noticed that my cpu usage on 
> gkrellm was really high all of a sudden even though I had no 
> applications running. After a little exploring, I found that a program 
> called "makewhatis" was taking up a majority of my cpu and there were 
> several root processes that seem to be cron jobs... So, I thought I 
> would post here and make sure that this is ok and not some sort of 
> break in or security breach... Here is the ps -Af output of the ones 
> that seem to be of importan ce. Some of them were cut off because I 
> did it in a terminal and didn't think to redirect it to a file until 
> after they were already gone.
> 
> root      6949     1  0 12:41 ?        00:00:00 /usr/sbin/acpid
> root      7093  4436  0 12:46 ?        00:00:00 /bin/bash 
> /usr/bin/run-parts /etc/cron.weekly
> root      7094  7093  0 12:46 ?        00:00:00 /bin/bash 
> /etc/cron.weekly/00-makewhatis.cron
> root      7095  7093  0 12:46 ?        00:00:00 awk -v 
> progname=/etc/cron.weekly/00-makewhatis.cron progname {?????   print 
> progname ":\n"?????   progname="";????
> root      7101  7094  5 12:46 ?        00:00:14 /bin/bash 
> /usr/bin/makewhatis -w
> root     23761  7101  0 12:51 ?        00:00:00 /usr/bin/gawk ??    
> function readline() {?      if (use_zcat || use_bzcat) {??result = 
> (pipe_cmd | getline);??if (resul
> root     23762 23761  0 12:51 ?        00:00:00 [zcat] <defunct>
> 
> What is all this about? I have been having some strange lock up issues 
> that I can't seem to tie down the cause to, so I am mildly paranoid 
> about things that suddenly "happen" on my system that I don't 
> understand...
> 
> Thanks,
> Ken
--
Bryan J. Smith   mailto:b.j.smith@ieee.org
Currently Mobile

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.