Disk space does not become available after removing Apache log

Created:

2016-11-16 12:41:35 UTC

Modified:

2017-04-24 12:15:09 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Disk space does not become available after removing Apache log

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Server is running out of disk space.Why does not disk space become available after removing error_log file of a domain?

Cause

The disk space remains occupied as long as the file is opened by Apache. This is expected operating system behavior. The operating system does not release disk space for deleted files which are still open.

Resolution

Restart Apache service:

# service apache2 restart

or

# service httpd restart
Have more questions? Submit a request
Please sign in to leave a comment.