Hi every one,
I opened this topic though I know that the issue about tmp files in Jetson is like any ubuntu. But the problem is that most of us are using Jetson for very huge volume of computations which requires Jetson to work for a long time. Considering that when /tmp becomes full it makes serious problems which requires to be restarted-something that we do not want.
I want to ask How can we manage /tmp file and make it clean without restart?
Besied I am experiencing another issue (with Jetson device) even when I am trying to restart /tmp is steel full and I can’t do anything
nvidia@tegra-ubuntu:~$ df /tmp
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 28768380 27343960 0 100% /
nvidia@tegra-ubuntu:~$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 28768380 26588604 695388 98% /
devtmpfs 7975976 0 7975976 0% /dev
tmpfs 8042776 184 8042592 1% /dev/shm
tmpfs 8042776 14064 8028712 1% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 8042776 0 8042776 0% /sys/fs/cgroup
tmpfs 804280 12 804268 1% /run/user/106
tmpfs 804280 0 804280 0% /run/user/1001
tmpfs 804280 0 804280 0% /run/user/1000
I already tried something like
sudo find /tmp -type f -atime +10 -delete
or directly changing etc/default/rcS file by
TMPTIME=10
to clean /tmp but it does not work!
even
TMPTIME=0
does not work for me.
I will appreciate for your comments.
Thanks