NREL / OpenStudio-server

The OpenStudio Server is a docker or Helm deployable instance which allows for large-scale parametric analyses of building energy models using the OpenStudio or URBANopt CLIs.
http://www.openstudio.net/
Other
45 stars 20 forks source link

Delete the Leftover files after a sim #731

Closed brianlball closed 6 months ago

brianlball commented 7 months ago

This removes the entire sim directory on the workers when a datapoint is done. The user had the opportunity to .zip up the files they wanted and POST those to the web container to make avail in the GUI and API download. The sim directory is no longer needed and just eats up disk space. This also deletes any /tmp XML validation files that get left (this was GB before the OS bug fix) This was tested with 179D (1.5 million sims) and the disk size of the workers never grew, which resulted in way faster performance and cost savings! This also attempts to remove leftover installation files to reduce disk size of the final container. But that should also continue in a different PR.

brianlball commented 6 months ago

https://github.com/NREL/OpenStudio-server/issues/733