ok heres what i think your problem is, your cpu is probably over heating which causes the computer to re-boot, it re-boots the computer because it would fry otherwise, another problem might be your powersupply, also check inside your tower for any dust and in your heatsink and fan, remove all dust completly first before doing anything else for that might be the main casue of the overheating of your cpu