Comment 0 for bug 1954461

Revision history for this message
Hao Wang (soccerhaotian) wrote :

Hi,

Recently we found an issue that each time a snap command runs a few temporary directories are created and would not be removed later, so along the time, the number of inode in /tmp folder is 100%.

# ls -l /tmp/|wc -l
6

# ls -l /tmp
total 0
drwx------ 5 root root 100 Dec 10 16:15 netplan-config-INSDE1
drwx------ 2 root root 40 Dec 10 16:15 netplan_z147ddv1

# snap get core -d

# ls -l /tmp/|wc -l
9

# ls -l /tmp
total 0
drwx------ 5 root root 100 Dec 10 16:15 netplan-config-INSDE1
drwx------ 5 root root 100 Dec 10 16:18 netplan-config-VLB8D1
drwx------ 2 root root 40 Dec 10 16:18 netplan_hd2w8v9j
drwx------ 2 root root 40 Dec 10 16:15 netplan_z147ddv1

Regards,
Hao