How do I handle the Runtime's disk getting full?

  • Please consult the documentation for your chosen Container Engine and Environment for more information on how to monitor the disk usage of a Volume. The following instructions describe how to do so using Docker.
  • You can check the state of a DataShyft Customer Runtime’s disk usage by doing the following from the system hosting the Docker image: docker exec -it datashyft df -h .  The important mounts to look at are the ones Mounted on /  and /datashyft-config
  • There are two ways in which a DataShyft Customer Runtime uses disk space: logging and temp files.
    • Logs are stored in /datashyft-config/logs . You can delete archived logs (any of the logs with the .gz  extension) without issue to free up some disk space.
    • Temporary files hold data as it flows through the deployment pipeline on the system.  They are stored in /datashyft-config/cache/working  and are cleaned up either when the data they contain is no longer needed by the deployment that created it, or when the deployment that created them is stopped. Therefore, stopping deployments that use this runtime can free up disk space.
  • If you would rather not stop deployments and/or delete logs, you should consider expanding the disk space available to Docker.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us