APC INFO Monitor My Virtualmin CentOS 5.6 Virtual Private Server runs several virtual domains with PHP under FCGId using APC for opcode caching: Joomla, PHPbb, WordPress, etc . APC is somewhat challenging to configure properly with fcgid-enabled virtual domains, but it is quite helpful to optimize system resources and prevent traffic surges on one site from affecting overall server performance. Joomla and PHPbb have code that is pre-optimized wi… 43, 1, 2, 0 and 64.44
WordPress with W3 Total Cache on Nginx with APC (Virtualmin)
ffic. Virtualmin explains: “When PHP scripts for this domain as run via FCGId, the number of PHP processes set in this field will be kept running at all times to serve requests. You can increase this from the default of 4 to improve PHP script latency, or decrease it to reduce memory use. Setting it to None will cause PHP processes to be launched only as needed on demand, and to be cleaned up after some period of inactivity.” Nginx su… 26, 0, 0, 0 and 34.61
APC Cache Considerations for Virtual Hosting Environments
APC cache does not work well in a virtual hosting environment unless PHP is running as FCGID, and every individual virtual host has a unique PHP.ini and a unique fcgiwrapper. This is not the case with many virtual hosting environments because the memory and CPU requirements are too great. I suggest using Virtualmin for a shared hosting environment with APC cache, because it does allow to set php.ini and fcgiwrapper for every individual virtual h… 9, 0, 2, 0 and 14.61
Apache and MySql Performance Tuning for High Traffic Website
SoccerNews.com is a high traffic WordPress site with over 600,000 unique visitors and over 2,000,000 page impressions per month. It is a content republisher and aggregator, presenting custom XML feeds for (what else?) soccer news from all over the world. The site has a very active user base, providing content in the forms of editorials and comments on news items. Advertising and sponsored referrals provide the revenue stream. SoccerNews.com webs… 7, 0, 0, 0 and 10.17
Web Hosting
Scalable to any level of traffic, using Amazon’s EC2 virtual servers, Load Balancing, RDS MySQL, S3 Storage, Cloudfront Cache, and more Virtual Private Server Slice of a Dedicated server, with guaranteed RAM up to 4GB and a single CPU Locations in U.S., Canada, Netherlands, Germany High Traffic PHP hosting PHP, MySQL, Apache or NginX, APC Cache Dedicated Mail Server, Postini Spam filtering Appropriate for busy blogs, e-commerce, … 4, 0, 0, 0 and 5.32
Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment
ur my.cnf configuration. If you are running MySQL 5 or later, the configuration statements can be in the following form (example from one of my servers): [mysqld] safe-show-database net_buffer_length = 1M max_allowed_packet = 4M myisam_sort_buffer_size = 24M sort_buffer = 8M key_buffer = 32M table_cache = 1000 query_cache_size = 128M thread_cache_size = 8 innodb_buffer_pool_size = 22M join_buffer_size = 12M tmp_table_size = 64M max_heap_table_siz… 3, 0, 1, 0 and 4.99
Recursive chmod Tricks
Recursively chmod only directories find . -type d -exec chmod 755 {} \; Similarly, recursively set the execute bit on every directory chmod -R a+X * The +X flag sets the execute bit on directories only Recursively chmod only files find . -type f -exec chmod 644 {} \; Recursively chmod only PHP files (with extension .php) find . -type f -name ’*.php‘ -exec chmod 644 {} \; … 3, 0, 1, 0 and 4.99
Résumé
Chris Gilligan Information Architect, Web Server Administrator, Media Producer web • video • print chris [at] chrisgilligan [dot] net chrisgilligan.com I design and produce information and communication media for corporate, small business, manufacturing and non-profit clients: web sites Information architecture and design for open source content management systems Linux Apache MySQL PHP web server administration Postfix Dovecot Sendmail mail … 3, 0, 0, 0 and 3.99
Apache config for Worker MPM vs Prefork MPM
Worker MPM, however: some scripts (squirrelmail, phpmyadmin) do not work on a per-domain basis and must be run direct to the actual server process with symlinked directories. This is much more efficient but less convenient for virtual domain owners some /dev processes took on strange group permissions, getting the gid of the first user in the apache group. browser caching was not well supported… the dreaded “blank screen between pa… 2, 0, 1, 0 and 3.66
Public Art Non-Profit Website
ion architecture, I was a little apprehensive to take on this project… but I soon found some new PHP and JavaScript code to make WordPress behave as desired. Search Engine Optimization Fancybox JavaScript modal windows for YouTube, image slideshows, audio, video and PDF Google Web Fonts for a handcrafted look Advanced Custom Fields for intuitive addition of media player icons and project metadata … 2, 0, 0, 0 and 3.51
-
How to Configure APC Cache on Virtual Servers with PHP running under FCGId November 8, 2010 -
WordPress with W3 Total Cache on Nginx with APC (Virtualmin) March 12, 2012 -
Organic Farm Website with Slideshows and Content Management November 13, 2009 -
Remote publishing to WordPress from Facebook via RSS July 25, 2011 -
Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS May 17, 2012
-
Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS May 17, 2012 -
Automated WordPress Installation Via Custom Virtualmin Script Installer May 17, 2012 -
Professional Social Network May 3, 2012 -
Punk Rock Music Community April 10, 2012 -
WordPress with W3 Total Cache on Nginx with APC (Virtualmin) March 12, 2012
-
Chris Gilligan: I was having some issues with cacheable content no...
-
Chris Gilligan: NVM the comment about slowness. I did some researc...
-
Chris Gilligan: I have a test version of this topography setup and...
-
Jones: Add me to the list of people that have been lookin...
-
Chris Gilligan: Yes, autoupdate works. Virtualmin does run nginx a...
a little bird told me…
Follow @gilligoon on Twitter





