/home/user/tmp/ directory using giant space

Operating System & Version
linux
cPanel & WHM Version
111.0 (build 7)

olijm74

Registered
Aug 19, 2023
2
1
3
United Kingdom
cPanel Access Level
Root Administrator
I have recieved a email from the host today that my plan is nearing 300,000 of max files.

I checked my host after logging in and found that the /home/myusername/tmp/ folder has suddenly caused a gigantic amount of disk usage which I don't recall before.

Compared to all my other directories in the File Manager, nothing compares to this folder and don't understand why it is so big all of a sudden?

Why is it doing this? One file for example which is over 2GB is Cpanel_Form_file.upload.c3d4d20f. I don't know which files I can remove without causing issues on my server.


There's lots of other files in 200MB+ size taking up a lot of the space as well in the text/x-generic type.

Any assistance greatly appreciated,
 

Attachments

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,570
2,612
363
cPanel Access Level
Root Administrator
Hey there! The example you provided with the cpanel_Form_file.upload file is a temporary file that was uploaded through the cPanel >> File Manager tool and may have been stopped or failed before it was finished.

You can remove all files in that tmp directory except for the following directories:

drwx------. 21 username username 4.0K Oct 13 2022 analog
drwx------. 3 username username 28K Aug 21 08:06 awstats
drwxr-xr-x. 2 username username 4.0K Oct 8 2013 cpbandwidth
drwx------. 2 username username 4.0K Sep 19 2022 horde
drwxr-xr-x. 2 username username 4.0K Sep 6 2013 logaholic
drwxr-xr-x. 3 username username 4.0K Oct 20 2013 pear
drwxr-x---. 3 username username 4.0K Apr 28 2020 pma_template_compiles_username
drwx------. 25 username username 12K Aug 21 08:06 webalizer
drwx------. 2 username username 4.0K Feb 12 2022 webalizerftp
 

olijm74

Registered
Aug 19, 2023
2
1
3
United Kingdom
cPanel Access Level
Root Administrator
Hey there! The example you provided with the cpanel_Form_file.upload file is a temporary file that was uploaded through the cPanel >> File Manager tool and may have been stopped or failed before it was finished.

You can remove all files in that tmp directory except for the following directories:

drwx------. 21 username username 4.0K Oct 13 2022 analog
drwx------. 3 username username 28K Aug 21 08:06 awstats
drwxr-xr-x. 2 username username 4.0K Oct 8 2013 cpbandwidth
drwx------. 2 username username 4.0K Sep 19 2022 horde
drwxr-xr-x. 2 username username 4.0K Sep 6 2013 logaholic
drwxr-xr-x. 3 username username 4.0K Oct 20 2013 pear
drwxr-x---. 3 username username 4.0K Apr 28 2020 pma_template_compiles_username
drwx------. 25 username username 12K Aug 21 08:06 webalizer
drwx------. 2 username username 4.0K Feb 12 2022 webalizerftp
Hey, thank you for the reply. Got it sorted, I appreciated the detailed info like what folders not to delete.
 
  • Like
Reactions: cPRex