No space left on device

Riskscape has been failing to run and throwing a couple of errors: one that there is no space left on the device and another that a file could not be written to.

Problems found with 'pipeline-eval' pipeline
  - Execution of your data processing pipeline failed. The reasons for this follow:
    - Problems found with 'shapefile' format
      - java.io.IOException: No space left on device
Problems found with 'pipeline-eval' pipeline
  - Execution of your data processing pipeline failed. The reasons for this follow:
    - Could not write to dbf file

There is a large amount of space available on the drive that riskscape is running on

powellj@mahuika01 /nesi/nobackup/niwa03670 $ nn_storage_quota | grep -E 'nobackup_niwa03670|Quota'
Quota Location                    Available         Used      Use%     State       Inodes        IUsed     IUse%    IState
nobackup_niwa03670                      10T       416.3G     4.07%        OK      1000000       494696    49.47%        OK

By default Riskscape will use the /tmp directory while it is running. I am using Slurm to launch Riskscape on a node with limited space in /tmp. The temp directory java uses can be changed by adding

export _JAVA_OPTIONS=-Djava.io.tmpdir=newtempdir

eg

export _JAVA_OPTIONS=-Djava.io.tmpdir=/nesi/nobackup/niwa03670/riskscapetmp

Hi John

It seems that _JAVA_OPTIONS is a non standard environment variable that is used be some JVMs but not all.

To solve your problem now, I’d suggest you put the temp dir settings in a JVM_OPTS variable. This is picked up by the riskscape start script and passed to the JVM.

And I’ll get the tips page updated.

Regards
Glenn