Instead of deleting a file held by a process that you can't kill now, you can empty that log file with echo:
echo -n > /var/log/myapp.log You can check after that with df command - the "Used bytes" column will be decreased.
Instead of deleting a file held by a process that you can't kill now, you can empty that log file with echo:
echo -n > /var/log/myapp.log You can check after that with df command - the "Used bytes" column will be decreased.