Skip to content

Instantly share code, notes, and snippets.

View damm's full-sized avatar

Scott M. Likens damm

  • Seattle, Washington USA
View GitHub Profile
[15:36] <janzo> (ES1.7) can someone help me understand segements/merges and if i have too many
segements? My nodes seem to be overloading due to this merging. In the stats it
says i have 518 segments, with memory": "2.5gb", my index's take up 50gigs+
[15:37] <janzo> under merges: "merges": { "current": 4, "current_docs": 20580852,
"current_size": "10.1gb", "current_size_in_bytes": 0894090494, "total":
466
### Keybase proof
I hereby claim:
* I am damm on github.
* I am damm (https://keybase.io/damm) on keybase.
* I have a public key whose fingerprint is 0698 3E59 0FAC 603B FEBF 80EE 2609 1D8B CD51 3E23
To claim this, I am signing this object:
@damm
damm / gist:5130887
Created March 10, 2013 22:57
test-kitchen failing due to github rate limiting
-----> Setting up <carbontest-precise>
Could not access https://api.github.com/repos/opscode/kb/git/refs/tags (403 "Forbidden")
sudo: /opt/kb/bin/kb: command not found
>>>>>> Kitchen::Instance crashed!
Kitchen::ActionFailed: SSH exited (1) for command: [sudo /opt/chef/embedded/bin/ruby -e "$(cat <<"EOF"
# -*- encoding: utf-8 -*-
require "chef/rest"
require "chef/platform"
require "fileutils"
log_level :error
#log_location STDOUT
file_cache_path "/srv/chef/cache"
ssl_verify_mode :verify_none
registration_url "http://127.0.0.1:4000"
openid_url "http://127.0.0.1:4000"
template_url "http://127.0.0.1:4000"
remotefile_url "http://127.0.0.1:4000"
search_url "http://127.0.0.1:4000"
@damm
damm / chef.json
Created December 15, 2009 02:02 — forked from learnist/chef.json
{
"bootstrap": {
"chef": {
"url_type": "http",
"init_style": "init",
"server_fqdn": "ec2-174-129-61-113.compute-1.amazonaws.com",
},
"recipes": "bootstrap::client"
}
}
log_level :error
log_location STDOUT
file_cache_path "/srv/chef/cache"
ssl_verify_mode :verify_none
registration_url "http://127.0.0.1:4000"
openid_url "http://127.0.0.1:4000"
template_url "http://127.0.0.1:4000"
remotefile_url "http://127.0.0.1:4000"
search_url "http://127.0.0.1:4000"
gettimeofday({1260206232, 138816}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {46338, 896688028}) = 0
clock_gettime(CLOCK_MONOTONIC, {46338, 896746302}) = 0
select(13, [3 8 11], [], [5 6], {0, 89941}) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {46338, 986995301}) = 0
select(13, [3 8 11], [], [5 6], {0, 0}) = 0 (Timeout)
gettimeofday({1260206232, 229313}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {46338, 987178691}) = 0
clock_gettime(CLOCK_MONOTONIC, {46338, 987236687}) = 0
select(13, [3 8 11], [], [5 6], {0, 89942}) = 0 (Timeout)
libohai-ruby1.8:
Installed: 0.3.6-1
Candidate: 0.3.6-1
Version table:
*** 0.3.6-1 0
500 http://apt.opscode.com jaunty/universe Packages
100 /var/lib/dpkg/status
[Thu, 03 Dec 2009 23:50:20 -0500] ERROR: remote_directory[/var/www/mod_base] (/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/lib/chef/mixin/recipe_definition_dsl_core.rb line 56) had an error:
404 "Not Found"
/usr/lib/ruby/1.8/net/http.rb:2097:in `error!'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/rest.rb:281:in `run_request'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/rest.rb:99:in `get_rest'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/provider/remote_directory.rb:52:in `do_recursive'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/provider/remote_directory.rb:40:in `action_create'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/runner.rb:61:in `send'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/runner.rb:61:in `run_action'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/runner.rb:111:in `converge'
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.alf.useragent</string>
<key>MachServices</key>
<dict>
<key>com.apple.alf.useragent</key>
<true/>
</dict>