I’m not sure if this has been discussed in other threads, but if pirates are such a big problem, why don't the crews of ships ARM THEMSELVES??? I really have trouble seeing why they don't do this. Even if you had just one AK47 on a ship and a person who was even remotely trained with it, they could defend an entire tanker. Its really easy to see if another little boat is approaching your ship. All you have to do is grab the AK, fire some warning shots at it. If they fail to stop, light them up. Its not like there is much cover that can be used on those crappy little boats those pirates ride. Then on top of that they would have to board the ship while being shot at. As for them firing back, well its pretty hard to lay down any accurate fire when riding those little rafts that get knocked around everywhere.
Is there a reason crews have not taken to arms to defend their ships?
Whenever the question "but why don't thy..." is asked, 99% of the time the answer is the same. "money".
To do what you describe shipping companies would need to :
Buy in weapons. Buy in ammunition. This could range from a few grand per ship to a few million per ship, depending on what you buy.
Hire personnel to man the weapons. Here's your big worry. Most cargo ships have tiny crews; mounting even a single 24/7 guard means putting 2 or 3 extra crew on each ship. For a decent all around watch you can multiply that by 3 or 4, and you probably just doubled your personnel costs per trip at least.
Not to mention all that is harder and more expensive still if you want to operate in the dark.
Then there's the training for all these armed guards.
Then there are the insurance issues. How much is an insurance company going to charge you, per armed guard, to protect against some guy unloading at a passing fishing boat because he got spooked? I don't know, but I imagine it would be a lot.
And bear in mind that 99% of the time, these precautions accomplish precisely nothing because most shipping isn't attacked.
Somewhere along the way a bean counter has worked out the total cost of protecting all these ships, and then looked at the total cost of just paying off the pirates, and decided that X > Y.
Course the trouble with that calculation is that as the pirates realise how easy it is, they too will grow in numbers and audacity. This will happen until we reach a tipping point where Y becomes less than X, and that is the point at which armed guards will magically appear all over these ships.