Re: PHP causing high number of NFS getattr operations?
| From: | Damien Tournoud | Date: | Mon, 18 Feb 2013 21:32:29 +0000 |
| Subject: | Re: PHP causing high number of NFS getattr operations? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-65911@lists.php.net to get a copy of this message | ||
On Mon, Feb 18, 2013 at 10:03 PM, Brendon Colby <brendon@newgrounds.com> wrote:
> I tried apc.include_once_override - no change. I set up Apache to one
> process and straced it. I clicked around on the site a few times and
> see the typical pattern:
>
> open("[PATH]/CacheFile.class.php", O_RDONLY) = 10
> fstat(10, {st_mode=S_IFREG|0664, st_size=2097, ...}) = 0
> fstat(10, {st_mode=S_IFREG|0664, st_size=2097, ...}) = 0
> fstat(10, {st_mode=S_IFREG|0664, st_size=2097, ...}) = 0
Assuming that those are relative includes, can you try with:
apc.canonicalize=0
apc.stat=0
Damien