Top Menu

Search results for "mod_fcgid high memory usage"

APC INFO Monitor

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

…nd the leftover space may be too small for a new cache item. Fragmentation can cause even a large amount of free memory to be unavailable for new cache items. That is why I say above you can avoid fragmentation by doubling the apc.shm_size in relation to the largest total memory usage you see. So you may want to start with 100MB, let the site run for a few hours during high traffic conditions, and then reduce shm_size to roughly double the highes… 5, 0, 0, 0 and 3379.83

Continue Reading 53

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

…because many web requests do not require direct interaction with the MySQL server. Take a look at “Highest usage of available connections”, and lower maxconnections accordingly. It is safe to lower maxconnections to a number slightly above the reported highest usage. Doing so will allow you to set higher values for the individual cache settings which affect the thread cache size, because the total thread buffer memory size is multipli… 9, 0, 1, 0 and 2911.86

Continue Reading 7
SoccerNews.com website

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

SoccerNews.com is a high traffic WordPress site with over 600,000 unique visitors and over 2,000,000 page impressions per month. It is a content republisher and aggregator, presenting custom XML feeds for (what else?) soccer news from all over the world. The site has a very active user base, providing content in the forms of editorials and comments on news items. Advertising and sponsored referrals provide the revenue stream. SoccerNews.com web… 0, 0, 1, 0 and 727.96

Continue Reading 4

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

…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 will consume the amount of memory specified in  apc.shm_size. You may need to experiment with this value, dependin… 6, 0, 0, 0 and 727.96

Continue Reading 18

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

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

…gt; Order Deny,Allow Deny from All Allow from None </Directory> # This configuration prevents mod_security at phpMyAdmin directories from # filtering SQL etc. This may break your mod_security implementation. # #<IfModule mod_security.c> # <Directory /usr/share/phpMyAdmin/> # SecRuleInheritance Off # </Directory> #</IfModule> NginX Edit nginx.conf for the hostname’s server_name website… 7, 0, 0, 0 and 363.99

Continue Reading 0

Apache config for Worker MPM vs Prefork MPM

…scripts. To determine which MPM is running: /usr/sbin/apachectl -l If you see worker.c in the list of loaded modules, your Apache is running Worker MPM. If prefork.c, it is running prefork. To determine if apache has Worker MPM compiled in: /usr/sbin/httpd.worker -l If you see worker.c in the list of compiled-in modules, Apache can run Worker MPM. Here is some useful info to help if your installation of Apache will work with Worker MPM… 1, 0, 1, 0 and 272.99

Continue Reading 2
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… 2, 0, 0, 0 and 259.99

Continue Reading 4

SSL and CloudFront CDN Support for WebFonts via .htaccess

…require. Do this with a comma separated list, in double quotes. # BEGIN CDN Cross-Site for Webfonts <IfModule mod_mime.c> AddType font/ttf .ttf AddType font/eot .eot AddType font/opentype .otf AddType font/x-woff .woff </IfModule> <FilesMatch “\.(svg|ttf|otf|eot|woff)$”> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin “fonts.googleapis.com,yourdistro69.cloudfront…. 3, 0, 0, 0 and 155.99

Continue Reading 0

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

Continue Reading 23