Plesk y u no delete dropbox.tar

Where is all the space going on my Plesk box? Oh good god - look it appears to all be tied up in huge tar archives that run in the small hours. Something is certainly Afoot At The Circle-K Ted.

root@yomumma [15:27:25] [/usr/local/psa/PMM/tmp]
-> # ls -lha
total 187G
drwxr-xr-x 2 psaadm psaadm 4.0K Jan 30 03:22 .
drwxr-xr-x 9 root root 4.0K Jan 30 08:48 ..
-rw------- 1 root root 1.3G Nov 27 01:22 dropbox(randomchars).tar
-rw------- 1 root root 5.6G Jan 14 03:25 dropbox(randomchars).tar
-rw------- 1 root root 6.1G Nov 6 03:26 dropbox2(randomchars).tar
-rw------- 1 root root 6.1G
-rw------- 1 root root 1.3G Nov 19 01:22 dropbox(randomchars).tar
-rw------- 1 root root 5.6G Jan 15 03:26 dropbox(randomchars).tar

In this particular case - almost 200G was being swallowed up by these bad boys - and that is no real laughing matter, as that is pushed remotely, it is backed up to CDP, and the elephant in the room - stored locally.

No alarms, no surprises. No emails. Nothing.

So - having documented, and rendering myself 200GB better off - I have raised this with Plesk for feedback. If it is happening for two of us - it is likely happening for thousands. I will update this as and when they get back to me.

Apparently "it is not a problem they have been able to recreate" ... as we keep finding it on VM and production dedicated alike.

The solution is simple enough - cron a find and remove to run once a day:

find /usr/local/psa/PMM/tmp/ -name "dropbox*" -ctime +2 -exec rm -f {} \+

"unable to recreate" indeed....  .... "I see no ships" more like.


Leave a Reply

Your email address will not be published. Required fields are marked *