[mpm-itk] apc cache ("answer" after long time)
mahatma at bspu.unibel.by
Tue Dec 4 17:00:14 CET 2012
Gianluca Zamagni пишет:
>> As a counterpoint, I've used APC with MPM-ITK on Apache 2.2.x for years without any problems. Most recently, via Ubuntu Server's apache2-mpm-itk and php-apc packages. Getting it all into a Just Works state is as simple as apt-get install apache2-mpm-itk php-apc
>> Before that setup, I had to modify the ITK sources to allow more shared memory capabilities, but it worked.
> Me too. Using it on Debian 64 Bit since six months, on 20 servers with at least 200 account per server. Just compiled APC from pear, but it works like a charm.
> The only thing I've noted is that old CMS (like Joomla 1.5) have some issues in this configuration, but just disable APC from the .htaccess for these virtualhost and you're good to go.
Yes, I remember why I always change lock method from default pthreadmutex. IMHO
locking must work across all apache+PHP instances, but ITK is non-threaded and
threaded locking just not work across processes. So, default APC installation
for ITK must completely ignoring locking, required for single RAM pool usage. Fixme?
WBR, Dzianis Kahanovich AKA Denis Kaganovich, http://mahatma.bspu.unibel.by/
More information about the mpm-itk