openstack-manuals/doc/common/tables/swift-account-server-DEFAULT.xml
Christian Berendt 2cc66311cb Update Swift configuration tables
Change-Id: Ib57f5db125421e317c7d0cf0c14ec744b4066a46
2015-03-02 13:06:05 +01:00

140 lines
6.6 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>account-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>6002</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>db_preallocation</option> = <replaceable>off</replaceable></td>
<td>If you don't mind the extra disk space usage in overhead, you can turn this on to preallocate disk space with SQLite databases to decrease fragmentation. underlying filesystem does not support it. to setup custom log handlers. 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#account`. replication passes account can be reclaimed</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>eventlet_debug</option> = <replaceable>false</replaceable></td>
<td>If true, turn on debug logging for eventlet</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>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>