You need to clean log files (e.g /usr/local/apache/domlogs) with the following command.
Don’t use rm command because it may cause writing problem.
If you wanna clean multiple files, you can use the following commnd.
truncate logfile --size 0
If you wanna clean all the log files, you can use the following command. We need to use *.* because the folders cause the error and break the command.
truncate *.* --size 0