Memcached monitoring


(S Spalding) #1

We're about to move the Matrix cache into memcached (sessions are already in there).


I'm wondering what would be some useful metrics to monitor?


(Edison Wang) #2

I’m not sure what kind of metrics you are looking for.


If it is user experience, I think you can use Performance Mode ( available since 4.4.2, use _performance suffix in url) to get idea of front end performance metrics.


(S Spalding) #3

I meant memcached metrics.


Some of these have to be useful/important:


memcached-tool mc1:11211 stats

#mc1:11211 Field Value

accepting_conns 1

auth_cmds 0

auth_errors 0

bytes 892459846

bytes_read 28377751329

bytes_written 21755941698

cas_badval 0

cas_hits 0

cas_misses 0

cmd_flush 0

cmd_get 6243985

cmd_set 6243987

conn_yields 0

connection_structures 318

curr_connections 77

curr_items 279512

decr_hits 0

decr_misses 0

delete_hits 0

delete_misses 0

evictions 3811212

get_hits 4197440

get_misses 2046545

incr_hits 0

incr_misses 0

limit_maxbytes 1073741824

listen_disabled_num 0

pid 6847

pointer_size 64

reclaimed 759

repcached_qi_free 8187

repcached_version 2.2

replication MASTER

rusage_system 649.443269

rusage_user 482.584635

threads 4

time 1320656217

total_connections 8013

total_items 12996330

uptime 4134427

version 1.4.5


(Rwahyudi) #4

It really depends on what information you after.




I use cacti to collect and visualize current + historical performance stats, and I use this template to monitor memcache as it gives all the information that I need.


(S Spalding) #5

[quote]
and I use this template to monitor memcache

[/quote]





Thanks. The graphs in that template are probably a good start.