lundi 8 décembre 2014

Shell scripts not cleaning up after themselves on new AIX server


We just moved an application from one data-center to another, from AIX server A to AIX server B. Software, Hardware and O/S for A and B is the same. The problem is that the /tmp directory starts filling up quickly after a restart/clean. We can change where the application server stores temporary files, so they're not going to /tmp anymore. The remaining files filling up /tmp seem to be shell script related.


At this point I'm looking less for an answer, and more how to ask the question in a google friendly way - there are a million posts about shells, mktemp and use of temporary files. I'm not even clear on if it's expected that shells (ksh) use /tmp so much.



Aucun commentaire:

Enregistrer un commentaire