Simple Machines Community Forum

SMF Support => Server Performance and Configuration => Topic started by: countrymanlife on March 22, 2010, 12:30:55 AM

Title: APC Warning - please help
Post by: countrymanlife on March 22, 2010, 12:30:55 AM
I have been having a problem lately, I thought it was with my hosting company, but it appears to be with my site.  I am currently using a2hosting  shared service (thought i was on VPS but apparently i havent gone that route yet).  Well i recently upgraded to SMF 2 rc2  from 1.1.11  basically doing a full install and importing the tables.  I am running a slew of mods from SMF Gallery to AVEA to you name it... (i will list if needed)   but the problem i come across is my site will hang up and go offline for awhile, i then log in to check my server error logs from cpanel and i get:

Quote[Sun Mar 21 23:58:40 2010] [apc-warning] Potential cache slam averted for key '8dbdeef87297e7915d5bbe5b1446ea2e-SMF-spider_searchsmf' in /home/.../public_html/Sources/Load.php on line 2636.
[Sun Mar 21 23:58:40 2010] [apc-warning] Potential cache slam averted for key '8dbdeef87297e7915d5bbe5b1446ea2e-SMF-spider_searchsmf' in /home/.../public_html/Sources/Load.php on line 2636.
[Sun Mar 21 23:58:40 2010] [apc-warning] Potential cache slam averted for key '8dbdeef87297e7915d5bbe5b1446ea2e-SMF-spider_searchsmf' in /home/.../public_html/Sources/Load.php on line 2636.
[Sun Mar 21 23:58:40 2010] [apc-warning] Potential cache slam averted for key '8dbdeef87297e7915d5bbe5b1446ea2e-SMF-spider_searchsmf' in /home/.../public_html/Sources/Load.php on line 2636.
[Sun Mar 21 23:58:40 2010] [apc-warning] Potential cache slam averted for key '8dbdeef87297e7915d5bbe5b1446ea2e-SMF-spider_searchsmf' in /home/.../public_html/Sources/Load.php on line 2636.
[Sun Mar 21 23:58:40 2010] [apc-warning] Potential cache slam averted for key '8dbdeef87297e7915d5bbe5b1446ea2e-SMF-spider_searchsmf' in /home/.../public_html/Sources/Load.php on line 2636.
[Sun Mar 21 23:58:40 2010] [apc-warning] Potential cache slam averted for key '8dbdeef87297e7915d5bbe5b1446ea2e-SMF-spider_searchsmf' in /home/.../public_html/Sources/Load.php on line 2636.

so i uploaded load.php and went to the offending line.

// An extended key is needed to counteract a bug in APC.
if ($value === null)
apc_delete($key . 'smf');
else
[color=red] apc_store($key . 'smf', $value, $ttl);[/color]
}


so now i am using the basic settings, i turned off the spider tracking in the core settings.  is there anything else i need to check