Drupal 7.22, PHP5.4. APC installed. memcached daemon running. memcache/memcached appears to be working ok (debug messages at base of page)
Report looks broken.
Cant connect to:mymemcache-server1:11211
Action Total time, ms Total memory used, MB Total hits / % Total misses / %
get 0.68 0.00 1 / 50.0% 1 / 50.0%
Action Time, ms Used memory, KB Bin Key Result
get 0.31 2.92 memcache_storage_bin_indexes HIT
get 0.37 0.18 cache_path cache_path_3-drupal-7.22.2-admin/reports/status/memcache MISS
APC statistics
Type Bin Cid(s)
get cache_bootstrap variables
get cache_bootstrap bootstrap_modules
get cache_bootstrap lookup_cache
get cache_bootstrap system_list
get cache_bootstrap module_implements
get cache context
get cache ctools_plugin_type_info
get cache plugins:context:plugins
get cache theme_registry:seven
get cache theme_registry:runtime:seven
Comments
Comment #1
Syntapse commentedI can connect via telnet localhost 11211
stats
STAT pid 19929
STAT uptime 339
STAT time 1366213737
STAT version 1.4.13
STAT libevent 2.0.19-stable
STAT pointer_size 64
STAT rusage_user 0.000000
STAT rusage_system 0.072004
STAT curr_connections 5
STAT total_connections 6
STAT connection_structures 6
STAT reserved_fds 20
STAT cmd_get 0
STAT cmd_set 0
STAT cmd_flush 0
STAT cmd_touch 0
STAT get_hits 0
STAT get_misses 0
STAT delete_misses 0
STAT delete_hits 0
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 touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 7
STAT bytes_written 0
STAT limit_maxbytes 2147483648
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT hash_power_level 16
STAT hash_bytes 524288
STAT hash_is_expanding 0
STAT expired_unfetched 0
STAT evicted_unfetched 0
STAT bytes 0
STAT curr_items 0
STAT total_items 0
STAT evictions 0
STAT reclaimed 0
END
Comment #2
Syntapse commentedphpinfo(); returns
memcache
memcache support enabled
Active persistent connections 0
Version 2.2.7
Revision $Revision: 327750 $
Directive Local Value Master Value
memcache.allow_failover 1 1
memcache.chunk_size 8192 8192
memcache.default_port 11211 11211
memcache.default_timeout_ms 1000 1000
memcache.hash_function crc32 crc32
memcache.hash_strategy standard standard
memcache.max_failover_attempts 20 20
memcached
memcached support enabled
Version 2.0.1
libmemcached version 1.0.8
Session support yes
igbinary support no
json support no
Directive Local Value Master Value
memcached.compression_factor 1.3 1.3
memcached.compression_threshold 2000 2000
memcached.compression_type fastlz fastlz
memcached.serializer php php
memcached.sess_binary 0 0
memcached.sess_lock_wait 150000 150000
memcached.sess_locking 1 1
memcached.sess_prefix memc.sess.key. memc.sess.key.
Comment #3
iamEAP commentedI don't suppose you could send a screenshot of the broken looking status page?
And could you also try the memcache.php file completely separate from Drupal (i.e. just place it at the Drupal root without renaming it--keeping it memcache.php--and configuring/editing it as it was originally intended? I'm wondering if that script is compatible with PHP 5.4.
Comment #4
ikeigenwijs commentedsame issue
Comment #5
haggins commentedSame here.
Just change the lines
to
$MEMCACHE_SERVERS[] = 'localhost:11211'; // add more as an array