blob

blob

Description

These options control the handling of large data chunks (blobs), determine when they are swapped to disk, and also how much disk space and memory can be used by PNS.

Blob options

config.blob.temp_directory

The directory where the blobs are swapped to. Default value: /var/lib/vela/tmp/

config.blob.hiwat

PNS tries to store everything in the memory if possible. If the memory usage of PNS reaches hiwat, it starts to swap the data onto the hard disk, until the memory usage reaches lowat.

config.blob.lowat

Global options can be also set at the beginning of the Config.py file if managing the configuration of PNS manually.

Lower threshold of data swapping.

config.blob.max_disk_usage

The maximum amount of hard disk space that PNS is allowed to use.

config.blob.max_mem_usage

The maximum amount of memory that PNS is allowed to use.

config.blob.noswap_max

Objects smaller than this value (in bytes) are never swapped to hard disk. Default value: 16384