I use centOS5,
but these files of /tmp is deleted automatically when time passes.
What kind of structure will this kill him in?
In addition, How to stop this?
The best thing to do is ask yourself why you are storing long-lived files in /tmp in the first place. And then change the way you work so that it doesn't happen.
/tmp (tmp is short for temporary) is designed for short-lived (scratch) files which are created, used and deleted in a short period of time. It can also hold some sockets which are re-created every boot (X11 does this). I think most backup software will skip /tmp by default, too.
If you have an application that insists on keeping anything other than scratch files in /tmp, file a bug report.
If you have
tmpwatch
installedThen that will be clearing your
/tmp
regularly (it is called tmp for a reason)tmpwatch
is run from cron on a daily basis, check out/etc/cron.daily/tmpwatch
The best thing to do is ask yourself why you are storing long-lived files in /tmp in the first place. And then change the way you work so that it doesn't happen.
/tmp (tmp is short for temporary) is designed for short-lived (scratch) files which are created, used and deleted in a short period of time. It can also hold some sockets which are re-created every boot (X11 does this). I think most backup software will skip /tmp by default, too.
If you have an application that insists on keeping anything other than scratch files in /tmp, file a bug report.