Top Menu

Search results for "fcgi exitlifetime expired terminated by calling exit return code 0"

APC INFO Monitor

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

…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 you see exit(communication error) then you have issues, probably cache full and fragmented. Fragmentation Explained Fragmentation is a measure of the […]

Continue Reading 53
wordnish

Varnish VCL and Config for WordPress with W3 Total Cache

…ok if ( beresp.status != 200 ) { return (hit_for_pass); } # # don’t cache search results if( req.url ~ “\?s=” ){ return (hit_for_pass); } # # else ok to cache the response set beresp.ttl = 24h; return (deliver); } # sub vcl_deliver { # add debugging headers, so we can see what’s cached if […]

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

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

…equirements) [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_update_protecti… 3, 0, 0, 0 and 156.16

Continue Reading 18
Screen Shot 2013-01-16 at 4.19.03 PM

Auto Mailer Form with Validation and reCAPTCHA

…”#\”>× Thank you for submitting a course Course Request. By providing this feedback you will help us to make adjustments to the schedule both now and in the future. “; }//end if(Form::isValid // is the form loaded for the first time, or does input need to be entered or corrected? // if so, display the […]

Continue Reading 2
wordpress-installation

Automated WordPress Installation Via Custom Virtualmin Script Installer

…this must be retrievable via wget from YOUR SERVER (test this via terminal command) change ‘virtualmin’ => 0 to NOT use virtualmin scripts repo! (~line 152) Your custom file should now look like this: # script_custompress_files(&domain, version, &opts, &upgrade-info) # Returns a list of files needed by WordPress, each of which is a hash ref […]

Continue Reading 39

WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux

VacantServer WordPress sites are getting hammered with bad logins and probes. We’ve implemented a plugin to log failed login attempts to syslog, and a Fail2Ban filter for the same. If you run these on RedHat, you’ll need some additional configuration info… here it is: WordPress login failure regex (error_log):

Apache nohome regex (error_log):

[…]

Continue Reading 0

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