…nfiguration statements can be in the following form (example from one of my servers): [mysqld] datadir=/var/lib/mysql socket=/var/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_a… 9, 0, 1, 0 and 2963.7
Search results for "apache takes full memory usage in centos 5 6"

How to Configure APC Cache on Virtual Servers with PHP running under FCGId
5.2 ;extension=fileinfo.so [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 512 apc.user_entries_hint = 1024 apc.ttl = 0 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/apc/apc\.php$” apc.slam_defense = 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc-accountname.XXXXXX ;OR apc.mmap_file_mask = /dev/zero apc.fil… 1, 0, 0, 0 and 2545.43

Apache config for Worker MPM vs Prefork MPM
Some installations of Apache will have been compiled to work with either Prefork or Worker MPM, but most by default are compiled only to work with Prefork. Changing to Worker MPM may allow your server to handle much higher traffic, more user sessions, with less RAM use. Your site or server will not scale well if it is running Prefork MPM. Worker is a bit more difficult to set up properly, and has some restrictions regarding functionality of PHP… 1, 0, 0, 0 and 1063.57

WordPress with W3 Total Cache on Nginx with APC (Virtualmin)
…djust 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 = 1024 apc.ttl = 0 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/scripts-not-to-cache/.*,-/home/username/public_html/apc/.*” apc.slam_defense = 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc.XXXXXX apc.file_… 6, 0, 0, 0 and 860.42

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013
…egEx, nor log file location, is going to work for every distribution. Neither can Fail2Ban account for every change in log file location or structure from version to version. What worked for Centos 5.x may not work for CentOS 6.x; what worked in kernel 2.8 may be invalid in kernel 3.4. Also stated earlier, it is well worth the time to learn a little about RegEx. One vehicle to propel the admin far along the path is RegExr. Author Greg Skinner pro… 5, 1, 0, 0 and 812.63

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)
erver to your requirements and your environment. phpMyAdmin MySQL server dashboard Incoming search terms for the article: phpmyadmin require ip nginx phpmyadmin centos install and open phpmyadmin using ipaddress nginx centos 6 nginx secure phpmyadmin nginx ssl phpmyadmin ssl phpmyadmin phpmyadmin ssl phpmyadmin ssl centos phpmyadmin with ssl ssl conf client denied by server configuration: /usr/share/phpMyAdmin/… 1, 1, 1, 0 and 788.72

Apache and MySql Performance Tuning for High Traffic WordPress Website on Cpanel
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 code and the softwar… 0, 0, 1, 0 and 454.11

APC Cache Considerations for Virtual Hosting Environments
…almin for a shared hosting environment with APC cache, because it does allow 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… 2, 0, 0, 0 and 274.86
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 [...]

Varnish VCL and Config for WordPress with W3 Total Cache
…etc/init.d/varnish expects the variable $DAEMON_OPTS to be set from this # shell script fragment. # # # Maximum 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 switch vcl without restart. # To make t… 1, 0, 0, 0 and 143.4
-
How to Configure APC Cache on Virtual Servers with PHP running under FCGId
November 8, 2010
-
Automated WordPress Installation Via Custom Virtualmin Script Installer
May 17, 2012
-
WordPress with W3 Total Cache on Nginx with APC (Virtualmin)
March 12, 2012
-
Varnish VCL and Config for WordPress with W3 Total Cache
August 14, 2012
-
Remote publishing to WordPress from Facebook via RSS
July 25, 2011
- WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux April 27, 2013
-
Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013
April 19, 2013
-
Auto Mailer Form with Validation and reCAPTCHA
January 16, 2013
-
Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)
September 24, 2012
-
SSL and CloudFront CDN Support for WebFonts via .htaccess
September 5, 2012
-
Chris Gilligan: What version of PHP are you running. This example ...
-
manny: Hi Chris, Thank you for sharing the script, it ...
- Prestashop et APC en multiboutiques | Webiche : Blog de Michel Tomas: [...] Configure APC sur Apache avec mod-fcgid [......
-
Chris Gilligan: leonardo: Thanks for your kind words! I do not ...
-
leonardo: hey !! I am very happy I am publishing from facebo...
a little bird told me…
Follow @gilligoon on Twitter

