Same questions here !
How can i know how much much of the memcache bucket is used ?
Thanks,
Vincent
Le mercredi 16 février 2011 21:40:56 UTC+1, Kevin a écrit :
>
> I have memcache up and running on Heroku using the dalli gem. I'm on
> the 5 MB free plan. I'd like to know if that is enough, or if I should
> upgrade. When I run Rails.cache.stats, I get this:
>
> {"mc3.ec2.northscale.net:11211"=>{"bytes"=>"20762798",
> "cas_misses"=>"0", "delete_hits"=>"0", "get_hits"=>"443294",
> "rusage_system"=>"48280.750000", "pid"=>"7601", "cas_hits"=>"0",
> "incr_misses"=>"0", "connection_structures"=>"10103",
> "evictions"=>"95246", "threads"=>"4", "limit_maxbytes"=>"67108864",
> "incr_hits"=>"0", "cmd_flush"=>"34", "decr_misses"=>"0",
> "pointer_size"=>"64", "daemon_connections"=>"10",
> "time"=>"1297888580", "conn_yields"=>"0",
> "engine_maxbytes"=>"5242880", "version"=>"1.4.4_188_g0117a2c",
> "total_items"=>"490690", "bytes_written"=>"1678901453",
> "rejected_conns"=>"54903", "decr_hits"=>"0", "delete_misses"=>"0",
> "cmd_get"=>"552048", "total_connections"=>"26236663",
> "curr_connections"=>"1490", "uptime"=>"5843755", "auth_cmds"=>"524",
> "cmd_set"=>"490690", "rusage_user"=>"1522.710896",
> "curr_items"=>"14794", "bytes_read"=>"399468629", "cas_badval"=>"0",
> "get_misses"=>"108754"}}
>
> The only number that makes sense is "engine_maxbytes", which seems to
> be around 5MB. The other numbers seem to include usage from other
> clients as well, i.e. I seem to be sharing this memcache instance with
> others. For example, I'm sure I don't have 14794 items ("curr_items"),
> my actual usage is more like 20.
>
> Does anybody have experience how to get accurate memcache statistics
> on Heroku?
>
> Thanks!
> Kevin
--
You received this message because you are subscribed to the Google
Groups "Heroku" group.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en