Setup:
- Django application on mod_wsgi + apache (Server MPM: worker)
- dedicated server with 4 GB RAM 
- 12 process and 10 threads in  daemon mode
- memcached is running with -m 512 -c 1024 

Problem:
Whenever I run the stats command, I get curr_connections 10 only except for 
few times when it is 11. In newrelic dashboard, for app server breakdown, I 
see that the memcache get is taking 6-7ms. Is 6-7ms time acceptable or have 
I configured memcached incorrectly? Why do i always get 10 as 
curr_connections?

Below is the output from stats:
STAT pid 23945
STAT uptime 1735763
STAT time 1380948757
STAT version 1.4.4
STAT pointer_size 64
STAT rusage_user 1267.337335
STAT rusage_system 7770.106764
STAT curr_connections 10
STAT total_connections 6357387
STAT connection_structures 31
STAT cmd_get 41642765
STAT cmd_set 164738
STAT cmd_flush 1
STAT get_hits 41385394
STAT get_misses 257371
STAT delete_misses 0
STAT delete_hits 2
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 2859601733
STAT bytes_written 119525272656
STAT limit_maxbytes 536870912
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT bytes 23893797
STAT curr_items 10675
STAT total_items 164738
STAT evictions 0
END

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to