Top Menu

Search results for "centos 6 cached ram"

APC INFO Monitor

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

…le memory is broken into hundreds of small pieces that are too small to accept new cache items. This occurs when cached items expire and new cached items fill their vacated memory slots; usually the new item is slightly smaller than the old item, and 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 fragm… 12, 0, 0, 0 and 1299.94

Continue Reading 53

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

…1M q [1.561 qps], 67K conn, TX: 81B, RX: 449M) [--] Reads / Writes: 91% / 9% [--] Total buffers: 298.0M global + 6.4M per thread (151 max threads) [OK] Maximum possible memory usage: 1.2G (61% of installed RAM) [OK] Slow queries: 0% (0/1M) [OK] Highest usage of available connections: 6% (10/151) [OK] Key buffer size / total MyISAM indexes: 256.0M/9.7M [OK] Key buffer hit rate: 99.6% (3M cached / 13K reads) [OK] Query cache efficiency: 75.2% (1M c… 2, 0, 0, 0 and 363.98

Continue Reading 7

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013

…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 provides an online version as well as Adobe AIR standalone app. RegExr is an inva… 5, 1, 0, 0 and 363.98

Continue Reading 1

Varnish VCL and Config for WordPress with W3 Total Cache

…L (/etc/varnish/wordpress-varnish3.vcl) backend origin { .host = “10.11.12.13″; .port = “80″; .connect_timeout = 60s; .first_byte_timeout = 60s; .between_bytes_timeout = 60s; } # sub vcl_recv { # only using one backend set req.backend = origin; # # set standard proxied ip header for getting original remote address set req.http.X-Forwarded-For = client.ip; # # logged in users must always pass if( req.url ~ “^/wp-(login|admin)” || req.http.Cookie ~… 1, 0, 0, 0 and 207.99

Continue Reading 23

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

phpMyAdmin database display I recently ran into a problem with the upgraded 3.5.2 phpMyAdmin package provided via the rpmforge.repo. Search no longer works, nor does pagination, etc. Plus, it’s out of date and vulnerable to an XSS exploit. I have solved this by changing to the EPEL repo, which maintains the latest version of phpMyAdmin. This post will teach you how to install phpMyAdmin on CentOS, Amazon Linux, or Redhat. Configuration ins… 1, 1, 1, 0 and 194.99

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

Punk Rock Music Community

…nce and user base, Punktastic needed a more reliable and robust web server, so they made the move to a dedicated CentOS 5 series web server with 3GB RAM. While this is a relatively low-end box, it has plenty of horsepower for a single WordPress site and phpBB3 forum. Punktastic.com web site For this GIG, I soloed on… transferring the site from a WAMP development server to the live LAMP server configuring an active firewall to block the ba… 1, 0, 0, 0 and 155.99

Continue Reading 0

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 155.99

Continue Reading 2

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