FusionReactor itself does not directly support this. You could however create a CF page that runs as a scheduled task with the following content:
Depending on the value of 'cpuUsage' you could trigger an arbitrary action, e.g. doing a "net stop 'ColdFusion MX 7 Application Server' && net start 'ColdFusion MX 7 Application Server'". You could do this also in Java with the Runtime class – see http://javaalmanac.com/egs/java.lang/Exec.html for more details.
Another approach would be to use a more sophisticated service wrapper to run JRun. We have made good experiences with the Java Service Wrapper from Tanuki, which is an Open Source tool available at http://wrapper.tanukisoftware.org.
See http://wrapper.tanukisoftware.org/doc/english/introduction.html#reliability and http://wrapper.tanukisoftware.org/doc/english/introduction.html#restarts to see how it could help you.
|Components:||CPU + Memory, FusionReactor Settings|
|Last Updated:||20/Jun/07 2:26 PM|