Welcome! Log In Create A New Profile

Advanced

PHP 5.3.3 with FPM and APC 3.1.4 -- Potential cache slam averted

Posted by nofun 
PHP 5.3.3 with FPM and APC 3.1.4 -- Potential cache slam averted
August 08, 2010 02:35PM
I have a running Ubuntu 10.04 with php 5.3.3 and fpm compiled from sources. Also APC version 3.1.3p1 was installed. When I upgraded my APC to version 3.1.4, my drupal logs are suddenly filled with:

[code]
apc_store(): Potential cache slam averted for key 'dru-perf:vladgh.com:rss.xml' in /srv/www/drupal6sites/sites/all/modules/devel/performance/performance.module on line 273.
[/code]

I have the php-fpm error logs enabled, slow logs, and php error log. But there is nothing in these logs. Only in Drupal.
I found a solution for this by adding [b]apc.slam_defense = Off;[/b] to my php.ini, and now my logs are free of this error, but is this the safe way? Did anybody ever come across this kind of trouble? FPM's documentation is not very clear on this but it doesn't sound like a good thing.

http://VladGh.com
Re: PHP 5.3.3 with FPM and APC 3.1.4 -- Potential cache slam averted
August 08, 2010 04:20PM
This has to do with apc not fpm.

They made some changes in the new version and I believe he said on irc "test the hell out of it"

You probably want to bring this up on the php general or possibly php dev/internals list or #php.pecl on efnet.

On Aug 8, 2010, at 11:35 AM, "nofun" <nginx-forum@nginx.us> wrote:

> I have a running Ubuntu 10.04 with php 5.3.3 and fpm compiled from
> sources. Also APC version 3.1.3p1 was installed. When I upgraded my APC
> to version 3.1.4, my drupal logs are suddenly filled with:
>
> [code]
> apc_store(): Potential cache slam averted for key
> 'dru-perf:vladgh.com:rss.xml' in
> /srv/www/drupal6sites/sites/all/modules/devel/performance/performance.module
> on line 273.
> [/code]
>
> I have the php-fpm error logs enabled, slow logs, and php error log. But
> there is nothing in these logs. Only in Drupal.
> I found a solution for this by adding [b]apc.slam_defense = Off;[/b] to
> my php.ini, and now my logs are free of this error, but is this the safe
> way? Did anybody ever come across this kind of trouble? FPM's
> documentation is not very clear on this but it doesn't sound like a good
> thing.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?3,117577,117577#msg-117577
>
Re: PHP 5.3.3 with FPM and APC 3.1.4 -- Potential cache slam averted
August 08, 2010 07:21PM
[quote]You probably want to bring this up on the php general or possibly php dev/internals list or #php.pecl on efnet.[/quote]

Thank you. I'll do that...

http://VladGh.com
Hi nofun!

Could you please post a link to your post on PHP? This would help others!
Thank you!

Kind regards



---

*Thomas FRITZ*
*web* http://fritzthomas.com
*twitter* http://twitter.com/thomasf



2010/8/9 nofun <nginx-forum@nginx.us>

> [quote]You probably want to bring this up on the php general or possibly
> php dev/internals list or #php.pecl on efnet.[/quote]
>
> Thank you. I'll do that...
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?3,117577,117648#msg-117648
>
>
Re: PHP 5.3.3 with FPM and APC 3.1.4 -- Potential cache slam averted
August 09, 2010 11:41AM
I will, as soon as I will get an answer.


Thomas Fritz Wrote:
-------------------------------------------------------
> Hi nofun!
>
> Could you please post a link to your post on PHP?
> This would help others!
> Thank you!
>
> Kind regards
>
>
>
> ---
>
> *Thomas FRITZ*
> *web* http://fritzthomas.com
> *twitter* http://twitter.com/thomasf
>
>
>
> 2010/8/9 nofun
>
> > You probably want to bring this up on the php
> general or possibly
> > php dev/internals list or #php.pecl on efnet.
> >
> > Thank you. I'll do that...
> >
> > Posted at Nginx Forum:
> >
> http://forum.nginx.org/read.php?3,117577,117648#ms
> g-117648
> >
> >

http://VladGh.com
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 190
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready