My recommendation: the next time it boots up: (1) download Prime95 for Linux by going to
http://www.mersenne.org/prime.htm (2) login as root and run mprime's torture test in a terminal for at least 24 hours.
If the computer locks up or mprime gets an error, you know that there is a hardware problem (probably either the motherboard or the memory).