Top Menu

Search results for "cannot allocate memory mod_fcgid"

APC INFO Monitor

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

…servers and Apache and MySQL performance tuning before you begin. If you are running your virtual servers under FCGId, then you should do so for all virtual servers on your machine. Why? Because then you do not need apache’s mod_php (php module). Less modules loaded, less wasted memory. Comment out: LoadModule php5_module modules/libphp5.so in /etc/httpd/conf.d/php.conf Remove any php_memory_limit lines in httpd.conf’s virtual host… 6, 1, 1, 0 and 1932.93

Continue Reading 53

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

…how much space your innodb indexes take up it may be safe to increase this value to up to 2 / 3 of total system memory MEMORY USAGE Max Memory Ever Allocated : 345 M Configured Max Per-thread Buffers : 962 M Configured Max Global Buffers : 282 M Configured Max Memory Limit : 1.21 G Physical Memory : 2.00 G Max memory limit seem to be within acceptable norms KEY BUFFER Current MyISAM index space = 9 M Current key_buffer_size = 256 M Key cache m… 16, 0, 1, 0 and 869.16

Continue Reading 7

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… 2, 0, 0, 0 and 518.9

Continue Reading 18

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.24

Continue Reading 0
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… 1, 0, 0, 0 and 207.56

Continue Reading 2

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.67

Continue Reading 0
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… 1, 0, 0, 0 and 142.7

Continue Reading 2

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

Continue Reading 23

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 90.81

Continue Reading 4

Search Engine Optimization

SEO Consulting $85 per hour. Includes research for page titles, text headings and content keywords to optimize a website for a targeted market. Joomla Sites $350 per site. Includes sh404sef component for automated mod_rewrite URL rewriting, title and keyword rewriting. Includes xMap sitemap generator and setup of optimized sitemaps. Automated Yahoo, MSN and Google Sitemap […]

Continue Reading 1