dah85.com

*not* just another blog ;)

Reviewing woothosting web hosting

- Posted in VPS by with comments

A few months ago I came across an offer from woothosting which looked too good to be true, and being my first experience with woothosting, I thought I'd give it a try:

Spring Reseller Hosting 200GB:
200GB Storage Allocation
2,000GB Monthly Bandwidth
Shared IP Address
cPanel/WHM Control Panel
Unlimited Sub Accounts
Softaculous Script Installer
Free Website Migration
24/7 Technical Support
Instant Deployment
FEATURE: Advanced DDoS Protection Included!
[$9.00 Annually][2]

$9 per year is insanely cheap for web hosting, plus it's a reseller account meaning you can create and even resell accounts which is cool to play with.

When I signed up, I was given an option to double the disk space for $7 and add an SSH Jail for $1.50 - which brings it up to 400gb of space for $17.50 per year!

Fast forward by a week and I get an email from them saying they have issues with their server and are migrating to another node, which was fine, but my other website didn't work correctly (uses lychee) and after a few tickets back and forward, they fixed up the issue on their server.

In summary, I'd probably give them a 8/10 only because it's a great deal, but points lost for it being sometimes unavailable.

EDIT: If you are on Server81, things are perfect!

EDIT: Today is Tuesday 27th of Feb 2018, and I have some bad news to report.. Server81 is now also extremely overloaded and unstable. I've used uptimerobot to watch that server and send me an email if it goes down.. well, my inbox is flooded with UP/DOWN emails.. uh oh!

Sometimes, when I quit Battlefield 1942, the screen resolution goes to a horrible 800x600 which makes everything, well, horrible. I used to reboot to fix it, but then I found a solution that's much nicer, plus it's also handy if you like to play with screen resolutions too!

If your screen resolution is, say, 1920x1200 then to reset it back use this command:

xrandr -s 1920x1200

Replace those values with your screen resolution and you're good to go!

Maybe add this to a script as a shortcut, or as a keyboard shortcut.

Reviewing a 6GB RAM VPS from TNAHosting

- Posted in VPS by with comments

Today I will be looking at a VPS that falls in 2 categories - storage VPS and high RAM VPS.

Here's a deal from TNAHosting:

  • 6GB OpenVZ - Chicago, IL
  • 1 IPv4 [IPv6 available]
  • 2x vCPU
  • 200GB HDD
  • 2TB Bandwidth
  • $5/m - Order Here

200GB HDD with 6GB RAM and 2 cores is a pretty sweet deal for $5 per month. Let's see what it looks like under pressure..

CPU model:  Intel(R) Xeon(R) CPU           L5420  @ 2.50GHz
Number of cores: 2
CPU frequency:  2500.020 MHz
Total amount of RAM: 6144 MB
Total amount of swap:  MB
I/O speed:  434 MB/s
Bzip 25MB: 5.88s
Download 100MB file: 42.8MB/s
CPU model:  Intel(R) Xeon(R) CPU           L5420  @ 2.50GHz
Number of cores: 2
CPU frequency:  2500.020 MHz
Total amount of RAM: 6144 MB
Total amount of swap:  MB 
I/O speed:  470 MB/s
Bzip 25MB: 6.03s
Download 100MB file: 53.2MB/s
CPU model:  Intel(R) Xeon(R) CPU           L5420  @ 2.50GHz
Number of cores: 2
CPU frequency:  2500.020 MHz
Total amount of RAM: 6144 MB
Total amount of swap:  MB
I/O speed:  483 MB/s
Bzip 25MB: 6.00s
Download 100MB file: 52.1MB/s
CPU model:  Intel(R) Xeon(R) CPU           L5420  @ 2.50GHz
Number of cores: 2
CPU frequency:  2500.020 MHz
Total amount of RAM: 6144 MB
Total amount of swap:  MB 
I/O speed:  506 MB/s
Bzip 25MB: 5.87s
Download 100MB file: 43.2MB/s

