I use WinSCP to upload my website's pages to a remote Ubuntu Linux server (VPS xen hosting).
When I copy a file, it is written in the server with size=0.
When I checked the free disk space:
df -h
I got:
/dev/xvda with Avail=0% and Used=100%
I tried to check for deleted files with:
lsof | grep '(deleted)'
But the lsof command is not found.
What can I do next?
Linux server’s disk full
disk-space-utilizationlinuxUbuntuvps
Best Answer
Now lsof should report deleted file. You should send HUP signal to http server using
In the future avoid this by editing /etc/logrotate.d/apache2 (enter correct path for your logs)