Hi, Eki.

This is a side-effect of Fauna's throwing exceptions for errors that would just 
show up as misses in memcache-client. I've fixed this and it's in testing in a 
gem called memcached-northscale. You still use "require 'Memcached'", just use 
memcached-northscale instead of memcached in your gem.

Once I get feedback that it a) solves the problem and b) doesn't cause other 
problems, I'll get it incorporated into Fauna.

Thanks!
-Sean

On Jun 24, 2010, at 3:46 AM, Eki wrote:

> Hi guys ,
> I'm trying to use memcached with my application , I followed the
> official instructions to do so but still not working ,
> the error msg is something like this :
> 
> Memcached::ServerIsMarkedDead (Key
> {"country_x_y_z"=>"127.0.0.1:11211:8"}):
>  memcached (0.19.7) lib/memcached/memcached.rb:609:in
> `check_return_code'
>  memcached (0.19.7) lib/memcached/memcached.rb:515:in `get'
>  memcached (0.19.7) lib/memcached/rails.rb:39:in `get'
>  app/controllers/prayer_times_controller.rb:9:in `index'
>  /home/heroku_rack/lib/static_assets.rb:9:in `call'
>  /home/heroku_rack/lib/last_access.rb:25:in `call'
>  /home/heroku_rack/lib/date_header.rb:14:in `call'
>  thin (1.0.1) lib/thin/connection.rb:80:in `pre_process'
>  thin (1.0.1) lib/thin/connection.rb:78:in `catch'
>  thin (1.0.1) lib/thin/connection.rb:78:in `pre_process'
>  thin (1.0.1) lib/thin/connection.rb:57:in `process'
>  thin (1.0.1) lib/thin/connection.rb:42:in `receive_data'
>  eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine'
>  eventmachine (0.12.6) lib/eventmachine.rb:240:in `run'
>  thin (1.0.1) lib/thin/backends/base.rb:57:in `start'
>  thin (1.0.1) lib/thin/server.rb:150:in `start'
>  thin (1.0.1) lib/thin/controllers/controller.rb:80:in `start'
>  thin (1.0.1) lib/thin/runner.rb:173:in `send'
>  thin (1.0.1) lib/thin/runner.rb:173:in `run_command'
>  thin (1.0.1) lib/thin/runner.rb:139:in `run!'
>  thin (1.0.1) bin/thin:6
>  /usr/local/bin/thin:20:in `load'
>  /usr/local/bin/thin:20
> 
> Rendering /disk1/home/slugs/212292_698e4ed_e2ba/mnt/public/500.html
> (500 Internal Server Error)
> 
> Any help will b highly appreciated .
> Hope to hear from you soon guys .
> 
> Cheers
> Eki
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To post to this group, send email to her...@googlegroups.com.
> To unsubscribe from this group, send email to 
> heroku+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/heroku?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to