mperham/dalli — Issue #130: Dalli::RingError: No server available
Author: pejuko
Created: 2011-10-25 13:50:25+00:00
State: open

dalli 1.1.2
memcached 1.4.7

$ memcached-tool localhost:11211
# Item_Size Max_age Pages Count Full? Evicted Evict_Time OOM
1 96B 1547s 1 1 no 0 0 0

require 'dalli'
dc = Dalli::Client.new('localhost:11211')
dc.set('abc', 123)

I, [2011-10-25T15:44:42.672513 #13650] INFO -- : localhost:11211 failed (count: 0)
Dalli::RingError: No server available
from /home/petr/.rvm/gems/ruby-1.9.2-p290/gems/dalli-1.1.2/lib/dalli/ring.rb:45:in `server_for_key'
from /home/petr/.rvm/gems/ruby-1.9.2-p290/gems/dalli-1.1.2/lib/dalli/client.rb:251:in `perform'
from /home/petr/.rvm/gems/ruby-1.9.2-p290/gems/dalli-1.1.2/lib/dalli/client.rb:132:in `set'
from (irb):3
from /home/petr/.rvm/rubies/ruby-1.9.2-p290/bin/irb:16:in `

'