<commit_before>name "tile"
description "Role applied to all tile servers"

default_attributes(
  :accounts => {
    :users => {
      :tile => {
        :status => :role,
        :members => [ :jburgess, :tomh ]
      },
    },
  },
  :apt => {
    :sources => [ "ubuntugis-stable" ]
  },
  :postgresql => {
    :versions => [ "9.1" ],
    :settings => {
      :defaults => {
        :temp_buffers => "32MB",
        :work_mem => "128MB",
        :wal_buffers => "1024kB",
        :wal_writer_delay => "500ms",
        :commit_delay => "10000",<commit_msg>Tile role: tune apache (mpm event, max clients etc)<commit_after>name "tile"
description "Role applied to all tile servers"

default_attributes(
  :accounts => {
    :users => {
      :tile => {
        :status => :role,
        :members => [ :jburgess, :tomh ]
      },
    },
  },
  :apache => {
    :mpm => "event",
    :timeout => 60,
    :event => {
      :max_clients => 1200,
      :threads_per_child => 20,
      :server_limit => 40,
      :min_spare_threads => 30,
      :max_spare_threads => 180,
      :max_requests_per_child => 100000
    }
  },
  :apt => {
    :sources => [ "ubuntugis-stable" ]
  },
  :postgresql => {
    :versions => [ "9.1" ],
    :settings => {
      :defaults => {
        :temp_buffers => "32MB",
        :work_mem => "128MB",
        :wal_buffers => "1024kB",
        :wal_writer_delay => "500ms",
        :commit_delay => "10000",
{'fraction_non_alphanumeric': 0.17964912280701753, 'fraction_numerical': 0.041403508771929824, 'mean_word_length': 2.190156599552573, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, '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': '6907755', 'n_tokens_mistral': 548, 'n_tokens_neox': 496, 'n_words': 97}