Top Menu

Search results for "some servers might restart apc after several hours"

APC INFO Monitor

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

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 w… 1, 0, 0, 0 and 11361.3

Continue Reading 53

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

…1 apc.mmap_file_mask = /tmp/apc.XXXXXX apc.file_update_protection = 2 apc.enable_cli = 0 apc.max_file_size = 2M apc.stat = 1 apc.write_lock = 1 apc.report_autofilter = 0 apc.include_once_override = 0 apc.rfc1867 = 0 apc.rfc1867_prefix = “upload_” apc.rfc1867_name = “APC_UPLOAD_PROGRESS” apc.rfc1867_freq = 0 apc.localcache = 1 apc.localcache.size = 256 apc.coredump_unmap = 0 apc.stat_ctime = 0 Reloading PHP-fastcgi processes after changes to php…. 42, 1, 1, 0 and 4809.7

Continue Reading 18
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…to set php.ini and fcgiwrapper for every individual virtual host, and so to set an individual configuration for 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. My web hosting serve… 11, 1, 1, 0 and 1520.9

Continue Reading 4

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)

…rewrite ^/* /phpMyAdmin last; } Edit /etc/phpMyAdmin/config.inc.php The config below shows some common config options. Important ones are ForceSSL and auth_type. For a production server, SSL should be ON and auth_type http is better; http auth uses MySQL user/pass combinations to restrict access to user-specific databases. <?php /* Servers configuration */ $i = 0; /* Server: MySQL Server [1] */ $i++; $cfg['Servers'][$i... 27, 0, 0, 0 and 1403.91

Continue Reading 0

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

…Get a Realistic Assessment of MySQL Performance If you have a PHP opcode and database caching strategy (such as APC) implemented on your web server and for your PHP script packages, you will be able to lower maxconnections, based on the information you receive from mysqltuner after 24-48 hours of steady traffic. For example, I have a server with Apache set to 256 maxclients, but the MySQL maxconnections set to 200, because many web requests do n… 3, 0, 0, 0 and 870.96

Continue Reading 7
SoccerNews.com website

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

…ing and sponsored referrals provide the revenue stream. SoccerNews.com website I was contacted by the publisher after 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 co… 2, 0, 1, 0 and 428.97

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 Cache. This configuration is for Varnish on a separate server, but should also work on a single serve… 0, 0, 3, 0 and 285.98

Continue Reading 23

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013

…an Apache or NginX app server, and that app server connects to the database cohort. The only publicly-accessible servers would be the web proxies. This is similar to what one might expect in a traditional network operations center. Learn some RegEx Learning a bit about RegEx will benefit the admin in virtually every programming endeavor: PHP, Perl, C, SQL etc. all make use of RegEx to match strings of text. Matching a variable string of text in a… 2, 0, 0, 0 and 103.99

Continue Reading 1