AntaresSimulatorTeam / AntaREST

API REST and WebUI for Antares_Simulator
Apache License 2.0
12 stars 6 forks source link

Better management of storage size (disk full) #1049

Open pl-buiquang opened 2 years ago

pl-buiquang commented 2 years ago

Sometimes when importing a new output this fails because the device is full.

For that:

Context:

The disk applis/antares/data/tmp should be monitored. It should be at least 200 GB free. The size of a study is less than 500 MB. The result of a study can reach some GB. They are retrieved from CALIN.

For example, in the run_study function, the task should be put on hold if the disk space is insufficient.

In Elastic Search, the disk space is indicated in log files.

laurent-laporte-pro commented 1 year ago

Related to Demonstrate metrics PR#1488