APCu cache not working



  • Dear All, I have enabled APC cache and installed APCu cache manager module but the memory usage is still 100% free. It seams that APC not cache any data. I use APCu Version 5.1.11 ana PHP 7.1.15 On performance tab cache and full page cache are enabled. Any suggestion on why it is not working? Thanks, Daniele



  • How is your server setup? APCu will only cache once users log into your site as well.



  • I tried to log-in but there are no entries anyway. This is what I see on APCu manager:

    General Cache Information
    APCu Version 5.1.11
    PHP Version 7.1.15
    APCu Host xxxx
    Server Software Apache
    Shared Memory 1 Segment(s) with 32.0 MBytes
    (mmap memory)
    Start Time 2018/03/13 23:15:21
    Uptime 18 hours and 11 minutes
    Cache Information
    Cached Variables 0 ( 0.0 Bytes)
    Hits 0
    Misses 0
    Request Rate (hits, misses) 0.00 cache requests/second
    Hit Rate 0.00 cache requests/second
    Miss Rate 0.00 cache requests/second
    Insert Rate 0.00 cache requests/second
    Cache full count 0
    Runtime Settings
    apc.coredump_unmap 0
    apc.enable_cli 0
    apc.enabled 1
    apc.entries_hint 4096
    apc.gc_ttl 3600
    apc.mmap_file_mask
    apc.preload_path
    apc.serializer php
    apc.shm_segments 1
    apc.shm_size 32M
    apc.slam_defense 1
    apc.smart 0
    apc.ttl 0
    apc.use_request_time 1
    apc.writable /tmp

    My server is a CENTOS 6.9 with PHP 7.1 PHP-FPM Enabled MemCache enabled. I don’t know which other information you should know about it. Thanks.


  • Banned

    This post is deleted!

 

Looks like your connection to thirty bees forum was lost, please wait while we try to reconnect.