• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Error_log ate all disk space, rotation and delete fails.

swaan

New Pleskian
So an error_log file managed to get so large in a short time that it ate up almost all the disk space. It is 80% of the partition capacity so rotation fails (because it wants to create a copy first and runs out of disk space?). I tried to shut down all services to rm the file but it gets recreated with the rotation every time. I also tried creating a new error_log file (mv, touch) but it too gets overwritten. What now? :)

Running on Ubuntu 16 LTS
 
Last edited:
fixed it:
Code:
truncate -s 0 error_log
then ran the logrotate manually. Hope this procedure is ok?
 
Back
Top