Working 24/7 vs Having too much free time

A shower thoughts post this one.

Most of us have been to both situations at some point in our life. Either working literally 24/7 having zero time to breath or having nothing to do for a while with endless free time and boredom.

What is the best? How can we maintain productivity and sanity in both situations?

Lets start with having too much free time.