Contact Menu

Search results for "override apc shm_size vhost"

APC INFO Monitor

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

…eHandler .php5 IPCCommTimeout 12 You must “babysit” the configuration: use the APC monitor (apc.php) to see how many files are being cached, and how much memory (apc.shm_size) is needed to avoid fragmentation, which will cause the 500 errors. If fragmentation rises quickly to 100%, memory usage is full, and cache full count rises above 0, […]

Continue Reading 52
virtualmin-nginx-wordpress-permalinks-apc

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

…mplementation of Nginx uses php-fastcgi, each virtual domain will load its own php.ini file, so you can add the APC directives to that file (/home/domainname/etc/php5/php.ini) Add the following to php.ini (adjust to your requirements) [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 256 apc.user_entries_hint = […]

Continue Reading 18
LAMP-linux-apache-mysql-php

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

…r/lib/mysql/mysql.sock user=mysql symbolic-links=0 innodb_file_per_table = 1 thread_concurrency = 8 query_cache_size = 64M query_cache_limit = 4M thread_cache_size = 8 myisam_sort_buffer_size = 64M read_rnd_buffer_size = 8M read_buffer_size = 2M sort_buffer_size = 2M table_cache = 1600 table_definition_cache = 1600 max_allowed_packet = 4M key_buffer = 1G interactive_timeout = 2 wait_timeout = 5 long_query_time = 1 log_slow_queries = ON open_files… […]

Continue Reading 8
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 […]

Continue Reading 4
wordnish

Varnish VCL and Config for WordPress with W3 Total Cache

…ximum number of open files (for ulimit -n) NFILES=131072 # # Locked shared memory (for ulimit -l) # Default log size is 82MB + header MEMLOCK=82000 # # Maximum size of corefile (for ulimit -c). Default in Fedora is 0 # DAEMON_COREFILE_LIMIT=”unlimited” # # Set this to 1 to make init script reload try to […]

Continue Reading 23
Screen Shot 2012-09-07 at 11.09.50 AM

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

…fastcgi_param SCRIPT_FILENAME /usr/share$fastcgi_script_name; include /etc/nginx/fastcgi_params; fastcgi_buffer_size 128k; fastcgi_buffers 256 4k; fastcgi_busy_buffers_size 256k; fastcgi_temp_file_write_size 256k; fastcgi_intercept_errors on; } location ~* ^/phpMyAdmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root /usr/share/; } } location /phpmyadmin { rewrite ^/* /phpMyAdmin last; } Edit /etc/phpMyAdmin/config.inc.php The config belo… 3, 0, 0, 0 and 169.76

Continue Reading 0
SoccerNews.com website

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

…ing 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 Cpanel server. Haphazardly implementing randomly suggested “solutions” had […]

Continue Reading 4
utc-edu-bootstrap-site

University Website and Blog Redesign

…ng for nearly any imaginable UI element. The site looks great on desktop, tablet and mobile phone; images are resized according to users’ maximum screen width by Adaptive Images. We worked with OmniUpdate to port the functional HTML templates to the OU Campus Content Management System. A companion WordPress theme was created to retrofit the UTC […]

Continue Reading 0