Hello!

Hannes, this is a great starting. With your patch it will be possible to secure use APC on shared hosting, that should give significant optimization.

The only problem is that this patch is unfortunately still experimental, so it is risky to use it in production environment.

Had you considered contacting APC developers and giving your patch to the upstream? I think not only users of peruser-mpm are interested in this solution: there is itk-mpm that can be used with patched APC too.

Hi, for anyone that's interested I have now done some stress testing and
read the system call docs for linux more carefully and it appears mmap
doesn't guarantee that the memory region is synchronized with the
physical file on disk (It explicitly tells you to use msync for this),
which is a good thing as there would then probably be no/little disk
write overhead. The only overhead really is the extra disk space. Which
might be a good thing as the cache file acts as a virtual cache/swap for
PHP. So you can let all children for a certain virtual host die, freeing
up memory, but the PHP file cache will remain intact.

--
// cronfy
_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser

Reply via email to