1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

APC Problem?

Discussion in 'Troubleshooting and Problems' started by kuyenmotdivad, May 19, 2011.

  1. kuyenmotdivad

    kuyenmotdivad Active Member

    Hi,

    Any idea why i'm getting this error in my error logs of XF.

    Code:
    ErrorException: apc_store() [<a href='function.apc-store'>function.apc-store</a>]: Potential cache slam averted for key 'discussionsdata_boardTotals' - library/Zend/Cache/Backend/Apc.php:112
    Generated By: Unknown Account, Saturday at 1:41 PM
    
    #0 [internal function]: XenForo_Application::handlePhpError(2, 'apc_store() [<a...', '/home/xxxxx/...', 112, Array)
    #1 /home/xxxxx/public_html/library/Zend/Cache/Backend/Apc.php(112): apc_store('discussionsdata...', Array, 10800)
    #2 /home/xxxxx/public_html/library/Zend/Cache/Core.php(390): Zend_Cache_Backend_Apc->save('s:880:"a:4:{s:1...', 'discussionsdata...', Array, false)
    #3 /home/xxxxx/public_html/library/XenForo/Model/DataRegistry.php(169): Zend_Cache_Core->save('a:4:{s:11:"disc...', 'data_boardTotal...')
    #4 /home/xxxxx/public_html/library/XenForo/Model/Counters.php(35): XenForo_Model_DataRegistry->set('boardTotals', Array)
    #5 /home/xxxxx/public_html/library/XenForo/CronEntry/Counters.php(15): XenForo_Model_Counters->rebuildBoardTotalsCounter()
    #6 [internal function]: XenForo_CronEntry_Counters::rebuildBoardTotals()
    #7 /home/xxxxx/public_html/library/XenForo/Model/Cron.php(353): call_user_func(Array)
    #8 /home/xxxxx/public_html/library/XenForo/Cron.php(29): XenForo_Model_Cron->runEntry(Array)
    #9 /home/xxxxx/public_html/library/XenForo/Cron.php(64): XenForo_Cron->run()
    #10 /home/xxxxx/public_html/cron.php(12): XenForo_Cron::runAndOutput()
    #11 {main}
    
     
  2. Shamil

    Shamil Well-Known Member

    Hi David,

    What APC version are you using - via a PHPInfo?
     
  3. kuyenmotdivad

    kuyenmotdivad Active Member

    3.1.7 its old and I don't know how to upgrade it, save me shammy :)
     
    Shamil likes this.
  4. Shamil

    Shamil Well-Known Member

    Doing so :)
     
  5. Lawrence

    Lawrence Well-Known Member

    This looks to be a bug with APC. I'm not sure if the latest build fixed this or not. You can try disabling slam prevention.
     

Share This Page