Does Cyberpanel consume 80GB of data?

I have a around 3-4 sites in my VPS, and each site is using only 2GB or 3GB space. But my whole 80GB disk is shown to be fully occupied. What can I do? How do I clean unnecessary files?.

To answer your question, No it generally does not unless you have enabled debugging or something else.

Assuming that you understand the structure of your OS, you can start at / to search for large folders:

du -ch --exclude=proc/* --max-depth=0 --one-file-system /*[!.]* | sort -hr | head -n 10

This will list 10 folders with the largest data in them on the same filesystem (i.e. Not mounted locations).
e.g. if /var holds too much data than you would expect, then you would check that folder as follows:

du -ch --exclude=proc/* --max-depth=0 --one-file-system /var/*[!.]* | sort -hr | head -n 10

Repeat to find out where holds the data and then act appropriately.
Do not delete anything that you are unsure of.

Usually /.cache holds a lot of data which can be removed.

1 Like

I’ve encountered this problem twice, the first time I realized the problem, the second time I just forgot to prescribe the settings.
This is most likely all logs from LiteSpeed server.
Unfortunately Cyberpanel installer does not correct logging settings on the server.
I bet $10 that space is eaten up by logs, and you are in for a surprise here: /usr/local/lsws/logs/

You can see in the screenshot that I put 10 days on the log rotation. By default there is nothing there and the logs grow indefinitely. I recommend to set the same for hosts.

P.S. It’s funny, but yesterday I was contacted by a friend who had a site of WordPress working 10-12 hours a day, the rest of the time it was not available. The problem turned out to be lack of free disk space. Only in this case, cache plugin wprocket cached 50 gigabytes, what is the reason - I do not know, probably caught glitches after the update WordPress. The problem was solved by updating the plugin to the latest version.

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.