…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… 21, 0, 2, 0 and 41.91
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… 15, 1, 2, 0 and 36.58
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 … 10, 1, 4, 0 and 23.22
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… 12, 0, 0, 0 and 21.06
Apache and MySql Performance Tuning for High Traffic Website
…imate. Popular sites that do not have a solid security and load balancing strategy are subject to crippling traffic from the Internet’s millions of malicious and compromised servers and personal computers. Reconfigured Apache web server, PHP and MySQL to better utilize the server’s horsepower. Default configurations were limiting the number of concurrent user sessions the server could handle. Changed PHP to run as FastCGI (fcgid) and… 2, 1, 3, 0 and 9.69
Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS
… OK for beta stage. Traffic via Route 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 toler… 6, 0, 0, 0 and 8.91
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… 3, 0, 1, 0 and 6.65
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 … 2, 0, 0, 0 and 2.97
Web Hosting
…rage, 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 with a few users, using Word… 1, 0, 0, 0 and 1.49
Joomla Content Management
…eek under the hood? Contact me and schedule a demo! Why Open Source? Wide development community, professional components and plugins Your site is portable: it is not tied to our system… it can be moved to any Linux | Apache | MySQL | PHP (LAMP) webserver or hosting company. Scalable: if your site outgrows a lesser hosting plan, upgrade to a more powerful plan, a dedicated server, or a Content Delivery Network Content Management System f… 1, 0, 0, 0 and 1.49
-
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





