hidden temporaty files in Linux

Hi,

Some porocess is creating hidden temporary files in /tmp directory. And they are not getting deleted. System is going out of disk space after some days.
The temp files are getting created like .<user name><pid>. I have checked the application code, but didnt get any clue. Does these files are sytem created files??

Can any one have idea and help.

Regards,
Viswath

Check the code again or post it. Something is dropping the files there, and unless you write your own script and put it into cron, you are going to need to fix the original problem.

You can create a cron job that read's . files that have a PID, checks if the PID is active, and then deletes the files if it does not, but that is a band-aid.

You have both a username, a pid, file permissions and ownship details. That should be enough to give you an idea of what is creating these temporary files.

If this has only started happening recently, what has changed on your system to cause this to start happening.