Category: Misc

High CPU usage on mysqld but low memory usage 0

High CPU usage on mysqld but low memory usage

Had a problem with a server that was running alot of traffic and doing a lot of logging and updating mysql tables. The CPU usage was through the roof and it’s an 8 core server with 30GB of RAM. The strange thing was that mysqld was using all the processing power but hardly any memory was being used. You can check what is using all the CPU/Memory by running “top”...

HC Traffic – Campaign Setup Guide 0

HC Traffic – Campaign Setup Guide

Most affiliates will know that pop under traffic provides a great way to scale campaigns to really high levels. A site which has 300×250 banners will usually charge $0.50~ cpm, the equivalent pop under ads will cost $5+. The reason sites can earn so much more with pop unders is because the user interacts much more with them and as an advertiser you can instantly show your targeted user a...

Internet Marketers Web Browser of Choice 0

Internet Marketers Web Browser of Choice

Here are some stats from Google Analytics for this blog: I thought it was interesting to see how far behind Internet Explorer has fallen for people who know how to use a computer. It was only 5 years ago when they an 85%ish share in the market. In 5 years time I would expect it to be more like 25-40% for mainstream sites. Firefox is my browser of choice and...

Optimising Nginx in Linux 0

Optimising Nginx in Linux

I found one of the servers was throwing up a 500 error quite regularly. I checked the logs and in /var/log/nginx/error.log I found the following errors: socket() failed (24: Too many open files) while connecting to upstream, client socket() failed (23: Too many open files in system) while connecting to upstream, client Solution was to increase the number of worker connections and edit a few files to allow more open...

Facebook Demand Government ID For Multiple Accounts 0

Facebook Demand Government ID For Multiple Accounts

Yesterday I logged into one of the Facebook accounts I use for marketing and was confronted with this: I took a photo of an id and modified the name, date of birth and photo to match the account. Note they require the date of birth you use when registering so make sure you note it. Everything else I blanked out. Blurred the image a few times to hide the modifications...

Apache Logs – Disk Space Ubuntu Plesk 0

Apache Logs – Disk Space Ubuntu Plesk

One of my servers started groaning early last week and it turned out I had log files accumulating to nearly 1TB. Log rotation was switched on but it still wasn’t ideal. I solved this by ssh’ing into a root shell and running the following command: du -a /var | sort -n -r | head -n 10 This lists the directories which are taking up the most space and it showed...

15 Tools I Couldn’t Live Without 0

15 Tools I Couldn’t Live Without

Everyone has their own set of tools that makes their day to day working life easier. Below I have made a list of the tools I use regularly and recommend to others. Notepad ++ – A great little text editor for windows (I use Kate in Linux). I pretty much hand code everything now so I spend alot of time using a text editor and Notepad ++ and Kate are...

Spying on Mobile Ads from Firefox 0

Spying on Mobile Ads from Firefox

If you want to know what ads are running on a mobile site anywhere in the world you can do this with Firefox without going anywhere near a mobile device. Simply download the following add-ons: User Agent Switcher Modify Headers Simply select the device you want to “look through” in User agent switcher and then grab a http user agent and paste it into Modify headers. User agents can be...