45dc683e91
Also update the swift tables. Change-Id: I756c4323bd16b43b8df2bd31d77a42ac10a6e2e2
163 lines
7.1 KiB
XML
163 lines
7.1 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<para xmlns="http://docbook.org/ns/docbook" version="5.0">
|
|
<!-- The tool that generated this table lives in the
|
|
openstack-doc-tools repository. The editions made in
|
|
this file will *not* be lost if you run the script again. -->
|
|
<table rules="all">
|
|
<caption>Description of configuration options for
|
|
<literal>[DEFAULT]</literal> in <filename>object-server.conf</filename>
|
|
</caption>
|
|
<col width="50%"/>
|
|
<col width="50%"/>
|
|
<thead>
|
|
<tr>
|
|
<th>Configuration option = Default value</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><option>backlog</option> = <replaceable>4096</replaceable></td>
|
|
<td>Maximum number of allowed pending TCP connections</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>bind_ip</option> = <replaceable>0.0.0.0</replaceable></td>
|
|
<td>IP Address for server to bind to</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>bind_port</option> = <replaceable>6000</replaceable></td>
|
|
<td>Port for server to bind to</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>bind_timeout</option> = <replaceable>30</replaceable></td>
|
|
<td>Seconds to attempt bind before giving up</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>client_timeout</option> = <replaceable>60</replaceable></td>
|
|
<td>Timeout to read one chunk from a client external services</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>conn_timeout</option> = <replaceable>0.5</replaceable></td>
|
|
<td>Connection timeout to external services</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>devices</option> = <replaceable>/srv/node</replaceable></td>
|
|
<td>Parent directory of where devices are mounted</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>disable_fallocate</option> = <replaceable>false</replaceable></td>
|
|
<td>Disable "fast fail" fallocate checks if the underlying filesystem does not support it.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>disk_chunk_size</option> = <replaceable>65536</replaceable></td>
|
|
<td>Size of chunks to read/write to disk</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>eventlet_debug</option> = <replaceable>false</replaceable></td>
|
|
<td>If true, turn on debug logging for eventlet</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>expiring_objects_account_name</option> = <replaceable>expiring_objects</replaceable></td>
|
|
<td>No help text available for this option.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>expiring_objects_container_divisor</option> = <replaceable>86400</replaceable></td>
|
|
<td>No help text available for this option.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>fallocate_reserve</option> = <replaceable>0</replaceable></td>
|
|
<td>You can set fallocate_reserve to the number of bytes you'd like fallocate to reserve, whether there is space for the given file size or not. This is useful for systems that behave badly when they completely run out of space; you can make the services pretend they're out of space early. server. For most cases, this should be `egg:swift#object`.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>log_address</option> = <replaceable>/dev/log</replaceable></td>
|
|
<td>Location where syslog sends the logs to</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>log_custom_handlers</option> = <replaceable></replaceable></td>
|
|
<td>Comma-separated list of functions to call to setup custom log handlers.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>log_facility</option> = <replaceable>LOG_LOCAL0</replaceable></td>
|
|
<td>Syslog log facility</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>log_level</option> = <replaceable>INFO</replaceable></td>
|
|
<td>Logging level</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>log_max_line_length</option> = <replaceable>0</replaceable></td>
|
|
<td>Caps the length of log lines to the value given; no limit if set to 0, the default.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>log_name</option> = <replaceable>swift</replaceable></td>
|
|
<td>Label used when logging</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>log_statsd_default_sample_rate</option> = <replaceable>1.0</replaceable></td>
|
|
<td>Defines the probability of sending a sample for any given event or
|
|
timing measurement.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>log_statsd_host</option> = <replaceable>localhost</replaceable></td>
|
|
<td>If not set, the StatsD feature is disabled.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>log_statsd_metric_prefix</option> = <replaceable></replaceable></td>
|
|
<td>Value will be prepended to every metric sent to the StatsD server.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>log_statsd_port</option> = <replaceable>8125</replaceable></td>
|
|
<td>Port value for the StatsD server.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>log_statsd_sample_rate_factor</option> = <replaceable>1.0</replaceable></td>
|
|
<td>Not recommended to set this to a value less than 1.0, if frequency
|
|
of logging is too high, tune the
|
|
log_statsd_default_sample_rate instead.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>log_udp_host</option> = <replaceable></replaceable></td>
|
|
<td>If not set, the UDP receiver for syslog is disabled.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>log_udp_port</option> = <replaceable>514</replaceable></td>
|
|
<td>Port value for UDP receiver, if enabled.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>max_clients</option> = <replaceable>1024</replaceable></td>
|
|
<td>Maximum number of clients one worker can process simultaneously
|
|
Lowering the number of clients handled per worker, and raising the
|
|
number of workers can lessen the impact that a CPU intensive, or
|
|
blocking, request can have on other requests served by the same
|
|
worker. If the maximum number of clients is set to one, then a given worker
|
|
will not perform another call while processing, allowing
|
|
other workers a chance to process it.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>mount_check</option> = <replaceable>true</replaceable></td>
|
|
<td>Whether or not check if the devices are mounted to prevent accidentally writing to the root device</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>network_chunk_size</option> = <replaceable>65536</replaceable></td>
|
|
<td>Size of chunks to read/write over the network</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>node_timeout</option> = <replaceable>3</replaceable></td>
|
|
<td>Request timeout to external services</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>swift_dir</option> = <replaceable>/etc/swift</replaceable></td>
|
|
<td>Swift configuration directory</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>user</option> = <replaceable>swift</replaceable></td>
|
|
<td>User to run as</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>workers</option> = <replaceable>auto</replaceable></td>
|
|
<td>a much higher value, one can reduce the impact of slow file system operations in one request from negatively impacting other requests.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</para>
|