cancel
Showing results for 
Search instead for 
Did you mean: 

TMP files, many of them

Fred Martin_1
Valued Contributor

TMP files, many of them

For some reason, in root's home, many TMP files are appearing:

-rw-rw-rw- 1 root sys 0 Jul 10 15:44 20667.TMP
-rw-rw-rw- 1 root sys 0 Jul 10 15:46 21105.TMP
-rw-rw-rw- 1 root sys 0 Jul 10 15:51 21465.TMP
-rw-rw-rw- 1 root sys 0 Jul 10 15:52 21547.TMP
-rw-rw-rw- 1 root sys 0 Jul 10 15:55 21905.TMP
-rw-rw-rw- 1 root sys 0 Jul 10 15:56 22126.TMP
-rw-rw-rw- 1 root sys 0 Jul 10 16:02 22872.TMP
-rw-rw-rw- 1 root sys 0 Jul 10 16:11 23546.TMP
-rw-rw-rw- 1 root sys 0 Jul 10 16:19 24303.TMP

You can see by the times that it's a steady stream of them. Where would I begin, to find out what's creating these empty files?

I assume that the names are process ID's, they are in the range of other new processes on the system.

Fred
fmartin@applicatorssales.com
6 REPLIES
John Poff
Honored Contributor

Re: TMP files, many of them

Hi,

You can run an 'fuser *.TMP' and see if any processes have those files open. Then you can do an 'ps -fp ' on one and see what the process is.

JP
Fred Martin_1
Valued Contributor

Re: TMP files, many of them

Unfortunately, no. Also tried hitting just the last few hoping they're still active but they're all coming up blank.
fmartin@applicatorssales.com
John Poff
Honored Contributor

Re: TMP files, many of them

Ok, then I'd work from the other end. See when they started 'ls -lrt *.TMP | head', and then look for a process that might be running since then. I'd also suggest a good look through the process table to see what is running.

JP
Fred Martin_1
Valued Contributor

Re: TMP files, many of them

Mmm. Just noticed that the dates/times roughly follow store hours ... could still be lots of things but that confines it, for the most part, to the primary database or users. Not likely to be some other system related thing. I'll be watching it.
fmartin@applicatorssales.com
James R. Ferguson
Acclaimed Contributor

Re: TMP files, many of them

Hi Fred:

The 'lsof' utility might make it easier. You could let it automatically refresh and see much more in "one shot".

Regards!

...JRF...
Fred Martin_1
Valued Contributor

Re: TMP files, many of them

It occurs to me now that these are indeed database temp files, Progress, specifically. I have seen them before, though not as numerous and with data in them. They were easier to identify with data in them :)

I think that it's off topic for this forum then, but thanks.
fmartin@applicatorssales.com