WordPress.org

Ready to get started?Download WordPress

Forums

Batcache
memcached stats doesn't tally data from batcache (1 post)

  1. serons
    Member
    Posted 1 year ago #

    I'm using APC Object Cache Backend together with batcache and both seem to be working. Batcache writes debug info inside the head tag and page load is markedly faster once it's cached the page. However, I don't understand why data cached by batcache doesn't show up in memcached stats. get_*, set_*, *_hits and *_misses all remain at 0 as in this output:

    $ telnet 127.0.0.1 11211
    Trying 127.0.0.1...
    Connected to 127.0.0.1.
    Escape character is '^]'.
    stats
    STAT pid 32025
    STAT uptime 4826
    STAT time 1372538231
    STAT version 1.4.15
    STAT libevent 2.0.21-stable
    STAT pointer_size 32
    STAT rusage_user 0.510000
    STAT rusage_system 1.050000
    STAT curr_connections 6
    STAT total_connections 61
    STAT connection_structures 8
    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 669
    STAT bytes_written 32194
    STAT limit_maxbytes 67108864
    STAT accepting_conns 1
    STAT listen_disabled_num 0
    STAT threads 4
    STAT conn_yields 0
    STAT hash_power_level 16
    STAT hash_bytes 262144
    STAT hash_is_expanding 0
    STAT bytes 0
    STAT curr_items 0
    STAT total_items 0
    STAT expired_unfetched 0
    STAT evicted_unfetched 0
    STAT evictions 0
    STAT reclaimed 0
    END

    If I use Memcached Object Cache instead of APC Object Cache Backend memcached stats will have some updated information. I'd expect it to work the same with batcache but it doesn't. Any ideas why that could be?

    edit: I shut down memcached and batcache still seems to be working. For example new debug info is still added to the head tag. Is that possible? Could it be using APC Object Cache Backend? I'm confused.

    http://wordpress.org/extend/plugins/batcache/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic