cancel
Showing results for 
Search instead for 
Did you mean: 

Clearing tmp directory on server

Former Member
0 Kudos

We have a requirement where we need to publish Contract documents under Master Agreement to a third party application. We are able to achieve this using a web-service. But we also need to do remediation where we need to publish all the existing contract documents as well. We prepared csv import to do this. But since the existing documents are huge in number approx 25K in our DEV system. Once the import was started after around 3K documents were published, our tmp directory got full. There were lots of blob files created in the tmp directory. Any one has any idea like when the tmp directory on the server gets cleaned up. Our Basis team advised they are neither doing this activity manually nor through a cron job.

Our server is RHEL Release 6.0. The tmp directory is /usr/sap/<host name>/J80/esourcing/tmp.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member89217
Contributor
0 Kudos

The /tmp directory is checked and cleaned on every startup. Other than that there are occasional checks but we expect this to be > 6 hours so no help in your case.  In this case either add more disk or put in a cron job to check every N minutes and clear out old entries.  caveat is you should not run this while people are doing real work only when you are doing this large import. Normally the system will take of this directory sufficiently.

Gary