egin. If you are running your virtual servers under FCGId, then you should do so for all virtual servers on your machine. Why? Because then you do not need apache’s mod_php (php module). Less modules loaded, less wasted memory. Comment out: LoadModule php5_module modules/libphp5.so in /etc/httpd/conf.d/php.conf Remove any php_memory_limit lines in httpd.conf’s virtual hosts section. restart apache do some performance testing and rai… 149, 2, 7, 0 and 266.5
WordPress with W3 Total Cache on Nginx with APC (Virtualmin)
d in /etc/rc.d/init.d. php-fcgi-domain1.com php-fcgi-domain2.com Script allows stop, start, restart e.g. service php-fcgi-domain2.com restart The service may also be restarted via Webmin > Services > Bootup and Shutdown Memory Considerations PHP FCGId will launch the number of sub-processes you specify in Virtualmin > Server Configuration > Website Options, so beware of the memory overhead if you specify a large number, because each w… 73, 1, 1, 0 and 124.92
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… 22, 1, 2, 0 and 41.41
Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment
sh to tune your Apache MPM settings, you should consider following this method: https://telvps.com/clients/knowledgebase/25/HOW-TO-Optimize-Apache-for-Low-Memory-Usage.html (the formula works well for any level of traffic and memory). MySQL Tuning Is More Difficult: Trial and Error To test your MySQL cache variables, you may try mysqltuner: https://github.com/rackerhacker/MySQLTuner-perl This script will analyze MySQL performance and make suggest… 13, 0, 2, 0 and 27.18
Apache and MySql Performance Tuning for High Traffic Website
…ter responding to a plea for assistance in a WordPress.org 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 the custom PHP code and the software architecture of the server. Haphazardly implementing randomly suggested “solutions”… 8, 0, 2, 0 and 14.38
Apache config for Worker MPM vs Prefork MPM
raise your worker server and thread limits to sane levels in httpd.conf If you need to recompile Apache and PHP, then you should do more research. Recompiling is not a trivial process. I found that my server had much better memory usage under 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 … 3, 0, 2, 0 and 7.2
Web Hosting
…ancing, 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, etc. Basic PHP hosting PHP, MySQL, NginX Small local business sites or blogs wit… 5, 0, 0, 0 and 7.1
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 … 4, 0, 0, 0 and 5.77
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
Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS
…53 will be served from the Varnish instances, which will be load balanced, in multiple Availability Zones, and will serve cached WordPress pages as static HTML. W3 Total Cache coordinates Apache and Varnish to provide updated disk-cached pages, and some data objects. CloudFront CDN pulls linked images, css, js, etc. from Apache via the W3 disk and opcode caches. Redundancy and Fault Tolerance More fault tolerance, speed and redundancy can be crea… 2, 0, 0, 0 and 4.72
-
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 -
Cpanel Mailman mailing lists: cannot manage lists after migrating to new host July 19, 2011
-
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: 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...
-
Jason: Chris, were you able to successfully autoupdate wi...
a little bird told me…
Follow @gilligoon on Twitter





