No more diskspace on server [duplicate]
Solution 1:
The file you deleted will still be open and Apache will be writing to it. You will need to restart Apache to allow it to create a new file. A graceful restart should do the trick
apachctl -k graceful
or
apache2ctl -k graceful
or whatever your distro uses.
Solution 2:
Have you tried running sync
, too? It should normally execute automatically at least once every few minutes, but who knows.
Also, how exactly did you investigate with du
? Perhaps some of those files were rotated somewhere into some other directory, and you haven't noticed that they haven't been deleted yet?
You could also try running find / -size +10000000c
to find files larger than 10MB.