We're getting 2x 2.5ghz Xeon cores and 6GB of RAM, no swap (but with 6GB of RAM why would you want to swap it to HDD?) The I/O speed is impressive, it could be cached by the looks of it, but that's a very good result! And the CPU is fast! Navigating the system through SSH feels very responsive and things happen quickly.

Here's a different perspective:

 ----------------------------------------------------------------------
CPU model            : Intel(R) Xeon(R) CPU L5420  @ 2.50GHz
Number of cores      : 2
CPU frequency        : 2500.020 MHz
Total size of Disk   : 197.0 GB (0.7 GB Used)
Total amount of Mem  : 6144 MB (37 MB Used)
Total amount of Swap : 0 MB (0 MB Used)
Load average         : 0.12, 0.09, 0.03
OS                   : Ubuntu 16.04.1 LTS
Arch                 : x86_64 (64 Bit)
Kernel               : 2.6.32-042stab123.9
----------------------------------------------------------------------
I/O speed(1st run)   : 498 MB/s
I/O speed(2nd run)   : 513 MB/s
I/O speed(3rd run)   : 496 MB/s
Average I/O speed    : 502.3 MB/s
----------------------------------------------------------------------
Node Name                       IPv4 address            Download Speed
CacheFly                        205.234.175.175         43.6MB/s
Linode, Tokyo, JP               106.187.96.148          461KB/s
Linode, Singapore, SG           139.162.23.4            1.12MB/s
Linode, London, UK              176.58.107.39           2.16MB/s
Linode, Frankfurt, DE           139.162.130.8           1.21MB/s      
Linode, Fremont, CA             50.116.14.9             1.60MB/s      
Softlayer, Dallas, TX           173.192.68.18           4.27MB/s      
Softlayer, Seattle, WA          67.228.112.250          2.47MB/s      
Softlayer, Frankfurt, DE        159.122.69.4            1.19MB/s      
Softlayer, Singapore, SG        119.81.28.170           913KB/s       
Softlayer, HongKong, CN         119.81.130.170          1.57MB/s      
----------------------------------------------------------------------

Disk access is incredibly fast on this VPS, this looks like the perfect VPS for Plex Media Server!

A good test is to see how well Plex can transcode a 1080 movie and stream it to me here in Australia - not all providers can achieve this due to CPU/RAM restraints or network issues. This VPS, being in Chicago, by default doesn't have a great connection to the Asia/Pacific region, which is true for most providers.

I have installed Plex and can happily report that I was able to successfully transcode and stream a 1080 movie to my place in Australia. This VPS is excellent value for the price, I highly recommend it to anyone who needs a VPS to do more than just idle away!

From what I understand, there is limited stock on this so take action now and order it if you're looking for a good VPS.

I have also added this to my Storage VPS list.

Benchmarking a time4vps storage VPS

- Posted in VPS by with comments

Time4vps have been providing high storage VPS for a while now, and they're one of the popular providers for storage.

Here's an offer from them in their datacenter in Lithuania, Europe.

  • 1x1.7ghz processor
  • 1GB RAM
  • 1TB HDD (RAID, 200IOPS limit)
  • 10TB bandwidth
  • 100mbit network
  • OpenVZ
  • Hosted in Lithuania, Europe.
  • 5.99 EUR/month

This looks like a good storage deal for the price, there's plenty of bandwidth too. The 200 IO/s is an interesting limit, meaning 200 I/O operations per second. Let's see what it looks like with a benchmark script:

CPU model:  Intel(R) Xeon(R) CPU E5-2603 v4 @ 1.70GHz
Number of cores: 1
CPU frequency:  1698.052 MHz
Total amount of RAM: 1024 MB
Total amount of swap: 512 MB
I/O speed:  66.4 MB/s
Bzip 25MB: 6.85s
Download 100MB file: 11.4MB/s

That's not too bad, the CPU seems to be fairly available and the 100mbit connection capped out.

Here's more..

