Top Menu

Search results for "apc user cache entries timeout"

APC INFO Monitor

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

…session info, fubaring items which should not be cached, such as admin pages and logged-in site pages) turn off apc.include_once_override (use carefully; only useful with PHP scripts that do not have cache hooks, such as Joomla 1.0, phpBB2, etc.) turn off apc.slam_defense (may cause objects to be replaced with PHP warnings which are displayed to the user, especially on Joomla 1.5) set apc.user_ttl = 0 (allows your php scripts to set appropriate… 1, 0, 0, 0 and 9184.51

Continue Reading 53

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

Virtualmin now includes support for Nginx web server. I deploy many WordPress sites with W3 Total Cache and APC Alternative PHP Cache, so I was very interested to see how Nginx performance compares to Apache for WordPress, and whether APC and W3TC would play nice with Nginx. I prefer to install WordPress in public_html/wordpress for ease of development, compatibility with other scripts, etc. Accordingly, the suggested configuration is for WordPr… 1, 0, 0, 0 and 4579.28

Continue Reading 18

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

…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 database caching strategy (such as APC) implemented on your web server and for your PHP script packages, you will be able to lower maxconnections,… 2, 0, 0, 0 and 3865.79

Continue Reading 7

Varnish VCL and Config for WordPress with W3 Total Cache

…rt VARNISH_MIN_THREADS=1 # # # The Maximum number of worker threads to start VARNISH_MAX_THREADS=1000 # # # Idle timeout for worker threads VARNISH_THREAD_TIMEOUT=120 # # # Cache file location if using file cache #VARNISH_STORAGE_FILE=/var/lib/varnish/varnish_storage.bin # # # Cache size: in bytes, optionally using k / M / G / T suffix, # # or in percentage of available disk space using the % suffix. VARNISH_STORAGE_SIZE=3G # # # Backend storage… 6, 0, 0, 0 and 2529.64

Continue Reading 23
APC INFO Monitor

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… 6, 1, 0, 0 and 1543.72

Continue Reading 2
SoccerNews.com website

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

…dy for very high traffic. With World Cup Brazil coming up in 2014, the site will definitely see a huge amount of users. Future plans include changing the architecture of the server to simplify the background processes and implement APC Alternative PHP Cache, or a caching web server front end. Results? I’ll let the publisher speak to that! The site has been as good as “flawless” since, with no downtime, and we couldn’t be h… 8, 0, 0, 0 and 1180.49

Continue Reading 2

Web Hosting

Decades of experience hosting websites, from small local sites with only a few html pages, to high-traffic sites with thousands of users and pages.  Website hosting, evolved Web hosting has changed dramatically in the last few years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only […]

Continue Reading

Résumé

Chris Gilligan Information Architect, Web Server Administrator, Media Producer web • video • print chris@chrisgilligan.net chrisgilligan.com 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 Linux Apache MySQL PHP web server administration Postfix Dovecot Sendmail […]

Continue Reading

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

…eSSL 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]['verbose'] = ‘MySQL Server’; $cfg['Servers'][$i]['host'] = ’122.34.567.89′; $cfg['Servers'][$i]['port'] = ’3306′; $cfg['Servers'][$i]['socket'] = ”; $cfg[‘Server… 7, 0, 0, 0 and 363.23

Continue Reading 0

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

…logname= uid=0 euid=0 tty=dovecot ruser=informix rhost=80.255.3.104 RegEx mentioned previously will match those entries, and via Fail2Ban: BAN the offending IPs. So, you think you’re ready with RegEx fu to tackle the Local Jail (jail.local)? Not so fast. Don’t use regex in jail.local. This file takes wild cards, not regex… so if you want to monitor all users’ /home/user/logs/access_log — you must wildcard /home/*/lo… 2, 0, 0, 0 and 259.46

Continue Reading 0