Archive | May, 2013

Pom Pom Island – Sabah, Malaysia

What an amazing place! Pretty sure I’ll write about this trip (for once) because I had such a GOOD time!

Truly a paradise, crystal clear turquoise waters, amazing diving, great company, breathtaking sunsets – brilliant!

Pom Pom Island - Sabah, Malaysia

More soon.

Tags: , , , , , , , , , ,

Continue Reading · No Comments · Malaysia, Trips & Travel

Best Vadering Picture EVAR!!111onetyone

Best.Vadering.Picture.Evar.

Best Vadering Picture

Created by me and most of the Tech Team on Langkawi Berjaya Resort beach at our team retreat last week.

We did an Iron Man one too, but it was out of focus or something.

You might remember, recently there have been a few videos going around of strange sightings in Stuttgart. The latest video reveals the whole liquid and metal concept with an awesome collaboration car built by AMG & Petronas.

Nice looking ride I must say.

Tags: , , ,

Continue Reading · No Comments · Weird/Humour

The Vendor Client Relationship – In Real Life Situations

So true, so good – and sadly, happens so much.

I get this kind of stuff so much during freelance projects it’s ridiculous.

Don’t be that client (agencies are ESPECIALLY bad at this).

Like one that assumed because I’m a blogger, I’d give my pictures away for free (or near enough) for a commercial ad campaign.

When I e-mailed them with a reasonbly cheap quote, they never even had the decency to e-mail me back with a rejection – or anything at all. Pretty disgusting, and prior to me e-mailing the quote, the girl had the gaul to call me and hassle me about using my pictures on a Sunday morning.

Respect people’s time & privacy, from her tone she was basically requesting permission to use my pics without expecting me to ask for payment. And it wasn’t a small agency, for anyone that’s interested it was GroupM.

For the record, ‘exposure’ isn’t worth diddly squat – I’ve been down that road before and all it leads to is more people who want shit for free. Here’s another good one on that topic:

If you want some kinda guidance, you can check out this natty flow chart thing – https://shouldiworkforfree.com/

So yah, don’t be that client 🙂

Tags: , , , , , , , ,

Continue Reading · No Comments · Serious Issues

monit For Wowza on Ubuntu 12.04 LTS

So Wowza is a cool media streaming server, but sometimes it crashes..for no apparent reason – or perhaps sometimes you’ve just got the memory limit set too high for the machine and the process gets reaped.

Either way it’s pretty important to keep it running, my favourite tool for this kind of job (process monitoring, restarting etc) is monit:

Monit is a free open source utility for managing and monitoring, processes, programs, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.

So how to get it up and running? Assuming you’re using the regular Wowza package, it already comes with an init.d script located at /etc/init.d/WowzaMediaServer, assuming that’s the case, this config will work fine for you.

sudo aptitude update; sudo aptitude install monit

That installs monit, then all you need to do is create & edit:

sudo nano /etc/monit/conf.d/wowza.conf

In that file put:

# /etc/monit/conf.d/wowza.conf
check process wowza with pidfile /var/run/WowzaMediaServer.pid
start program = "/etc/init.d/WowzaMediaServer start" with timeout 60 seconds
stop program = "/etc/init.d/WowzaMediaServer stop"
if 2 restarts within 3 cycles then timeout
if children > 255 for 5 cycles then stop
if totalcpu usage > 95% for 3 cycles then restart
if failed port 1935 protocol http then restart

Then (just for good measure):

sudo service monit restart

If you are using a different Linux flavour, or install style, your PID and stop/start script might be in different locations so you’ll have to edit accordingly.

This will monitor the Wowza process and makes sure it’s running, the default check period is 2 minutes, so with this set up the most the Wowza service can be down for is 2 minutes. It will also restart the service if it’s using more than 95% of the total CPU available for more than 6 minutes.

Enjoy 🙂

Tags: , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps