I agree with amishrabbi. A computer will typically shut itself off if the CPU or motherboard temperature gets too high. Aside from SpeedFan, there is also CPU-Z and Everest. You should also clean the fans and heatsinks, ensuring that the dust build-up (if any) is removed.