Advertisement
Guest User

Untitled

a guest
Feb 4th, 2016
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.68 KB | None | 0 0
  1. [DEFAULT]
  2. # bind_ip = 0.0.0.0
  3. bind_port = 6002
  4. # bind_timeout = 30
  5. # backlog = 4096
  6. # user = swift
  7. # swift_dir = /etc/swift
  8. devices = /srv/node/
  9. # mount_check = tru
  10. # disable_fallocate = false
  11. #
  12. # Use an integer to override the number of pre-forked processes that will
  13. # accept connections.
  14. # workers = auto
  15. #
  16. # Maximum concurrent requests per worker
  17. # max_clients = 1024
  18. #
  19. # You can specify default log routing here if you want:
  20. # log_name = swift
  21. # log_facility = LOG_LOCAL0
  22. # log_level = INFO
  23. # log_address = /dev/log
  24. # The following caps the length of log lines to the value given; no limit if
  25. # set to 0, the default.
  26. # log_max_line_length = 0
  27. #
  28. # comma separated list of functions to call to setup custom log handlers.
  29. # functions get passed: conf, name, log_to_console, log_route, fmt, logger,
  30. # adapted_logger
  31. # log_custom_handlers =
  32. #
  33. # If set, log_udp_host will override log_address
  34. # log_udp_host =
  35. # log_udp_port = 514
  36. #
  37. # You can enable StatsD logging here:
  38. # log_statsd_host = localhost
  39. # log_statsd_port = 8125
  40. # log_statsd_default_sample_rate = 1.0
  41. # log_statsd_sample_rate_factor = 1.0
  42. # log_statsd_metric_prefix =
  43. #
  44. # If you don't mind the extra disk space usage in overhead, you can turn this
  45. # on to preallocate disk space with SQLite databases to decrease fragmentation.
  46. # db_preallocation = off
  47. #
  48. # eventlet_debug = false
  49. #
  50. # You can set fallocate_reserve to the number of bytes you'd like fallocate to
  51. # reserve, whether there is space for the given file size or not.
  52. # fallocate_reserve = 0
  53.  
  54. [pipeline:main]
  55. pipeline = healthcheck recon account-server
  56.  
  57. [app:account-server]
  58. use = egg:swift#account
  59. # You can override the default log routing for this app here:
  60. # set log_name = account-server
  61. # set log_facility = LOG_LOCAL0
  62. # set log_level = INFO
  63. # set log_requests = true
  64. # set log_address = /dev/log
  65. #
  66. # auto_create_account_prefix = .
  67. #
  68. # Configure parameter for creating specific server
  69. # To handle all verbs, including replication verbs, do not specify
  70. # "replication_server" (this is the default). To only handle replication,
  71. # set to a True value (e.g. "True" or "1"). To handle only non-replication
  72. # verbs, set to "False". Unless you have a separate replication network, you
  73. # should not specify any value for "replication_server". Default is empty.
  74. # replication_server = false
  75.  
  76. [filter:healthcheck]
  77. use = egg:swift#healthcheck
  78. # An optional filesystem path, which if present, will cause the healthcheck
  79. # URL to return "503 Service Unavailable" with a body of "DISABLED BY FILE"
  80. # disable_path =
  81.  
  82. [filter:recon]
  83. use = egg:swift#recon
  84. recon_cache_path = /var/cache/swift
  85.  
  86. [account-replicator]
  87. # You can override the default log routing for this app here (don't use set!):
  88. # log_name = account-replicator
  89. # log_facility = LOG_LOCAL0
  90. # log_level = INFO
  91. # log_address = /dev/log
  92. #
  93. # Maximum number of database rows that will be sync'd in a single HTTP
  94. # replication request. Databases with less than or equal to this number of
  95. # differing rows will always be sync'd using an HTTP replication request rather
  96. # than using rsync.
  97. # per_diff = 1000
  98. #
  99. # Maximum number of HTTP replication requests attempted on each replication
  100. # pass for any one container. This caps how long the replicator will spend
  101. # trying to sync a given database per pass so the other databases don't get
  102. # starved.
  103. # max_diffs = 100
  104. #
  105. # Number of replication workers to spawn.
  106. # concurrency = 8
  107. #
  108. # Time in seconds to wait between replication passes
  109. # interval = 30
  110. # run_pause is deprecated, use interval instead
  111. # run_pause = 30
  112. #
  113. # node_timeout = 10
  114. # conn_timeout = 0.5
  115. #
  116. # The replicator also performs reclamation
  117. # reclaim_age = 604800
  118. #
  119. # Allow rsync to compress data which is transmitted to destination node
  120. # during sync. However, this is applicable only when destination node is in
  121. # a different region than the local one.
  122. # rsync_compress = no
  123. #
  124. # Format of the rysnc module where the replicator will send data. See
  125. # etc/rsyncd.conf-sample for some usage examples.
  126. # rsync_module = {replication_ip}::account
  127. #
  128. # recon_cache_path = /var/cache/swift
  129.  
  130. [account-auditor]
  131. # You can override the default log routing for this app here (don't use set!):
  132. # log_name = account-auditor
  133. # log_facility = LOG_LOCAL0
  134. # log_level = INFO
  135. # log_address = /dev/log
  136. #
  137. # Will audit each account at most once per interval
  138. # interval = 1800
  139. #
  140. # accounts_per_second = 200
  141. # recon_cache_path = /var/cache/swift
  142.  
  143. [account-reaper]
  144. # You can override the default log routing for this app here (don't use set!):
  145. # log_name = account-reaper
  146. # log_facility = LOG_LOCAL0
  147. # log_level = INFO
  148. # log_address = /dev/log
  149. #
  150. # concurrency = 25
  151. # interval = 3600
  152. # node_timeout = 10
  153. # conn_timeout = 0.5
  154. #
  155. # Normally, the reaper begins deleting account information for deleted accounts
  156. # immediately; you can set this to delay its work however. The value is in
  157. # seconds; 2592000 = 30 days for example.
  158. # delay_reaping = 0
  159. #
  160. # If the account fails to be be reaped due to a persistent error, the
  161. # account reaper will log a message such as:
  162. # Account <name> has not been reaped since <date>
  163. # You can search logs for this message if space is not being reclaimed
  164. # after you delete account(s).
  165. # Default is 2592000 seconds (30 days). This is in addition to any time
  166. # requested by delay_reaping.
  167. # reap_warn_after = 2592000
  168.  
  169. # Note: Put it at the beginning of the pipeline to profile all middleware. But
  170. # it is safer to put this after healthcheck.
  171. [filter:xprofile]
  172. use = egg:swift#xprofile
  173. # This option enable you to switch profilers which should inherit from python
  174. # standard profiler. Currently the supported value can be 'cProfile',
  175. # 'eventlet.green.profile' etc.
  176. # profile_module = eventlet.green.profile
  177. #
  178. # This prefix will be used to combine process ID and timestamp to name the
  179. # profile data file. Make sure the executing user has permission to write
  180. # into this path (missing path segments will be created, if necessary).
  181. # If you enable profiling in more than one type of daemon, you must override
  182. # it with an unique value like: /var/log/swift/profile/account.profile
  183. # log_filename_prefix = /tmp/log/swift/profile/default.profile
  184. #
  185. # the profile data will be dumped to local disk based on above naming rule
  186. # in this interval.
  187. # dump_interval = 5.0
  188. #
  189. # Be careful, this option will enable profiler to dump data into the file with
  190. # time stamp which means there will be lots of files piled up in the directory.
  191. # dump_timestamp = false
  192. #
  193. # This is the path of the URL to access the mini web UI.
  194. # path = /__profile__
  195. #
  196. # Clear the data when the wsgi server shutdown.
  197. # flush_at_shutdown = false
  198. #
  199. # unwind the iterator of applications
  200. # unwind = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement