Chris, are you seeing these errors on a regular basis? What is the
path to resolution?
I'll have to dig deeper, but the NoMemoryError: failed to allocate
memory error doesn't seem like a response coming from the server, is
it possible your client code ran out of memory?
Perry
On Jul 26, 8:21 am, chris mcclellan...@gmail.com wrote:
Alright, maybe the memcached-northscale gem isn't working as expected.
Got some strange errors over the weekend:
NoMemoryError: failed to allocate memory
.bundle/gems/gems/memcached-northscale-0.19.5.3/lib/memcached/
memcached.rb:309:in `dump'
.bundle/gems/gems/memcached-northscale-0.19.5.3/lib/memcached/
memcached.rb:309:in `set'
.bundle/gems/gems/memcached-northscale-0.19.5.3/lib/memcached/rails.rb:
72:in `set'
.bundle/gems/gems/activesupport-2.3.8/lib/active_support/cache/
mem_cache_store.rb:82:in `write'
.bundle/gems/gems/activesupport-2.3.8/lib/active_support/cache/
strategy/local_cache.rb:51:in `write'
.bundle/gems/gems/activesupport-2.3.8/lib/active_support/cache.rb:
165:in `fetch'
What we're caching shouldn't come anywhere close the max key size in
memcached.
Also got some of these:
Memcached::ServerIsMarkedDead: Key {Product:
754:1=mc2.ec2.northscale.net:11211:8, Product:
756:1=mc2.ec2.northscale.net:11211:8, Product:
979:1=mc2.ec2.northscale.net:11211:8, Product:
978:1=mc2.ec2.northscale.net:11211:8, Product:
980:1=mc2.ec2.northscale.net:11211:8}
.bundle/gems/gems/memcached-northscale-0.19.5.3/lib/memcached/
memcached.rb:604:in `check_return_code'
.bundle/gems/gems/memcached-northscale-0.19.5.3/lib/memcached/
memcached.rb:502:in `get'
.bundle/gems/gems/memcached-northscale-0.19.5.3/lib/memcached/rails.rb:
67:in `get_multi'
.bundle/gems/gems/activesupport-2.3.8/lib/active_support/cache/
mem_cache_store.rb:58:in `read_multi'
Any help/suggestions?
Thanks,
Chris
On Jun 29, 12:24 pm, Sean Lynch se...@literati.org wrote:
I've sent a pull request to Fauna so hopefully the changes I have
inmemcached-northscale will be in the real gem soon. Unfortunately, I
can't really help with making Rails find the right gem, though; I'm a C++,
Python, and Erlang guy mostly ;-)
On Jun 29, 2010, at 7:47 AM, shenry wrote:
I've got the same occasional error, and tried to usememcached-
northscale but Rails couldn't find the gem on my machine. In
environment.rd I tried
config.gem 'memcached-northscale' # replaces config.gem 'memcached'
But no luck. I have thememcached-northscale gem version 0.19.5.2
installed locally, what am I missing? TIA
On Jun 17, 1:18 pm, chris mcclellan...@gmail.com wrote:
This nortchscale-memcachedgem has been working great for me in
production over the last few days.
Thanks! Heroku docs should be updated to point to this gem...
On Jun 16, 1:42 pm, Perry Krug perryk...@gmail.com wrote:
Hi Chris,
We believe that these issues are caused by bugs in the default
memcachedlibrary in the Gem. Can you change over to the 'memcached-
northscale' library? You should just be able to replace 'memcached'
with 'northscale-memcached' in the Gemfile. Leave the Memcached for
the required field.
Let me know if that helps or if there's anything else that I can do to
help.
Perry Krug
NorthScale, Inc.
On Jun 15, 3:36 pm, opsb oll...@googlemail.com wrote:
Hey
I've been seeing the same problem. Where I can get hold of your
memcached-northscale gem?
Cheers,
Olly
On Jun 8, 9:31 pm, Sean Lynch se...@literati.org wrote:
On Jun 8, 2010, at 10:11 AM, chris wrote:
Hey y'all,
I'm getting an occasionalMemcached::ServerIsMarkedDeaderror when
folks hit the app. It seems to work fine if I wait a while or just
restart the app.
What do you guys do to catch this error? begin rescue retry? fail
gracefully (somehow?)?
Hi, Chris.
I've made some modifications to Fauna's memcache-client compatibility
layer, because memcache-client never throws exceptions whereas the
compatibility layer is (which is why you're seeing these). I've
uploaded a test gem as memcached-northscale, and once I hear back
from people that it actually works and solves their issues, I'll
submit the modifications upstream.
-Sean
--
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
athttp://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.