<commit_before><?xml version="1.0" encoding="UTF-8"?>
<section xmlns="http://docbook.org/ns/docbook"
    xmlns:xi="http://www.w3.org/2001/XInclude"
    xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
    xml:id="server-configuration-reference">
<title>Server Configuration Reference</title>
<para>Swift uses paste.deploy to manage server configurations. Default configuration
options are set in the <code>[DEFAULT]</code> section, and any options specified there
can be overridden in any of the other sections.</para>
        <section xml:id="object-server-configuration">
            <title>Object Server Configuration</title>
            <para>An Example Object Server configuration can be found at
                etc/object-server.conf-sample in the source code repository.</para>
            <para>The following configuration options are available:</para>
            
            <table rules="all">
                <caption>object-server.conf Default Options in the [DEFAULT] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>swift_dir</td>
                        <td>/etc/swift</td>
                        <td>Swift configuration directory</td>
                    </tr>
                    <tr>
                        <td>devices</td>
                        <td>/srv/node</td>
                        <td>Parent directory of where devices are mounted</td>
                    </tr>
                    <tr>
                        <td>mount_check</td>
                        <td>true</td>
                        <td>Whether or not check if the devices are mounted to prevent accidentally
                            writing to the root device</td>
                    </tr>
                    <tr>
                        <td>bind_ip</td>
                        <td>0.0.0.0</td>
                        <td>IP Address for server to bind to</td>
                    </tr>
                    <tr>
                        <td>bind_port</td>
                        <td>6000</td>
                        <td>Port for server to bind to</td>
                    </tr>
                    <tr>
                        <td>workers</td>
                        <td>1</td>
                        <td>Number of workers to fork</td>
                    </tr>
                    <tr>
                        <td>backlog</td>
                        <td>4096</td>
                        <td>Maximum number of allowed pending TCP connections.</td>
                    </tr>
                    <tr>
                        <td>expiring_objects_container_divisor</td>
                        <td>86400</td>
                        <td></td>
                    </tr>

                    <tr>
                        <td>log_name</td>
                        <td>swift</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                     <tr>
                        <td>user</td>
                        <td>swift</td>
                        <td>User to run as</td>
                    </tr>
                    <tr>
                        <td>db_preallocation</td>
                        <td>true</td>
                        <td>Preallocate disk space for new SQLite
                        databases to decrease fragmentation</td>
                    </tr>
                    <tr>
                        <td>eventlet_debug</td>
                        <td>false</td>
                        <td>Turn on debug logging for eventlet</td>
                    </tr>
                    <tr>
                        <td>disable_fallocate</td>
                        <td>false</td>
                        <td>Disable "fast fail" fallocate checks if the underlying filesystem does not support it.</td>
                    </tr>
                </tbody>
            </table>
         
            <table rules="all">
                <caption>object-server.conf Server Options in the [object-server] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>use</td>
                        <td> </td>
                        <td>The paste.deploy entry point for the
                        object server. For most cases, this should be
                            <code>egg:swift#object</code>.</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>object-server</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>log_requests</td>
                        <td>True</td>
                        <td>Whether or not to log each request</td>
                    </tr>
                    <tr>
                        <td>user</td>
                        <td>swift</td>
                        <td>User to run as</td>
                    </tr>
                    <tr>
                        <td>node_timeout</td>
                        <td>3</td>
                        <td>Request timeout to external services</td>
                    </tr>
                    <tr>
                        <td>conn_timeout</td>
                        <td>0.5</td>
                        <td>Connection timeout to external services</td>
                    </tr>
                    <tr>
                        <td>network_chunk_size</td>
                        <td>65536</td>
                        <td>Size of chunks to read/write over the network</td>
                    </tr>
                    <tr>
                        <td>disk_chunk_size</td>
                        <td>65536</td>
                        <td>Size of chunks to read/write to disk</td>
                    </tr>
                    <tr>
                        <td>max_upload_time</td>
                        <td>86400</td>
                        <td>Maximum time allowed to upload an object</td>
                    </tr>
                    <tr>
                        <td>slow</td>
                        <td>0</td>
                        <td>If &gt; 0, Minimum time in seconds for a PUT or DELETE request to
                            complete</td>
                    </tr>
                    <tr>
                        <td>auto_create_account_prefix</td>
                        <td>.</td>
                        <td>Prefix used when automatically creating
                        accounts</td>
                    </tr>
                    <tr>
                        <td>allowed_headers</td>
                        <td>content-disposition, content-encoding, x-delete-at, x-object-manifest,</td>
                        <td>Comma-separated list of headers that can
                        be set in metadata of an object</td>
                    </tr>
                    <tr>
                        <td>mb_per_sync</td>
                        <td>512</td>
                        <td>On PUTs, sync data every n MB</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>object-server.conf Replicator Options in the [object-replicator] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>object-replicator</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>daemonize</td>
                        <td>yes</td>
                        <td>Whether or not to run replication as a daemon</td>
                    </tr>
                    <tr>
                        <td>run_pause</td>
                        <td>30</td>
                        <td>Time in seconds to wait between replication passes</td>
                    </tr>
                    <tr>
                        <td>concurrency</td>
                        <td>1</td>
                        <td>Number of replication workers to spawn</td>
                    </tr>
                    <tr>
                        <td>timeout</td>
                        <td>5</td>
                        <td>Timeout value sent to rsync &#8211;timeout and &#8211;contimeout
                            options</td>
                    </tr>
                    <tr>
                        <td>http_timeout</td>
                        <td>60</td>
                        <td>Maximum duration for an HTTP request</td>
                    </tr>
                    <tr>
                        <td>lockup_timeout</td>
                        <td>1800</td>
                        <td>Attempts to kill all workers if nothing replicates for lockup_timeout seconds.</td>
                    </tr>
                    <tr>
                        <td>stats_interval</td>
                        <td>300</td>
                        <td>Interval in seconds between logging replication statistics</td>
                    </tr>
                    <tr>
                        <td>reclaim_age</td>
                        <td>604800</td>
                        <td>Time elapsed in seconds before an object can be reclaimed</td>
                    </tr>
                    <tr>
                        <td>recon_cache_path</td>
                        <td>/var/cache/swift</td>
                        <td>Directory where stats for a few items will be stored</td>
                    </tr>
                    <tr>
                        <td>recon_enable</td>
                        <td>no</td>
                        <td>Enable logging of replication stats for recon</td>
                    </tr>
                    <tr>
                        <td>ring_check_interval</td>
                        <td>15</td>
                        <td>How often (in seconds) to check the ring</td>
                    </tr>
                    <tr>
                        <td>rsync_io_timeout</td>
                        <td>30</td>
                        <td>Passed to rsync for max duration (seconds) of an I/O op</td>
                    </tr>
                    <tr>
                        <td>rsync_timeout</td>
                        <td>900</td>
                        <td>Max duration (seconds) of a partition rsync</td>
                    </tr>
                    <tr>
                        <td>vm_test_mode</td>
                        <td>no</td>
                        <td>Indicates that you are using a VM environment</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>object-server.conf Updater Options in the [object-updater] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>object-updater</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>interval</td>
                        <td>300</td>
                        <td>Minimum time for a pass to take</td>
                    </tr>
                    <tr>
                        <td>concurrency</td>
                        <td>1</td>
                        <td>Number of updater workers to spawn</td>
                    </tr>
                    <tr>
                        <td>node_timeout</td>
                        <td>10</td>
                        <td>Request timeout to external services</td>
                    </tr>
                    <tr>
                        <td>conn_timeout</td>
                        <td>0.5</td>
                        <td>Connection timeout to external services</td>
                    </tr>
                    <tr>
                        <td>slowdown</td>
                        <td>0.01</td>
                        <td>Time in seconds to wait between objects</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>object-server.conf Auditor Options in the [object-auditor] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>object-auditor</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>log_time</td>
                        <td>3600</td>
                        <td>Frequency of status logs in seconds.</td>
                    </tr>
                    <tr>
                        <td>files_per_second</td>
                        <td>20</td>
                        <td>Maximum files audited per second. Should be tuned according to
                            individual system specs. 0 is unlimited.</td>
                    </tr>
                    <tr>
                        <td>bytes_per_second</td>
                        <td>10000000</td>
                        <td>Maximum bytes audited per second. Should be tuned according to
                            individual system specs. 0 is unlimited.</td>
                    </tr>
                    <tr>
                        <td>zero_byte_files_per_second</td>
                        <td>50</td>
                        <td>Maximum zero byte files audited per second.</td>
                    </tr>
 

                </tbody>
            </table>
        </section>
        <section xml:id="container-server-configuration">
            <title>Container Server Configuration</title>
            <para>An example Container Server configuration can be found at
                etc/container-server.conf-sample in the source code repository.</para>
            <para>The following configuration options are available:</para>
            <table rules="all">
                <caption>container-server.conf Default Options in the [DEFAULT] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>swift_dir</td>
                        <td>/etc/swift</td>
                        <td>Swift configuration directory</td>
                    </tr>
                    <tr>
                        <td>devices</td>
                        <td>/srv/node</td>
                        <td>Parent directory of where devices are mounted</td>
                    </tr>
                    <tr>
                        <td>mount_check</td>
                        <td>true</td>
                        <td>Whether or not check if the devices are mounted to prevent accidentally
                            writing to the root device</td>
                    </tr>
                    <tr>
                        <td>bind_ip</td>
                        <td>0.0.0.0</td>
                        <td>IP Address for server to bind to</td>
                    </tr>
                    <tr>
                        <td>bind_port</td>
                        <td>6001</td>
                        <td>Port for server to bind to</td>
                    </tr>
                    <tr>
                        <td>workers</td>
                        <td>1</td>
                        <td>Number of workers to fork</td>
                    </tr>
                    <tr>
                        <td>user</td>
                        <td>swift</td>
                        <td>User to run as</td>
                    </tr>
                    <tr>
                        <td>db_preallocation</td>
                        <td>true</td>
                        <td>preallocate disk space for new SQLite databases to decrease fragmentation</td>
                    </tr>
                    <tr>
                        <td>eventlet_debug</td>
                        <td>false</td>
                        <td>turn on debug logging for eventlet</td>
                    </tr>
                    <tr>
                        <td>disable_fallocate</td>
                        <td>false</td>
                        <td>Disable "fast fail" fallocate checks if the underlying filesystem does not support it.</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>swift</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>auto_create_account_prefix</td>
                        <td>.</td>
                        <td>Prefix used when automatically creating
                        accounts</td>
                    </tr>
                    <tr>
                        <td>backlog</td>
                        <td>4096</td>
                        <td>Maximum number of allowed pending TCP connections.</td>
                    </tr>
                </tbody>
            </table>
            
            <table rules="all">
                <caption>container-server.conf Server Options in the [container-server] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>use</td>
                        <td> </td>
                        <td>The paste.deploy entry point for the
                        container server. For most cases, this should
                        be <code>egg:swift#container</code>.</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>container-server</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>log_requests</td>
                        <td>true</td>
                        <td>Whether or not to log each request</td>
                    </tr>
                     <tr>
                        <td>allow_versions</td>
                        <td>false</td>
                        <td>Whether to allow versions of
                        containers</td>
                    </tr>
 
                    <tr>
                        <td>node_timeout</td>
                        <td>10</td>
                        <td>Request timeout to external services</td>
                    </tr>
                    <tr>
                        <td>conn_timeout</td>
                        <td>0.5</td>
                        <td>Connection timeout to external services</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>container-server.conf Replicator Options in the [container-replicator] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>container-replicator</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>per_diff</td>
                        <td>1000</td>
                        <td>Limit number of items to get per diff</td>
                    </tr>
                    <tr>
                        <td>concurrency</td>
                        <td>8</td>
                        <td>Number of replication workers to spawn</td>
                    </tr>
                    <tr>
                        <td>run_pause</td>
                        <td>30</td>
                        <td>Time in seconds to wait between replication passes</td>
                    </tr>
                    <tr>
                        <td>node_timeout</td>
                        <td>10</td>
                        <td>Request timeout to external services</td>
                    </tr>
                    <tr>
                        <td>conn_timeout</td>
                        <td>0.5</td>
                        <td>Connection timeout to external services</td>
                    </tr>
                    <tr>
                        <td>reclaim_age</td>
                        <td>604800</td>
                        <td>Time elapsed in seconds before a container can be reclaimed</td>
                    </tr>
                    <tr>
                        <td>interval</td>
                        <td>30</td>
                        <td>Minimum time for a pass to take (s)</td>
                    </tr>
                    <tr>
                        <td>max_diffs</td>
                        <td>100</td>
                        <td>Caps how long the replicator spends trying to sync a database per pass</td>
                    </tr>
                    <tr>
                        <td>vm_test_mode</td>
                        <td>no</td>
                        <td>Indicates that you are using a VM environment</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>container-server.conf Updater Options in the [container-updater] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>container-updater</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>interval</td>
                        <td>300</td>
                        <td>Minimum time for a pass to take</td>
                    </tr>
                    <tr>
                        <td>concurrency</td>
                        <td>4</td>
                        <td>Number of updater workers to spawn</td>
                    </tr>
                    <tr>
                        <td>node_timeout</td>
                        <td>3</td>
                        <td>Request timeout to external services</td>
                    </tr>
                    <tr>
                        <td>conn_timeout</td>
                        <td>0.5</td>
                        <td>Connection timeout to external services</td>
                    </tr>
                    <tr>
                        <td>slowdown</td>
                        <td>0.01</td>
                        <td>Time in seconds to wait between containers</td>
                    </tr>
                    <tr>
                        <td>account_supression_time</td>
                        <td>60</td>
                        <td>Seconds to suppress updating an account that has generated an error
