Identify and block bad robots from website

In this article I’m going to teach you how you can identify and then block bad robots from your website, that could be possibly using up system resources on your server. What is a bad robot? There are many reasons that an automated robot would be trying to crawl through your website, the most common Read More >

Parse archived raw access logs from cPanel

Navigation: View archived logs Parse IPs Parse User-Agents Parse URLs Parse referrers In this article I’m going to teach you how to parse archived raw access logs from your cPanel VPS (Virtual Private Server) or dedicated server. Reviewing requests from your archived raw access logs can help bring to light a common problematic request or Read More >

Enable raw access log archiving for all cPanel accounts

In this article I’ll quickly show you how to enable raw access log archiving for all cPanel accounts on your VPS (Virtual Private Server) or dedicated server all at once. Raw access logs contain the request data directly from the Apache web service that all of your website have been fulfulling. Without raw access logs, Read More >

Using the Linux top command in batch mode

In this article I’m going to teach you how you can use the popular Linux top command in batch mode on your VPS (Virtual Private Server) or dedicated server to track down possible problematic script executions. A lot of times there can be just a few scripts on your server that can quickly cause a Read More >

View level of traffic with Apache access log

In this article I’ll be teaching you how to use the Apache access logs on your VPS (Virtual Private Server) or dedicated server to inspect the levels of traffic your websites are receiving. If you’d like to know what’s been going on with your server and the visitors that are coming to your websites the Read More >

Review recent website requests

In this article I’m going to teach you how you can use the server status feature of WHM (Web Host Manager) from the command line on your VPS (Virtual Private Server) or dedicated server in order to review recent website requests that Apache is handling. If you’ve happened to have read my previous articles on Read More >

Create MySQL query monitoring bash script

In this article we’ll discuss how you can configure a simple bash script to check on your MySQL query activity to ensure that long queries are not hanging on your server. This script will also be able to e-mail you a notice when it has encountered a long running query. In most cases a MySQL Read More >

Create server load monitoring bash script

In this article we’ll discuss how you can setup a small server load monitoring bash script with a scheduled cron job to monitor your server’s load average, and e-mail you a notice if it’s above the limit that you’ve set. A lot of times your server will probably be running at a load much lower Read More >

Limit CPU usage of intensive tasks

In this article we’ll discuss how you can limit the CPU usage of an intensive task and spread it out over a longer period of time. This can help ensure that you aren’t causing problems of sluggishness on your own website, or affecting other users on the same server while running an intensive task. Limiting Read More >

Advanced server load monitoring

In this article we’ll discuss more advanced methods for checking on your server’s load averages to help determine at what times your server’s usage might be spiking. If you’ve read our previous article on server load monitoring, you should have a good understanding of what a load average represents and how you can see the Read More >