CPU model:  Intel(R) Xeon(R) CPU E5-2603 v4 @ 1.70GHz
Number of cores: 1
CPU frequency:  1698.052 MHz
Total amount of RAM: 1024 MB
Total amount of swap: 512 MB    
I/O speed:  57.3 MB/s
Bzip 25MB: 6.81s
Download 100MB file: 11.4MB/s
CPU model:  Intel(R) Xeon(R) CPU E5-2603 v4 @ 1.70GHz
Number of cores: 1
CPU frequency:  1698.052 MHz
Total amount of RAM: 1024 MB
Total amount of swap: 512 MB
I/O speed:  65.9 MB/s
Bzip 25MB: 6.75s
Download 100MB file: 11.4MB/s

I think the IOPS cap is coming into play here, being a storage server it's probably a good thing to avoid noisy neighbours from making the disk unstably slow.

It runs nextCloud fine, although a little slow when loading pages, it's not as snappy as some other providers. The fact that it's openVZ really, in my opinion, disqualifies it from being useful to me (I love KVM and encrypted LVM volumes for my private data)

If you need cheap storage, consider this offer from time4vps.

Automating rsync with sshpass

- Posted in Quick Tip by with comments

I have made a script that every 5 minutes downloads a still shot of the weather radar in my area and saves it into a folder on my server. This is done using a bash script and crontab.

On my computer, I've made a bash script to sync them, but it requires me to enter my password all the time for rsync.

I found a solution to that called sshpass.

First, we need to install it:

apt install sshpass

Now, we can use it. In my case, I'm using a bash script and a cron job to sync them every hour. Here's what my bash script looks like, using sshpass:

echo "Setting up.."
export SSHPASS=supersecretpassword
echo "Syncing..."
sshpass -e rsync -Aax --progress [email protected]:/remotefolder /localfolder
echo "Cleaning up.."
echo "Done!"

The main thing is that you set the password variable, and keep the -e tag in sshpass (tells it to use an environment variable)

Hopefully that helps someone!

Cheapest domains

- Posted in Quick Tip by with comments

I have recently been looking at domains, and it's a tough choice with so many different providers offering them.

I have searched high and low, and I can't find one cheaper than namesilo.com

They have .com for $8.99 every year, no funny renewal price hikes or tricks. These guys are awesome value. They have the free email forwarding and an excellent DNS control panel.

If you use the coupon halloween1dollaroff you will get $1 off which brings the .com down to $7.99.. see if you can find a cheaper one :)

I came across this cheap NAT KVM Storage offer from wishosting recently and I thought I would do some benchmarks on it to see how it performs. Here's the deal:

  • 1 vCPU core i7-3770
  • Unlimited CPU core 3.7GHz Turbo
  • 1GB RAM
  • 1TB HDD RAID-5
  • Linux/Windows OS
  • Bandwidth 250Mbps
  • Traffic 2TB
  • 1 IPv4 NAT
  • DDoS protection
  • Location - Germany
  • Setup time up to 24 hours
  • $4.99/month (paid quarterly)
  • $5.00 one off for a dedicated IPv4

I decided to make my life a little easier and got the IPv4 upgrade. The KVM is in Germany, and the IPv4 is in France, it does some crazy proxy trickery but it works perfectly! A couple of hours later, Michael from wishosting had my account set up and even helped with some questions I had. I must say, he's very professional in his ticket etiquette!

Here's some benchmarks:

CPU model:  Intel Xeon E312xx (Sandy Bridge)
Number of cores: 1
CPU frequency:  3399.998 MHz
Total amount of RAM: 988 MB
Total amount of swap:  MB
I/O speed:  447 MB/s
Bzip 25MB: 5.16s
Download 100MB file: 89.5MB/s
CPU model:  Intel Xeon E312xx (Sandy Bridge)
Number of cores: 1
CPU frequency:  3399.998 MHz
Total amount of RAM: 988 MB
Total amount of swap:  MB    
I/O speed:  478 MB/s
Bzip 25MB: 5.15s
Download 100MB file: 87.3MB/s
CPU model:  Intel Xeon E312xx (Sandy Bridge)
Number of cores: 1
CPU frequency:  3399.998 MHz
Total amount of RAM: 988 MB
Total amount of swap:  MB  
I/O speed:  459 MB/s
Bzip 25MB: 4.84s
Download 100MB file: 91.2MB/s
CPU model:  Intel Xeon E312xx (Sandy Bridge)
Number of cores: 1
CPU frequency:  3399.998 MHz
Total amount of RAM: 988 MB
Total amount of swap:  MB    
I/O speed:  527 MB/s
Bzip 25MB: 4.12s
Download 100MB file: 91.0MB/s

