Contact 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

…defaults(‘USE_AUTHENTICATION’,0); You can monitor errors with these commands: tail -f -n 50 /var/log/httpd/error_log tail -f -n 50 /home/ In the logs, you should see messages like the following: mod_fcgid: process /home/username/public_html/scriptname.php(21272) exit(lifetime expired), terminated by calling exit(), return code: 0 … exit(server exited) … … exit(idle timeout) … if the cache is working well. If… […]

Continue Reading 54

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

…in /etc/rc.d/init.d. php-fcgi-domain1-com php-fcgi-domain2-com Script allows stop, start, restart e.g. service 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 […]

Continue Reading 18

SSL and CloudFront CDN Support for WebFonts via .htaccess

…g JavaScript clients basic access to your resources. I recommend you only allow access to the specific CDN domains you require. Do this with a comma separated list, in double quotes. # BEGIN CDN Cross-Site for Webfonts AddType font/ttf .ttf AddType font/eot .eot AddType font/opentype .otf AddType font/x-woff .woff Header… 3, 0, 0, 0 and […]

Continue Reading 2
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…o 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 website

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

…HP and MySQL to better utilize the server’s horsepower. Cpanel’s efault Apache and MySQL configurations were limiting the number of concurrent user sessions the server could handle. Changed PHP to run as FastCGI (fcgid) and recompiled Apache to better handle the needs of a high traffic WordPress site. Configured a large MySQL table and query […]

Continue Reading 4

Varnish VCL and Config for WordPress with W3 Total Cache

…nish) # Configuration file for varnish # # /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 […]

Continue Reading 23

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

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