…vers – e.g. mysql server on separate host ;extension=memcache.so [fileinfo] ;fileinfo is included in PHP 5.3=>… uncomment the following line if using
Search results for "apc-3-1-9-stopping"
…rtual domain will load its own php.ini file, so you can add the APC directives to that file (/home/domainname/etc/php5/php.ini) Add the following to php.ini (adjust to your requirements) [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 256 apc.user_entries_hint = 1024 apc.ttl = 0 apc.user_ttl = […]
…APC per virtual server. However with 200+ virtual hosts all running PHP script packages, as is the case with a commodity shared hosting server, this will use a lot of memory, and you will need somewhere in the neighborhood of 10-30GB apc.shm_size if you attempt to configure a single APC cache for the entire server. […]
…nfig variables to take up no more than 60% of total RAM. Wait 24-48 hours and run mysqltuner again. Example mysqltuner results: ——- Performance Metrics ————————————————- [–] Up for: 13d 2h 34m 16s (1M q [1.561 qps], 67K conn, TX: 81B, RX: 449M) [–] Reads / Writes: 91% / 9% [–] Total buffers: 298.0M global […]
APC INFO Monitor
…NFILES=131072 # # Locked shared memory (for ulimit -l) # Default log size is 82MB + header MEMLOCK=82000 # # Maximum size of corefile (for ulimit -c). Default in Fedora is 0 # DAEMON_COREFILE_LIMIT=”unlimited” # # Set this to 1 to make init script reload try to switch vcl without restart. # To make this […]