(timeout, not yet found, etc.)</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>container-server.conf Auditor Options in the [container-auditor] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>container-auditor</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>interval</td>
                        <td>1800</td>
                        <td>Minimum time for a pass to take</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>container-server.conf Sync Options in the [container-sync] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>container-sync</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>container_time</td>
                        <td>60</td>
                        <td>Maximum amount of time to spend syncing each container</td>
                    </tr>
                    <tr>
                        <td>sync_proxy</td>
                        <td></td>
                        <td>If you need to use an HTTP Proxy, set it here (eg http://127.0.0.1:8888); defaults to no proxy.</td>
                    </tr>
                </tbody>
            </table>
        </section>
        <section xml:id="account-server-configuration">
            <title>Account Server Configuration</title>
            <para>An example Account Server configuration can be found at
                etc/account-server.conf-sample in the source code repository.</para>
            <para>The following configuration options are available:</para>
            <table rules="all">
                <caption>account-server.conf Default Options in the [DEFAULT] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>swift_dir</td>
                        <td>/etc/swift</td>
                        <td>Swift configuration directory</td>
                    </tr>
                    <tr>
                        <td>devices</td>
                        <td>/srv/node</td>
                        <td>Parent directory or where devices are mounted</td>
                    </tr>
                    <tr>
                        <td>mount_check</td>
                        <td>true</td>
                        <td>Whether or not check if the devices are mounted to prevent accidentally
                            writing to the root device</td>
                    </tr>
                    <tr>
                        <td>bind_ip</td>
                        <td>0.0.0.0</td>
                        <td>IP Address for server to bind to</td>
                    </tr>
                    <tr>
                        <td>bind_port</td>
                        <td>6002</td>
                        <td>Port for server to bind to</td>
                    </tr>
                    <tr>
                        <td>workers</td>
                        <td>1</td>
                        <td>Number of workers to fork</td>
                    </tr>
                    <tr>
                        <td>user</td>
                        <td>swift</td>
                        <td>User to run as</td>
                    </tr>
                    <tr>
                        <td>backlog</td>
                        <td>4096</td>
                        <td>Maximum number of allowed pending TCP connections.</td>
                    </tr>
                    <tr>
                        <td>db_preallocation</td>
                        <td>true</td>
                        <td>preallocate disk space for new SQLite databases to decrease fragmentation</td>
                    </tr>
                    <tr>
                        <td>eventlet_debug</td>
                        <td>false</td>
                        <td>turn on debug logging for eventlet</td>
                    </tr>
                    <tr>
                        <td>disable_fallocate</td>
                        <td>false</td>
                        <td>Disable "fast fail" fallocate checks if the underlying filesystem does not support it.</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>account-server.conf Server Options in the [account-server] section</caption>
                <tbody >
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>use</td>
                        <td> </td>
                        <td>Entry point for paste.deploy for the account server. For most cases,
                            this should be <code>egg:swift#account</code>.</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>account-server</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>log_requests</td>
                        <td>true</td>
                        <td>Whether or not to log each request</td>
                    </tr>
                    <tr>
                        <td>auto_create_account_prefix</td>
                        <td>.</td>
                        <td>prefix used when automatically creating accounts</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>account-server.conf  Replicator Options in the [account-replicator] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>account-replicator</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>per_diff</td>
                        <td>1000</td>
                        <td>Limit number of items to get per diff</td>
                    </tr>
                    <tr>
                        <td>max_diffs</td>
                        <td>100</td>
                        <td>Caps how long the replicator spends trying to sync a database per pass</td>
                    </tr>


                    <tr>
                        <td>concurrency</td>
                        <td>8</td>
                        <td>Number of replication workers to spawn</td>
                    </tr>
                    <tr>
                        <td>run_pause</td>
                        <td>30</td>
                        <td>Time in seconds to wait between replication passes</td>
                    </tr>
                    <tr>
                        <td>node_timeout</td>
                        <td>10</td>
                        <td>Request timeout to external services</td>
                    </tr>
                    <tr>
                        <td>conn_timeout</td>
                        <td>0.5</td>
                        <td>Connection timeout to external services</td>
                    </tr>
                    <tr>
                        <td>reclaim_age</td>
                        <td>604800</td>
                        <td>Time elapsed in seconds before an account can be reclaimed</td>
                    </tr>
                    <tr>
                        <td>vm_test_mode</td>
                        <td>no</td>
                        <td>Indicates that you are using a VM environment</td>
                    </tr>
                    <tr>
                        <td>interval</td>
                        <td>30</td>
                        <td>Minimum time for a pass to take</td>
                    </tr>
                    <tr>
                        <td>error_suppression_interval</td>
                        <td>60</td>
                        <td>Time in seconds that must elapse since the last error for a node to be
                            considered no longer error limited</td>
                    </tr>
                    <tr>
                        <td>error_suppression_limit</td>
                        <td>10</td>
                        <td>Error count to consider a node error limited</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>account-server.conf Auditor Options in the [account-auditor] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>account-auditor</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>interval</td>
                        <td>1800</td>
                        <td>Minimum time for a pass to take</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>account-server.conf Reaper Options in the [account-reaper] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>delay_reaping</td>
                        <td>0</td>
                        <td>Number of seconds to delay reaper from deleting account info for deleted accounts. 2592000 = 30
                            days, for example</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>account-auditor</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>concurrency</td>
                        <td>25</td>
                        <td>Number of replication workers to spawn</td>
                    </tr>
                    <tr>
                        <td>interval</td>
                        <td>3600</td>
                        <td>Minimum time for a pass to take</td>
                    </tr>
                    <tr>
                        <td>node_timeout</td>
                        <td>10</td>
                        <td>Request timeout to external services</td>
                    </tr>
                    <tr>
                        <td>conn_timeout</td>
                        <td>0.5</td>
                        <td>Connection timeout to external services</td>
                    </tr>
                </tbody>
            </table>
        </section>
        <section xml:id="proxy-server-configuration">
            <title>Proxy Server Configuration</title>
            <para>An example Proxy Server configuration can be found at etc/proxy-server.conf-sample
                in the source code repository.</para>
            <para>The following configuration options are available:</para>
            <table rules="all">
                <caption>proxy-server.conf Default Options in the [DEFAULT] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>bind_ip</td>
                        <td>0.0.0.0</td>
                        <td>IP Address for server to bind to</td>
                    </tr>
                    <tr>
                        <td>bind_port</td>
                        <td>80</td>
                        <td>Port for server to bind to</td>
                    </tr>
                    <tr>
                        <td>swift_dir</td>
                        <td>/etc/swift</td>
                        <td>Swift configuration directory</td>
                    </tr>
                    <tr>
                        <td>workers</td>
                        <td>1</td>
                        <td>Number of workers to fork</td>
                    </tr>
                    <tr>
                        <td>user</td>
                        <td>swift</td>
                        <td>User to run as</td>
                    </tr>
                    <tr>
                        <td>cert_file</td><commit_msg>Add bind_timeout swift flag<commit_after><?xml version="1.0" encoding="UTF-8"?>
<section xmlns="http://docbook.org/ns/docbook"
    xmlns:xi="http://www.w3.org/2001/XInclude"
    xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
    xml:id="server-configuration-reference">
<title>Server Configuration Reference</title>
<para>Swift uses paste.deploy to manage server configurations. Default configuration
options are set in the <code>[DEFAULT]</code> section, and any options specified there
can be overridden in any of the other sections.</para>
        <section xml:id="object-server-configuration">
            <title>Object Server Configuration</title>
            <para>An Example Object Server configuration can be found at
                etc/object-server.conf-sample in the source code repository.</para>
            <para>The following configuration options are available:</para>
            
            <table rules="all">
                <caption>object-server.conf Default Options in the [DEFAULT] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>swift_dir</td>
                        <td>/etc/swift</td>
                        <td>Swift configuration directory</td>
                    </tr>
                    <tr>
                        <td>devices</td>
                        <td>/srv/node</td>
                        <td>Parent directory of where devices are mounted</td>
                    </tr>
                    <tr>
                        <td>mount_check</td>
                        <td>true</td>
                        <td>Whether or not check if the devices are mounted to prevent accidentally
                            writing to the root device</td>
                    </tr>
                    <tr>
                        <td>bind_ip</td>
                        <td>0.0.0.0</td>
                        <td>IP Address for server to bind to</td>
                    </tr>
                    <tr>
                        <td>bind_port</td>
                        <td>6000</td>
                        <td>Port for server to bind to</td>
                    </tr>
                    <tr>
                        <td>bind_timeout</td>
                        <td>30</td>
                        <td>Seconds to attempt bind before giving up</td>
                    </tr>
                    <tr>
                        <td>workers</td>
                        <td>1</td>
                        <td>Number of workers to fork</td>
                    </tr>
                    <tr>
                        <td>backlog</td>
                        <td>4096</td>
                        <td>Maximum number of allowed pending TCP connections.</td>
                    </tr>
                    <tr>
                        <td>expiring_objects_container_divisor</td>
                        <td>86400</td>
                        <td></td>
                    </tr>

                    <tr>
                        <td>log_name</td>
                        <td>swift</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                     <tr>
                        <td>user</td>
                        <td>swift</td>
                        <td>User to run as</td>
                    </tr>
                    <tr>
                        <td>db_preallocation</td>
                        <td>true</td>
                        <td>Preallocate disk space for new SQLite
                        databases to decrease fragmentation</td>
                    </tr>
                    <tr>
                        <td>eventlet_debug</td>
                        <td>false</td>
                        <td>Turn on debug logging for eventlet</td>
                    </tr>
                    <tr>
                        <td>disable_fallocate</td>
                        <td>false</td>
                        <td>Disable "fast fail" fallocate checks if the underlying filesystem does not support it.</td>
                    </tr>
                </tbody>
            </table>
         
            <table rules="all">
                <caption>object-server.conf Server Options in the [object-server] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>use</td>
                        <td> </td>
                        <td>The paste.deploy entry point for the
                        object server. For most cases, this should be
                            <code>egg:swift#object</code>.</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>object-server</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>log_requests</td>
                        <td>True</td>
                        <td>Whether or not to log each request</td>
                    </tr>
                    <tr>
                        <td>user</td>
                        <td>swift</td>
                        <td>User to run as</td>
                    </tr>
                    <tr>
                        <td>node_timeout</td>
                        <td>3</td>
                        <td>Request timeout to external services</td>
                    </tr>
                    <tr>
                        <td>conn_timeout</td>
                        <td>0.5</td>
                        <td>Connection timeout to external services</td>
                    </tr>
                    <tr>
                        <td>network_chunk_size</td>
                        <td>65536</td>
                        <td>Size of chunks to read/write over the network</td>
                    </tr>
                    <tr>
                        <td>disk_chunk_size</td>
                        <td>65536</td>
                        <td>Size of chunks to read/write to disk</td>
                    </tr>
                    <tr>
                        <td>max_upload_time</td>
                        <td>86400</td>
                        <td>Maximum time allowed to upload an object</td>
                    </tr>
                    <tr>
                        <td>slow</td>
                        <td>0</td>
                        <td>If &gt; 0, Minimum time in seconds for a PUT or DELETE request to
                            complete</td>
                    </tr>
                    <tr>
                        <td>auto_create_account_prefix</td>
                        <td>.</td>
                        <td>Prefix used when automatically creating
                        accounts</td>
                    </tr>
                    <tr>
                        <td>allowed_headers</td>
                        <td>content-disposition, content-encoding, x-delete-at, x-object-manifest,</td>
                        <td>Comma-separated list of headers that can
                        be set in metadata of an object</td>
                    </tr>
                    <tr>
                        <td>mb_per_sync</td>
                        <td>512</td>
                        <td>On PUTs, sync data every n MB</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>object-server.conf Replicator Options in the [object-replicator] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>object-replicator</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>daemonize</td>
                        <td>yes</td>
                        <td>Whether or not to run replication as a daemon</td>
                    </tr>
                    <tr>
                        <td>run_pause</td>
                        <td>30</td>
                        <td>Time in seconds to wait between replication passes</td>
                    </tr>
                    <tr>
                        <td>concurrency</td>
                        <td>1</td>
                        <td>Number of replication workers to spawn</td>
                    </tr>
                    <tr>
                        <td>timeout</td>
                        <td>5</td>
                        <td>Timeout value sent to rsync &#8211;timeout and &#8211;contimeout
                            options</td>
                    </tr>
                    <tr>
                        <td>http_timeout</td>
                        <td>60</td>
                        <td>Maximum duration for an HTTP request</td>
                    </tr>
                    <tr>
                        <td>lockup_timeout</td>
                        <td>1800</td>
                        <td>Attempts to kill all workers if nothing replicates for lockup_timeout seconds.</td>
                    </tr>
                    <tr>
                        <td>stats_interval</td>
                        <td>300</td>
                        <td>Interval in seconds between logging replication statistics</td>
                    </tr>
                    <tr>
                        <td>reclaim_age</td>
                        <td>604800</td>
                        <td>Time elapsed in seconds before an object can be reclaimed</td>
                    </tr>
                    <tr>
                        <td>recon_cache_path</td>
                        <td>/var/cache/swift</td>
                        <td>Directory where stats for a few items will be stored</td>
                    </tr>
                    <tr>
                        <td>recon_enable</td>
                        <td>no</td>
                        <td>Enable logging of replication stats for recon</td>
                    </tr>
                    <tr>
                        <td>ring_check_interval</td>
                        <td>15</td>
                        <td>How often (in seconds) to check the ring</td>
                    </tr>
                    <tr>
                        <td>rsync_io_timeout</td>
                        <td>30</td>
                        <td>Passed to rsync for max duration (seconds) of an I/O op</td>
                    </tr>
                    <tr>
                        <td>rsync_timeout</td>
                        <td>900</td>
                        <td>Max duration (seconds) of a partition rsync</td>
                    </tr>
                    <tr>
                        <td>vm_test_mode</td>
                        <td>no</td>
                        <td>Indicates that you are using a VM environment</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>object-server.conf Updater Options in the [object-updater] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>object-updater</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>interval</td>
                        <td>300</td>
                        <td>Minimum time for a pass to take</td>
                    </tr>
                    <tr>
                        <td>concurrency</td>
                        <td>1</td>
                        <td>Number of updater workers to spawn</td>
                    </tr>
                    <tr>
                        <td>node_timeout</td>
                        <td>10</td>
                        <td>Request timeout to external services</td>
                    </tr>
                    <tr>
                        <td>conn_timeout</td>
                        <td>0.5</td>
                        <td>Connection timeout to external services</td>
                    </tr>
                    <tr>
                        <td>slowdown</td>
                        <td>0.01</td>
                        <td>Time in seconds to wait between objects</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>object-server.conf Auditor Options in the [object-auditor] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>object-auditor</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>log_time</td>
                        <td>3600</td>
                        <td>Frequency of status logs in seconds.</td>
                    </tr>
                    <tr>
                        <td>files_per_second</td>
                        <td>20</td>
                        <td>Maximum files audited per second. Should be tuned according to
                            individual system specs. 0 is unlimited.</td>
                    </tr>
                    <tr>
                        <td>bytes_per_second</td>
                        <td>10000000</td>
                        <td>Maximum bytes audited per second. Should be tuned according to
                            individual system specs. 0 is unlimited.</td>
                    </tr>
                    <tr>
                        <td>zero_byte_files_per_second</td>
                        <td>50</td>
                        <td>Maximum zero byte files audited per second.</td>
                    </tr>
 

                </tbody>
            </table>
        </section>
        <section xml:id="container-server-configuration">
            <title>Container Server Configuration</title>
            <para>An example Container Server configuration can be found at
                etc/container-server.conf-sample in the source code repository.</para>
            <para>The following configuration options are available:</para>
            <table rules="all">
                <caption>container-server.conf Default Options in the [DEFAULT] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>swift_dir</td>
                        <td>/etc/swift</td>
                        <td>Swift configuration directory</td>
                    </tr>
                    <tr>
                        <td>devices</td>
                        <td>/srv/node</td>
                        <td>Parent directory of where devices are mounted</td>
                    </tr>
                    <tr>
                        <td>mount_check</td>
                        <td>true</td>
                        <td>Whether or not check if the devices are mounted to prevent accidentally
                            writing to the root device</td>
                    </tr>
                    <tr>
                        <td>bind_ip</td>
                        <td>0.0.0.0</td>
                        <td>IP Address for server to bind to</td>
                    </tr>
                    <tr>
                        <td>bind_port</td>
                        <td>6001</td>
                        <td>Port for server to bind to</td>
                    </tr>
                    <tr>
                        <td>bind_timeout</td>
                        <td>30</td>
                        <td>Seconds to attempt bind before giving up</td>
                    </tr>
                    <tr>
                        <td>workers</td>
                        <td>1</td>
                        <td>Number of workers to fork</td>
                    </tr>
                    <tr>
                        <td>user</td>
                        <td>swift</td>
                        <td>User to run as</td>
                    </tr>
                    <tr>
                        <td>db_preallocation</td>
                        <td>true</td>
                        <td>preallocate disk space for new SQLite databases to decrease fragmentation</td>
                    </tr>
                    <tr>
                        <td>eventlet_debug</td>
                        <td>false</td>
                        <td>turn on debug logging for eventlet</td>
                    </tr>
                    <tr>
                        <td>disable_fallocate</td>
                        <td>false</td>
                        <td>Disable "fast fail" fallocate checks if the underlying filesystem does not support it.</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>swift</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>auto_create_account_prefix</td>
                        <td>.</td>
                        <td>Prefix used when automatically creating
                        accounts</td>
                    </tr>
                    <tr>
                        <td>backlog</td>
                        <td>4096</td>
                        <td>Maximum number of allowed pending TCP connections.</td>
                    </tr>
                </tbody>
            </table>
            
            <table rules="all">
                <caption>container-server.conf Server Options in the [container-server] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>use</td>
                        <td> </td>
                        <td>The paste.deploy entry point for the
                        container server. For most cases, this should
                        be <code>egg:swift#container</code>.</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>container-server</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>log_requests</td>
                        <td>true</td>
                        <td>Whether or not to log each request</td>
                    </tr>
                     <tr>
                        <td>allow_versions</td>
                        <td>false</td>
                        <td>Whether to allow versions of
                        containers</td>
                    </tr>
 
                    <tr>
                        <td>node_timeout</td>
                        <td>10</td>
                        <td>Request timeout to external services</td>
                    </tr>
                    <tr>
                        <td>conn_timeout</td>
                        <td>0.5</td>
                        <td>Connection timeout to external services</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>container-server.conf Replicator Options in the [container-replicator] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>container-replicator</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>per_diff</td>
                        <td>1000</td>
                        <td>Limit number of items to get per diff</td>
                    </tr>
                    <tr>
                        <td>concurrency</td>
                        <td>8</td>
                        <td>Number of replication workers to spawn</td>
                    </tr>
                    <tr>
                        <td>run_pause</td>
                        <td>30</td>
                        <td>Time in seconds to wait between replication passes</td>
                    </tr>
                    <tr>
                        <td>node_timeout</td>
                        <td>10</td>
                        <td>Request timeout to external services</td>
                    </tr>
                    <tr>
                        <td>conn_timeout</td>
                        <td>0.5</td>
                        <td>Connection timeout to external services</td>
                    </tr>
                    <tr>
                        <td>reclaim_age</td>
                        <td>604800</td>
                        <td>Time elapsed in seconds before a container can be reclaimed</td>
                    </tr>
                    <tr>
                        <td>interval</td>
                        <td>30</td>
                        <td>Minimum time for a pass to take (s)</td>
                    </tr>
                    <tr>
                        <td>max_diffs</td>
                        <td>100</td>
                        <td>Caps how long the replicator spends trying to sync a database per pass</td>
                    </tr>
                    <tr>
                        <td>vm_test_mode</td>
                        <td>no</td>
                        <td>Indicates that you are using a VM environment</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>container-server.conf Updater Options in the [container-updater] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>container-updater</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>interval</td>
                        <td>300</td>
                        <td>Minimum time for a pass to take</td>
                    </tr>
                    <tr>
                        <td>concurrency</td>
                        <td>4</td>
                        <td>Number of updater workers to spawn</td>
                    </tr>
                    <tr>
                        <td>node_timeout</td>
                        <td>3</td>
                        <td>Request timeout to external services</td>
                    </tr>
                    <tr>
                        <td>conn_timeout</td>
                        <td>0.5</td>
                        <td>Connection timeout to external services</td>
                    </tr>
                    <tr>
                        <td>slowdown</td>
                        <td>0.01</td>
                        <td>Time in seconds to wait between containers</td>
                    </tr>
                    <tr>
                        <td>account_supression_time</td>
                        <td>60</td>
                        <td>Seconds to suppress updating an account that has generated an error
(timeout, not yet found, etc.)</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>container-server.conf Auditor Options in the [container-auditor] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>container-auditor</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>interval</td>
                        <td>1800</td>
                        <td>Minimum time for a pass to take</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>container-server.conf Sync Options in the [container-sync] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>container-sync</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>container_time</td>
                        <td>60</td>
                        <td>Maximum amount of time to spend syncing each container</td>
                    </tr>
                    <tr>
                        <td>sync_proxy</td>
                        <td></td>
                        <td>If you need to use an HTTP Proxy, set it here (eg http://127.0.0.1:8888); defaults to no proxy.</td>
                    </tr>
                </tbody>
            </table>
        </section>
        <section xml:id="account-server-configuration">
            <title>Account Server Configuration</title>
            <para>An example Account Server configuration can be found at
                etc/account-server.conf-sample in the source code repository.</para>
            <para>The following configuration options are available:</para>
            <table rules="all">
                <caption>account-server.conf Default Options in the [DEFAULT] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>swift_dir</td>
                        <td>/etc/swift</td>
                        <td>Swift configuration directory</td>
                    </tr>
                    <tr>
                        <td>devices</td>
                        <td>/srv/node</td>
                        <td>Parent directory or where devices are mounted</td>
                    </tr>
                    <tr>
                        <td>mount_check</td>
                        <td>true</td>
                        <td>Whether or not check if the devices are mounted to prevent accidentally
                            writing to the root device</td>
                    </tr>
                    <tr>
                        <td>bind_ip</td>
                        <td>0.0.0.0</td>
                        <td>IP Address for server to bind to</td>
                    </tr>
                    <tr>
                        <td>bind_port</td>
                        <td>6002</td>
                        <td>Port for server to bind to</td>
                    </tr>
                    <tr>
                        <td>bind_timeout</td>
                        <td>30</td>
                        <td>Seconds to attempt bind before giving up</td>
                    </tr>
                    <tr>
                        <td>workers</td>
                        <td>1</td>
                        <td>Number of workers to fork</td>
                    </tr>
                    <tr>
                        <td>user</td>
                        <td>swift</td>
                        <td>User to run as</td>
                    </tr>
                    <tr>
                        <td>backlog</td>
                        <td>4096</td>
                        <td>Maximum number of allowed pending TCP connections.</td>
                    </tr>
                    <tr>
                        <td>db_preallocation</td>
                        <td>true</td>
                        <td>preallocate disk space for new SQLite databases to decrease fragmentation</td>
                    </tr>
                    <tr>
                        <td>eventlet_debug</td>
                        <td>false</td>
                        <td>turn on debug logging for eventlet</td>
                    </tr>
                    <tr>
                        <td>disable_fallocate</td>
                        <td>false</td>
                        <td>Disable "fast fail" fallocate checks if the underlying filesystem does not support it.</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>account-server.conf Server Options in the [account-server] section</caption>
                <tbody >
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>use</td>
                        <td> </td>
                        <td>Entry point for paste.deploy for the account server. For most cases,
                            this should be <code>egg:swift#account</code>.</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>account-server</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>log_requests</td>
                        <td>true</td>
                        <td>Whether or not to log each request</td>
                    </tr>
                    <tr>
                        <td>auto_create_account_prefix</td>
                        <td>.</td>
                        <td>prefix used when automatically creating accounts</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>account-server.conf  Replicator Options in the [account-replicator] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>account-replicator</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>per_diff</td>
                        <td>1000</td>
                        <td>Limit number of items to get per diff</td>
                    </tr>
                    <tr>
                        <td>max_diffs</td>
                        <td>100</td>
                        <td>Caps how long the replicator spends trying to sync a database per pass</td>
                    </tr>


                    <tr>
                        <td>concurrency</td>
                        <td>8</td>
                        <td>Number of replication workers to spawn</td>
                    </tr>
                    <tr>
                        <td>run_pause</td>
                        <td>30</td>
                        <td>Time in seconds to wait between replication passes</td>
                    </tr>
                    <tr>
                        <td>node_timeout</td>
                        <td>10</td>
                        <td>Request timeout to external services</td>
                    </tr>
                    <tr>
                        <td>conn_timeout</td>
                        <td>0.5</td>
                        <td>Connection timeout to external services</td>
                    </tr>
                    <tr>
                        <td>reclaim_age</td>
                        <td>604800</td>
                        <td>Time elapsed in seconds before an account can be reclaimed</td>
                    </tr>
                    <tr>
                        <td>vm_test_mode</td>
                        <td>no</td>
                        <td>Indicates that you are using a VM environment</td>
                    </tr>
                    <tr>
                        <td>interval</td>
                        <td>30</td>
                        <td>Minimum time for a pass to take</td>
                    </tr>
                    <tr>
                        <td>error_suppression_interval</td>
                        <td>60</td>
                        <td>Time in seconds that must elapse since the last error for a node to be
                            considered no longer error limited</td>
                    </tr>
                    <tr>
                        <td>error_suppression_limit</td>
                        <td>10</td>
                        <td>Error count to consider a node error limited</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>account-server.conf Auditor Options in the [account-auditor] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>account-auditor</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>interval</td>
                        <td>1800</td>
                        <td>Minimum time for a pass to take</td>
                    </tr>
                </tbody>
            </table>
            <table rules="all">
                <caption>account-server.conf Reaper Options in the [account-reaper] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>delay_reaping</td>
                        <td>0</td>
                        <td>Number of seconds to delay reaper from deleting account info for deleted accounts. 2592000 = 30
                            days, for example</td>
                    </tr>
                    <tr>
                        <td>log_name</td>
                        <td>account-auditor</td>
                        <td>Label used when logging</td>
                    </tr>
                    <tr>
                        <td>log_facility</td>
                        <td>LOG_LOCAL0</td>
                        <td>Syslog log facility</td>
                    </tr>
                    <tr>
                        <td>log_level</td>
                        <td>INFO</td>
                        <td>Logging level</td>
                    </tr>
                    <tr>
                        <td>concurrency</td>
                        <td>25</td>
                        <td>Number of replication workers to spawn</td>
                    </tr>
                    <tr>
                        <td>interval</td>
                        <td>3600</td>
                        <td>Minimum time for a pass to take</td>
                    </tr>
                    <tr>
                        <td>node_timeout</td>
                        <td>10</td>
                        <td>Request timeout to external services</td>
                    </tr>
                    <tr>
                        <td>conn_timeout</td>
                        <td>0.5</td>
                        <td>Connection timeout to external services</td>
                    </tr>
                </tbody>
            </table>
        </section>
        <section xml:id="proxy-server-configuration">
            <title>Proxy Server Configuration</title>
            <para>An example Proxy Server configuration can be found at etc/proxy-server.conf-sample
                in the source code repository.</para>
            <para>The following configuration options are available:</para>
            <table rules="all">
                <caption>proxy-server.conf Default Options in the [DEFAULT] section</caption>
                <tbody>
                    <tr>
                        <td>Option</td>
                        <td>Default</td>
                        <td>Description</td>
                    </tr>
                    <tr>
                        <td>bind_ip</td>
                        <td>0.0.0.0</td>
                        <td>IP Address for server to bind to</td>
                    </tr>
                    <tr>
                        <td>bind_port</td>
                        <td>80</td>
                        <td>Port for server to bind to</td>
                    </tr>
                    <tr>
                        <td>bind_timeout</td>
                        <td>30</td>
                        <td>Seconds to attempt bind before giving up</td>
                    </tr>
                    <tr>
                        <td>swift_dir</td>
                        <td>/etc/swift</td>
                        <td>Swift configuration directory</td>
                    </tr>
                    <tr>
                        <td>workers</td>
                        <td>1</td>
                        <td>Number of workers to fork</td>
                    </tr>
                    <tr>
                        <td>user</td>
                        <td>swift</td>
                        <td>User to run as</td>
                    </tr>
                    <tr>
                        <td>cert_file</td>
{'fraction_non_alphanumeric': 0.10077323727141317, 'fraction_numerical': 0.006309799692540669, 'mean_word_length': 0.6999570949372026, 'pattern_counts': {'":': 0, '<': 3211, '<?xml version=': 2, '>': 3211, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 18}, 'pii_count': 10, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2018867', 'n_tokens_mistral': 21837, 'n_tokens_neox': 19434, 'n_words': 4388}