Hi,
I have a digital ocean droplet with ubuntu where i have installed cyberpanel with openlitespeed server and I am hosting a few starter blog sites for myself. Recently the droplet disk usage increased significantly from 30-35% to around 60% within a day. I am not very knowledgeable about using the ssh terminal however i have researched online and found out the lsws logs folder is taking a huge amount of space. I ran a command that gave me a list of files with the biggest size. Please check below
As you can see the stderr.log.2024_09_12.01 is taking huge amount of space so I want to know
1- how to delete it properly and whether it is save to delete these log files?
2-How can i disable the logs and make sure that this does not happen again.
3- Also is there a way to read the log files and know what issue is creating these logs files in the first place?
I am not an expert in these things so please ignore if these questions sound stupid but I would appreciate if anyone can help or maybe guide me to where I can get more info about these issues.Thank you.
I have a digital ocean droplet with ubuntu where i have installed cyberpanel with openlitespeed server and I am hosting a few starter blog sites for myself. Recently the droplet disk usage increased significantly from 30-35% to around 60% within a day. I am not very knowledgeable about using the ssh terminal however i have researched online and found out the lsws logs folder is taking a huge amount of space. I ran a command that gave me a list of files with the biggest size. Please check below
45292823 /
26199424 /usr
23155208 /usr/local
21697148 /usr/local/lsws
20799116 /usr/local/lsws/logs
20721768 /usr/local/lsws/logs/stderr.log.2024_09_12.01
9211216 /home
6272352 /var
26199424 /usr
23155208 /usr/local
21697148 /usr/local/lsws
20799116 /usr/local/lsws/logs
20721768 /usr/local/lsws/logs/stderr.log.2024_09_12.01
9211216 /home
6272352 /var
1- how to delete it properly and whether it is save to delete these log files?
2-How can i disable the logs and make sure that this does not happen again.
3- Also is there a way to read the log files and know what issue is creating these logs files in the first place?
I am not an expert in these things so please ignore if these questions sound stupid but I would appreciate if anyone can help or maybe guide me to where I can get more info about these issues.Thank you.