7

Is there is a software or a way to suspend a process according to the CPU temperature? Sometimes when I render video the CPU temperature increases a lot, so I have to suspend the process in resource monitor in Windows, but I would like to automate this with software.

  • 2
    I think the important thing is why is something so CPU intensive causing your processor to become so hot that you're concerned it'll damage it... Have you cleaned the heatsink and fan? Have you got your case in a well ventilated location? Have you considered upgrading the heatsink and fan for better heat dissipation knowing you do a lot of CPU intensive activity...? – Kinnectus Jul 18 '15 at 7:32
  • -1 You should not have to do this. The CPU is designed to be fully used for extended periods of time. You should check your cooling and case airflow. – kinokijuf Jul 18 '15 at 10:32
  • @kinokijuf While you are correct, sometimes there is a need for a practical solution. – Peter Jul 18 '15 at 13:07
  • 2
    I'm voting to close this question as off-topic because the user has a XY problem – kinokijuf Jul 18 '15 at 13:38
  • @kinokijuf Using a stock cooler on a new second gen i7 is in not sufficient to keep your CPU cool for this type of activity (I've tried). Rendering video will use all of your cores for hours and the temp WILL slowly creep up. You could spend money and buy a good 3rd party cooler OR you can use a solution such as the one I've given. The OP has given you all of the information you need in order to understand the problem (which IS the 'How to Avoid' solution proposed in the link you gave). – krowe Jul 18 '15 at 16:01
11

This solution will require the programs, SpeedFan and PsSuspend.

  1. First create a batch script that will do what you want. Something like:

    pssuspend \\yourPCName vlc
    

    Replacing the parameters with the correct values for your situation. Test this to make sure it is suspending your jobs correctly.

  2. Now, go to the SpeedFan configure dialog and select the 'Events' tab. Then, create an event to launch the script when your criteria are met:

SpeedFan configure dialog

Note: This picture is from a similar event I created which used a VBS script. Your BATCH file location would go in the box which shows wscript.exe and the next box (the parameters) would most likely be blank.

As you can see, SpeedFan calls my CPU, 'AUX'. SpeedFan is a little bit buggy but it'll do what you want more or less. One thing to look out for is that the two numeric up\downs on the second line of event configuration don't seem to work at all. They don't even save properly so I'd say to forget about them and use your script to manage multiple instances.

Note: pssuspend with the -r switch can also be used to resume the job once speedfan detects the machine is cool again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.