Computer hardware is not perfect; manufacturing errors do still occur, and parts that once worked fine can develop problems over time. These problems may not be as obvious as a system that simply fails to work. A variety of CPU stress testing software exists to help weed out bad systems and identify those that work properly. The testing typically performs long and grueling mathematical calculations, exercising every part of the system and alerts the user upon any failure.
Prime95/MPrime
Prime95 for Windows and its Linux equivalent, MPrime (playtool.com), are popular and free Mersenne prime number search programs. Seeking prime numbers is an intense and time-consuming process that requires precise calculations. Prime95 and MPrime will halt and alert the user if any calculation fails. They come with a "torture testing" mode specifically designed for putting your computer's hardware through its paces and can optionally contribute your calculations to an Internet-wide collaborative effort to find new prime numbers.