Contact Menu

Search results for "avoiding apc fragmentation"

APC INFO Monitor

How to Configure APC Cache on Virtual Servers with PHP running under FCGId

…shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 512 apc.user_entries_hint = 1024 apc.ttl = 0 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/apc/apc\.php$” apc.slam_defense = 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc-accountname.XXXXXX ;OR apc.mmap_file_mask = /dev/zero apc.file_update_protection = 2 apc.enable_cli = 0 apc.max_file_size = 2M… 104, 1, 4, […]

Continue Reading 54

WordPress with W3 Total Cache on Nginx with APC (Virtualmin)

…php-fastcgi, each virtual 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.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 […]

Continue Reading 18
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…irtual 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. My web […]

Continue Reading 4

Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment

…the appropriate beginning value for [mysqld] max_connections. Begin with max_connections set slightly higher than Apache’s maxclients. If you are running database caching via APC, you may lower max_connections, because APC will serve the busiest queries directly from cache. Take Time to Get a Realistic Assessment of MySQL Performance If you have a PHP opcode and […]

Continue Reading 9 website

Apache and MySql Performance Tuning for High Traffic WordPress Website on Cpanel

…he publisher after responding to a plea for assistance in a support forum. Though the site was running on a dedicated server with 8GB RAM, it was crashing frequently under load. The developer tried implementing APC Alternative PHP Cache and W3 Total Cache, but these measures turned out to be incompatible with some of […]

Continue Reading 4

Varnish VCL and Config for WordPress with W3 Total Cache

I have been working on a Varnish front-end for Apache, to be used with WordPress sites. I described the architecture in Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS. I now have a configuration that seems to work for all WordPress features, including logged-out commenting. This configuration also works well with W3 Total […]

Continue Reading 23


Chris Gilligan Web Developer, Information Architect, Web Server Administrator, Media Producer web • video • print I design and produce information and communication media for university, corporate, small business, manufacturing and non-profit clients: web sites Information architecture and design for open source content management systems Front-end UI design, HTML, PHP, LESS Linux Apache […]

Continue Reading web site

Punk Rock Music Community

…tively low-end box, it has plenty of horsepower for a single WordPress site and phpBB3 forum. web site For this GIG, I soloed on… transferring the site from a WAMP development server to the live LAMP server configuring an active firewall to block the baddies installing monitoring and administration tools tuning Apache and MySQL […]

Continue Reading 0