Skip to content

Instantly share code, notes, and snippets.

View shun0102's full-sized avatar

Shusuke Mikami shun0102

View GitHub Profile
<match **>
type forward
buffer_chunk_limit 8MB
<server>
host lle11
</server>
#about 10mins
retry_limit 9
<secondary>
<server>
@shun0102
shun0102 / deploy.rb
Created May 22, 2012 11:46
td-agentデプロイ用のcapistranoレシピ
set :config_file, "config/upload/fluent_#{stage}.conf"
set :fluent_plugins, ["file-alternative", "mongo"]
namespace :td do
task :start, :roles => :fluentd do
run "#{try_sudo} /etc/init.d/td-agent start"
end
task :stop, :roles => :fluentd do
run "#{try_sudo} /etc/init.d/td-agent stop"
@shun0102
shun0102 / gist:2476820
Created April 24, 2012 05:38
fluent-logger error
dyld: lazy symbol binding failed: Symbol not found: _yajl_set_static_value
Referenced from: /Users/mikami/.rvm/gems/ruby-1.9.3-p125/gems/yajl-ruby-1.0.0/lib/yajl/yajl.bundle
Expected in: flat namespace
dyld: Symbol not found: _yajl_set_static_value
Referenced from: /Users/mikami/.rvm/gems/ruby-1.9.3-p125/gems/yajl-ruby-1.0.0/lib/yajl/yajl.bundle
Expected in: flat namespace