Skip to main content
2 of 2
Formatting
AdminBee
  • 23.6k
  • 25
  • 55
  • 77

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.