First, what are you drilling? PR, acrylic, wood, metal?
To me as a woodworker, 5 inches is not that long and it can be done. However, it does take patience and knowing the material and the speed of the drill and having the right bit.
On longer drilling, the right bit is critical to be matched to the material and speed for proper evacuation of the material. IF not, then small cuts and pull out, more small cuts and pull out and again and again. IF this is not followed, the saw dust or plastic removed will ball up in the flutes and create an enormous amount of heat.
To me, it sounds like you are drilling PR. Either way, taking time is a necessity. Another way around this is cutting the blanks in half and drilling each end.