This is a very speedy KVM service! It feels very snappy, sometimes servers feel a little slow but this feels like I'm the only user on the node which is amazing! I would definitely recommend this to anyone looking for a great value KVM with 1TB of storage!

Here is a table of various locations around the world, and a note on the ping and download speed from each location.

This is from the perspective of Brisbane, Australia. Speed is shown in megabytes per second. Speed is taken by using wget to a 100mb.bin file in each location, the final speed reported by wget is the speed shown below. Ping is taken by pinging the server. Quality is the amount of packets that made it. 100% is no packet loss, 0% is full packet loss.

Location Ping Speed Quality
Atlanta, GA, USA 240 1.83MB/sec 100%
Dallas, TX, USA 201 5.66MB/sec 100%
Tokyo, JP 189 5.76MB/sec 100%
Rotterdam, NL 317 3.69MB/sec 100%
London, UK 318 3.29MB/sec 100%
Haarlem, NL 172 5.38MB/sec 100%
Singapore, Singapore 117 3.33MB/sec 100%
Seattle, WA, USA 185 3.59MB/sec 100%
San Jose, CA, USA 174 4.38MB/sec 100%
Washington, DC, USA 230 4.09MB/sec 100%
Paris, France 319 3.97MB/sec 100%
Nuernberg, Germany 420 0.46MB/sec 95%
Perth, WA, Australia 70 7.52MB/sec 100%
Sydney, NSW, Australia 25 10.12MB/sec 100%
Manassas, VA, USA 236 4.09MB/sec 100%
Bucharest, Romania 374 3.36MB/sec 100%
Milan, Italy 326 3.35MB/sec 100%
Quebec, Canada 235 6.59MB/sec 100%

Last updated: 31/10/2017 @ 13:32

This is more of a note to self, but I hope it helps someone else because I tried googling and couldn't find anything similar.

I just noticed that crontab emails to [email protected] every single time it runs a job, and I have hundreds of thousands of emails (unread) thanks to crontab. This is annoying and here's how to stop it.

sudo nano /etc/crontab

Add a line that just says:

MAILTO=""

Alternatively, if you want to change the email that the notifications get sent to, you can change the value here.

Looking at a 400GB KVM from LETbox

- Posted in VPS by with comments

I found this great little KVM from LETbox on the lowendtalk forums and thought i'd do some benchmarking on it.

  • 2048MB Dedicated RAM
  • 2x vCPU @ 3.20+ GHz
  • 400 GB Dedicated HDD space (Raid10 SAS)
  • 10GB x SnapShot Backup
  • 3TB/Month @ 1 Gbps burstable
  • 1x IPv4 Free 5 Minutes Server Monitoring + Blacklist (Email and SMS alert)
  • Free SMS Unpaid invoice Alert
  • IPV4 rdns Management
  • 20Gbps DDoS-Shield Mitigation
  • KVM/Proxmox
  • $5.95/month / $65 /Yearly
CPU model:  Common KVM processor
Number of cores: 2
CPU frequency:  3300.022 MHz
Total amount of RAM: 1996 MB
Total amount of swap:  MB
System uptime:   2 days, 20:46,       
I/O speed:  92.0 MB/s
Bzip 25MB: 4.94s
Download 100MB file: 87.0MB/s

The server is on Proxmox, has a lot of different ISOs to choose from and is quite fast. Support are fairly helpful, and downtime is minimal but it has happened before. They reimbursed my account for a small downtime without even asking, so this is pretty good.

This is perfect for a < 400GB nextCloud or Plex setup. Mine recently exceeded this amount, so I've moved onto a different option from another provider, but my time with LETbox has been great!