Atom feed of this document
 

 Constraints

To change the OpenStack Object Storage internal limits, update the values in the swift-constraints section in the swift.conf file. Use caution when you update these values because they affect the performance in the entire cluster.

Table 6.45. Description of configuration options for [swift-constraints] in swift.conf-sample
Configuration option=Default value Description
max_file_size=5368709122 The largest normal object that can be saved in the cluster. This is also the limit on the size of each segment of a large object when using the large object manifest support. This value is set in bytes. Setting it to lower than 1MiB will cause some tests to fail. It is STRONGLY recommended to leave this value at the default (5 * 2**30 + 2).
max_meta_name_length=128 The maximum number of bytes in the utf8 encoding of the name portion of a metadata header.
max_meta_value_length=256 The max number of bytes in the utf8 encoding of a metadata value.
max_meta_count=90 The maximum number of metadata keys that can be stored on a single account, container, or object.
max_meta_overall_size=4096 The maximum number of bytes in the utf8 encoding of the metadata (keys + values).
max_header_size=8192 The maximum number of bytes in the utf8 encoding of each header.
max_object_name_length=1024 The maximum number of bytes in the utf8 encoding of an object name.
container_listing_limit=10000 The default (and maximum) number of items returned for a container listing request.
account_listing_limit=10000 The default (and maximum) number of items returned for an account listing request.
max_account_name_length=256 The maximum number of bytes in the utf8 encoding of an account name.
max_container_name_length=256 The maximum number of bytes in the utf8 encoding of a container name.

Log a bug against this page


loading table of contents...