The Linux "kill -1 pid" command doesn't kill a Stata job running in background. The "kill -9 pid" command does kill the job, but leaves the temporary files. Eventually users start to get messages like "file /tmp/St14980.000003 already exists". We can delete old /tmp files, but some users run jobs for weeks on end so picking a safe age to harvest /tmp files isn't straightforward. Deleting an open file won't affect Stata but if Stata closes and tries to reopens a deleted file the job would presumably crash. Does Stata ever do that? Is there a better solution?
We are curruently running Statamp 14.2 under Linux kernel 2.6.32, but as far as I can recall, this has been the situation since forever..
daniel feenberg
We are curruently running Statamp 14.2 under Linux kernel 2.6.32, but as far as I can recall, this has been the situation since forever..
daniel feenberg
Comment