TMP files fills the /tmp directory |
Prasad Kama |
2021-04-22 01:59:17 |
Hi Team,
One my customer facing the problem that TMP files fills the /tmp directory in their environment and they are not getting removed automatically. Need your help in diagnosing the problem.
Below are the details of the driver customer uses:
Implementation-Version: 7.0.112 on July 21, 2020
Specification-Vendor: Heng Xing Tian Tai Lab
Specification-Title: HXTT Text (CSV) JDBC 4.2 Package
Note: we did tried to reproduce the problem in our local environments with same jar file but all works fine.
Thanks
Prasad
|
Re:TMP files fills the /tmp directory |
HXTT Support |
2021-04-22 17:16:31 |
tmpdir connection property: Indicates whether set a temp directory, Default: the value of JVM's "java.io.tmpdir" property. If that value is incorrect, using the directory of JDBC url.
What's the prefix of the reserved TMP files?
|
Re:Re:TMP files fills the /tmp directory |
Prasad Kama |
2021-04-22 21:58:25 |
Thanks for the response.
If the temp directory value not set properly, we don't get the files created in that directory right. FYR, below are file prefix details.
Temp file prefix : HXTT.TMP
Ex : HXTT9164600825212043132.TMP
|
Re:Re:Re:TMP files fills the /tmp directory |
HXTT Support |
2021-04-23 02:24:56 |
1. Temporary file can be deleteOnExit for JVM.
2. The forgotten HXTT9164600825212043132.TMP can be removed automatically after about 3 minutes and when counter%12==1 (counter for temporary file creation).
|
Re:TMP files fills the /tmp directory |
Prasad Kama |
2021-04-23 02:29:17 |
But the automatic deletion not happening for the forgotten files in my customer environment. For now my customer deleting all the files manually once in a day.
Is there anything we can check why the automatic deletion not happening ?
|
Re:TMP files fills the /tmp directory |
Prasad Kama |
2021-04-25 22:45:59 |
|
Can you please suggest on this as my customer having trouble with managing memory on their environment.
|
Re:Re:Re:Re:Re:Re:TMP files fills the /tmp directory |
HXTT Support |
2021-04-26 05:15:55 |
|
Please download the latest package, which will check and remove obsoleted temporary files( after about 3 minutes), if it receive new task to create next temporary file,
|
Re:TMP files fills the /tmp directory |
Prasad Kama |
2021-05-11 03:26:20 |
My customer facing the same problem even with latest driver. They still see so many HXTT*.TMP files(Around 3000 files) were creating in temp folder but not getting deleted.
Below are the latest driver details we tried:
---------------------------------------------
Name: com/hxtt/sql/text/
Implementation-Title: com.hxtt.sql.text
Copyright: Yonghong Zhao
Implementation-Version: 7.1.080 on April 26, 2021
Specification-Vendor: Heng Xing Tian Tai Lab
Specification-Title: HXTT Text (CSV) JDBC 4.2 Package For Evaluation P
Any pointers to debug would be helpful.
Thanks.
|
Re:Re:Re:Re:Re:Re:Re:Re:TMP files fills the /tmp directory |
HXTT Support |
2021-05-11 05:53:30 |
Those temporary files should be created on parsing CSV files, and can be removed automatically.
Try to run once
rm HXTT*.TMP for Linux/Unix
or
delete HXTT*.TMP
Then check whether those temporary files will be produced without REMOVE automatically.
|