Disk 100% full

Hello. I constantly have this problem of the disk getting 100% full, I need to open or terminate and use the commands:

rm -rf /usr/local/lsws/logs/*
rm -rf /usr/local/lsws/cachedata

about 22gb are clean. What could I do to resolve this disk full issue? I often see the error when the site crashes.

Welcome @AMDark Happy you are here

Go to https://SERVER_URL:7080/index.php#view/confMgr.php?m=serv&p=log and setup Keep Days which specifies how many days the access log file will be kept on disk, Compress Archive allow compressing rotated log files in order to save disk space. Also reduce the rolling size of Access log

Thanks for your help. I made the edits. Let’s see if it solves the problem. I’ll be back soon to comment.