It is commonly shown in movies that pirate ships would flank their target, and then shoot huge salvos of cannonballs at it.
I think that it doesn't really make any sense: if they wanted to steal a ship or its contents, shooting 10-20 cannonballs at it from close range would certainly sink the ship or spoil its cargo!
Did pirates commonly shoot salvos of cannonballs at their targets?