“Why Is /tmp Filling Up Daily After Enabling PHP EXIF? How to Check Files via SSH”
I was able to activate PHP with the help of one of my clients. exif extension, and I've observed that the /tmp folder builds up daily in server mode ever since. I want to know why that folder is filled up every day; perhaps I can view the list of files using an SSH command.
-
Hey there! If this is the main /tmp of the server you would need root SSH access to see the specific files, which would likely help determine their cause.
The best information on using SSH to track down disk usage can be found here:
https://support.cpanel.net/hc/en-us/articles/360047890393-How-to-determine-server-disk-space-usage
so I'd recommend trying that to see if you can get more information on what is happening.
0 -
I think the issue is happening because enabling PHP EXIF is generating temporary files (like image metadata processing) that are being stored in
/tmpand not getting cleaned up properly. Over time, this causes/tmpto fill up daily. You can check what’s filling the space via SSH using commands likedu -sh /tmp/*orls -lh /tmpto identify large or leftover files.0
Please sign in to leave a comment.
Comments
2 comments