Skip to main content

.tmp files under /var/tmp

No replies
taihc
Offline
Joined: 2010-07-14
Points: 0

Hi everyone,

I know similar questions to this post have been circulating on this forum and have gone through them.

http://forums.java.net/jive/message.jspa?messageID=452776
http://forums.java.net/jive/message.jspa?messageID=224707

Both posts clarified the point that files residing under /tmp/var are not required after GlassFish comes up successfully.

The below is a listing of the files in the said directory (/var/tmp):

drwxr-xr-x 3 gfadmin gfadm 512 Jun 28 07:23 s1astempProdAppDomainserver981679537
-rw-r--r-- 1 gfadmin gfadm 29776 Jul 5 13:14 dfs-5003112491917697213.tmp
-rw-r--r-- 1 gfadmin gfadm 86820 Jul 5 15:19 dfs-2278740880419159421.tmp
-rw-r--r-- 1 gfadmin gfadm 86820 Jul 5 15:19 dfs-1044422889173193244.tmp
-rw-r--r-- 1 gfadmin gfadm 26 Jul 6 07:49 asmq8431819999232213843.tmp
-rw-r--r-- 1 gfadmin gfadm 26 Jul 6 07:50 asmq7375146961945593069.tmp
-rw-r--r-- 1 gfadmin gfadm 12613 Jul 6 10:01 dfs-1395832501841459977.tmp
-rw-r--r-- 1 gfadmin gfadm 12613 Jul 6 10:01 dfs-8937731428235799074.tmp
-rw-r--r-- 1 gfadmin gfadm 12613 Jul 6 10:03 dfs-8979665508324458655.tmp
-rw-r--r-- 1 gfadmin gfadm 12613 Jul 6 10:09 dfs-8972829189956636547.tmp
-rw-r--r-- 1 gfadmin gfadm 448390 Jul 6 10:09 dfs-4191826926089874469.tmp
-rw-r--r-- 1 gfadmin gfadm 448390 Jul 6 10:13 dfs-7866760916176232921.tmp
-rw-r--r-- 1 gfadmin gfadm 95886 Jul 6 13:35 dfs-6242515469369388642.tmp
-rw-r--r-- 1 gfadmin gfadm 95886 Jul 6 13:36 dfs-220467230832427454.tmp
-rw-r--r-- 1 gfadmin gfadm 12613 Jul 6 14:11 dfs-728156632493483853.tmp
-rw-r--r-- 1 gfadmin gfadm 70913 Jul 6 15:44 dfs-8266877248845620416.tmp
-rw-r--r-- 1 gfadmin gfadm 70913 Jul 6 15:45 dfs-1651333585721650779.tmp
-rw-r--r-- 1 gfadmin gfadm 421726 Jul 6 18:17 dfs-8187004939700034979.tmp
-rw-r--r-- 1 gfadmin gfadm 421726 Jul 6 18:18 dfs-1899004661755480701.tmp
-rw-r--r-- 1 gfadmin gfadm 624174 Jul 6 18:36 dfs-8757098788978690642.tmp
-rw-r--r-- 1 gfadmin gfadm 624174 Jul 6 18:37 dfs-9181622937038493285.tmp
-rw-r--r-- 1 gfadmin gfadm 274477 Jul 7 08:08 dfs-7041937428989904310.tmp
-rw-r--r-- 1 gfadmin gfadm 274477 Jul 7 08:09 dfs-5076545030073996195.tmp
-rw-r--r-- 1 gfadmin gfadm 274477 Jul 7 08:22 dfs-820346077745064306.tmp
-rw-r--r-- 1 gfadmin gfadm 435251 Jul 7 08:22 dfs-4469840469760423474.tmp
-rw-r--r-- 1 gfadmin gfadm 274477 Jul 7 09:21 dfs-6394765759884196785.tmp
-rw-r--r-- 1 gfadmin gfadm 435251 Jul 7 09:22 dfs-5708959874344221990.tmp
-rw-r--r-- 1 gfadmin gfadm 274477 Jul 7 11:33 dfs-6966646888939642244.tmp
-rw-r--r-- 1 gfadmin gfadm 435251 Jul 7 11:33 dfs-9110542901930468531.tmp
-rw-r--r-- 1 gfadmin gfadm 162000 Jul 7 14:52 dfs-8121067959484916251.tmp
-rw-r--r-- 1 gfadmin gfadm 506008 Jul 7 14:54 dfs-7263459875864269081.tmp
-rw-r--r-- 1 gfadmin gfadm 210370 Jul 7 14:54 dfs-2317442652236251538.tmp
-rw-r--r-- 1 gfadmin gfadm 205835 Jul 7 14:54 dfs-4964675681186245905.tmp
-rw-r--r-- 1 gfadmin gfadm 21736 Jul 7 14:55 dfs-59242752410523890.tmp
-rw-r--r-- 1 gfadmin gfadm 21736 Jul 7 14:55 dfs-2304715637585234231.tmp
-rw-r--r-- 1 gfadmin gfadm 506008 Jul 7 14:56 dfs-3448208151102164041.tmp
-rw-r--r-- 1 gfadmin gfadm 210370 Jul 7 14:56 dfs-316835481494193866.tmp
-rw-r--r-- 1 gfadmin gfadm 205835 Jul 7 14:56 dfs-3936078338732115403.tmp
-rw-r--r-- 1 gfadmin gfadm 261762 Jul 7 14:56 dfs-3710944419806263891.tmp
-rw-r--r-- 1 gfadmin gfadm 53170 Jul 7 14:59 dfs-6105038251574520782.tmp
-rw-r--r-- 1 gfadmin gfadm 46535 Jul 7 15:02 dfs-5800295656987266365.tmp
-rw-r--r-- 1 gfadmin gfadm 98334 Jul 7 15:03 dfs-3139315363566967206.tmp
-rw-r--r-- 1 gfadmin gfadm 154154 Jul 7 15:04 dfs-4186720828791630964.tmp
-rw-r--r-- 1 gfadmin gfadm 2932828 Jul 7 15:04 dfs-7131080030354764144.tmp
-rw-r--r-- 1 gfadmin gfadm 446104 Jul 7 15:17 dfs-275805114603182230.tmp
-rw-r--r-- 1 gfadmin gfadm 32693 Jul 7 15:23 dfs-4799147880812999316.tmp
-rw-r--r-- 1 gfadmin gfadm 32693 Jul 7 15:23 dfs-3774286269290939483.tmp
-rw-r--r-- 1 gfadmin gfadm 506008 Jul 7 15:40 dfs-2497477518641375265.tmp
-rw-r--r-- 1 gfadmin gfadm 210370 Jul 7 15:40 dfs-373344342921157308.tmp
-rw-r--r-- 1 gfadmin gfadm 205835 Jul 7 15:40 dfs-5105448014935460951.tmp
-rw-r--r-- 1 gfadmin gfadm 1218298 Jul 7 16:51 dfs-2789611033931363720.tmp
-rw-r--r-- 1 gfadmin gfadm 1218298 Jul 7 16:52 dfs-2263236172660875897.tmp
-rw-r--r-- 1 gfadmin gfadm 21736 Jul 8 07:45 dfs-3398572607436465929.tmp
-rw-r--r-- 1 gfadmin gfadm 32693 Jul 8 07:49 dfs-1372553652080133299.tmp
-rw-r--r-- 1 gfadmin gfadm 162000 Jul 8 10:24 dfs-1348213446631756155.tmp

Can anyone advise why glassfish creates so many *.tmp files please? In addition, looking at the timestamp, these files gets created in rapid succession, stops, and then gets created again. They are also not removed on a restart.

I therefore wonder if its safe to simply delete these files after glassfish comes up successfully please?

Thanks a lot for the assistance.