tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [SUMMARY] Finding a file that doesn't exist.
@ 1998-09-07  3:41 Ian Mortimer
  0 siblings, 0 replies; only message in thread
From: Ian Mortimer @ 1998-09-07  3:41 UTC (permalink / raw)
  To: tru64-unix-managers

Hi DU Admins.

The question was:

   I've recently been getting this error message nightly from cron
   on a PWS 433au running DU 4.0C patch level 5:

      find: /tmp/croutFYCaaaqDa : No such file or directory

   The crout is constant; the rest of the file name varies.

   The crontab entry that produces this is:

      20 4 * * * find /tmp  -type f -atime +2 -exec rm -f {} \;

   If I run that command at the root prompt it gives no errors and 
   I've never been able to find a file named crout* in /tmp.

   Does anyone have any idea why I'm getting that message or where 
   these (nonexistent) files might be coming from.

Thanks to Dennis MacDonell, Antonio Azevedo, Girish Phadke,
Alan Rollow and Jim Belonis.

These files are the temporary files produced by cron to hold
the output from the command being executed.  The explanation for
why they produce this error even though find is being run with 
'-atime +2' came from Jim:

   the find process is looking at ALL files to decide when and whether.
   It apparently gets the names of all files early
   and later actually gets the inode.  If the inode doesn't exist any more,
   bingo.

Jim also had a good explanation for why only one of our workstations
is doing this and why they became so regular in the last few weeks:

   I noticed fluctuations in frequency of these errors as well.
   But since it is basically a race condition, small changes in 
   the speed of various things
   can make a big difference in whether the error occurs.

As it happens the machine displaying these symptoms has been heavily 
loaded in the last few weeks running simulations.

So the mystery is solved for me and the good news is that it's
nothing to worry about.


Ian

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/                                                 Ian Mortimer _/
_/ ian@physics.uq.edu.au    ,-_|\         Department of Physics _/
_/ Tel: +61 7 3365 3436    /    *\     University of Queensland _/
_/ Fax: +61 7 3365 1242    \_,-._/          St. Lucia, Brisbane _/
_/                              v    Queensland, Australia 4072 _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Disclaimer: Speaking only for myself.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-09-07  3:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-07  3:41 [SUMMARY] Finding a file that doesn't exist Ian Mortimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox