Quote:
Originally Posted by
viswath.sen
My doubt is do we have to remove these temp files with some cron entry
probably so, if you can't (?) configure your process to do so itself (at least so it seems).
Quote:
Originally Posted by
viswath.sen
OR thie ondemand process which is creating these temp file only resposible to delete these files?? Generally in unix like platforms what would be the general way...?
Generally speaking it is good style to give back what you take. [RAMBLING MODE] This is fundamentally true: on a social level (but alas usually neglected - we call this phenomenon "greed") [/RAMBLING MODE] and it is equally true on the process level: If you, for instance, allocate memory and don't need it any more you give it back - programs failing to do so are called memory hogs" and are regarded as programmed sloppily. The same is true for disk space: if you create a temporary file you remove it once you don't need it any more, at the latest at process exit.
The best advice i can give you (apart from hanging your programmer with the head down for programming such crap) is to write a script which uses "lsof" "strace" or some similar tool to find out which files in "/tmp" are still in use by their processes and delete the others.
I hope this helps.
bakunin