2
votes
1answer
46 views

How does PHP APC shared memory expiration works?

I am using the APC and see I still have 25MB of free memory. However, in the Cache full count, I see I have 8 already. So, why that happens? And if my understanding is: APC is not a LRU cache, so ...
0
votes
1answer
67 views

PHP Opcode cache that can detect identical files

I am currently using APC with PHP FPM to cache a few hundred Wordpress sites. With a 2gig cache everything works well but it isn't terribly efficient and the cache is always maxed out. If I have 200 ...
0
votes
2answers
393 views

apc “open() /www/cache/xxx failed. no such file or directory” error

I think it's because APC because I use only APC system for cache. Here is the full log: 2013/04/23 19:15:05 [error] 539#0: *1305213 open() "/var/www/cache/e4ce8db565491cdcf27ab61a441xxxx" failed (2: ...
0
votes
1answer
179 views

php-fpm taking too much memory

I am using Nginx+PHP-FPM with php 5.3.6 and it was working well for weeks. A few days before I found out that most of the PHP-FPM children take 3MB but a few children are taking 700MB. The web ...
0
votes
1answer
212 views

I am unable to install php5-apc on my Ubuntu server

I am unable to install php5-apc. I don't seem to get any errors. root@applications-server-1:~# aptitude install php5-apc The following NEW packages will be installed: php5-apc{b} 0 packages ...
3
votes
2answers
2k views

Graceful upgrade from php53u to php54

We are running a CentOS 6 node using iuscommunity repo, and want to upgrade previously installed php53u to php54. However, this introduces a dependency conflict between php53u & php54. Does ...
0
votes
1answer
542 views

PHP-APC Installation

Trying to get my head around the way to install APC cache on PHP 5.3.13. That's a VPS with apache, configured preferably through whm/cpanel (although not only). I read a bunch of articles where it ...
3
votes
2answers
6k views

What does apc.mmap_file_mask really do?

I want to use APC in a shared environment, but the main problem is of course, opcode sharing. To overcome this, I've thought about using different apc.mmap_file_mask for each user (they're chrooted ...
3
votes
3answers
1k views

PHP-FPM and APC for shared hosting?

We are looking into finding a way to get APC to only create one cache per account / site. This can be done with Fastcgi (last update 2006…) but with Fastcgid APC will have to create multiple caches ...
0
votes
2answers
678 views

nginx + php-fpm + apc … compression?

I have a VPS running nginx 1.1.19, php-fpm 5.3.10, and APC 3.1.9. The server is primarily running PHP scripts (vB, SMF, IPB) I'm also using Cloudflare as a CDN if that matters. From what I can tell, ...
2
votes
1answer
1k views

APC strange long responses

I have slow response issue on my debian 6 + nginx + apc 3.1.9 + php-fpm 5.3.10 server. My website is based on symfony 1.4. My setup is VPS with 512MB ram which is almost everytime used up to 250MB. ...
0
votes
1answer
345 views

APC + PHP-FPM Memory fragmented even with apc.user_ttl = 0

I'm running 5.3.9-1~dotdeb.3, with APC 3.1.9. APC cache gets totally fragmented after a 2hours of running. Isn't the apc.user_ttl = 0 supposed to keep the files cached until APC is restarted - and ...
1
vote
1answer
382 views

Intermittent error 404 during higher loads. (nginx/php/apc/mysql)

I have a 4 cpu core VPS with 4GB ram. It is running Ubuntu 10.04 with nginx/0.7.65, PHP 5.3.2, and MySQL. I use php5-fpm for the communication to nginx. I also have php5-apc complimenting with php ...