Kill processes automatically that get over x % CPU
This post suggest using monit.
As you have given no details as to the nature of the process, I can't advise whether their suggested config would be of any use for you.