Skip to main content
Participant
August 30, 2006
Answered

Shrink Registry (CFVariables)

  • August 30, 2006
  • 1 reply
  • 655 views
Hi

We've been having a few problems with our servers recently and looking into it I discovered that the software registry hive on both servers was around 2GB, now I know that windows 2003 doesnt impose a limit on Hives but from my standpoint this isnt good for the health of the server (explains why somtimes it takes ages to boot and we get BSODs on hives). After a bit of rooting around I discovered that Coldfusion 6.11 is storing the client variables in the registry. I'm looking to swap this over to a SQL database in the new few days.

My real question is, does Macromedia/Adobe provide a util that will clean out all the items its been storing in the registry so I can get my server back to normal?
    This topic has been closed for replies.
    Correct answer Kosch
    I downloaded the following purge tool from adbove at http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_17881

    This cleared out over 450,000 entries stored in the registry.
    Although the registry for the software hive was still 2GB, I then used a Registry Compacting tool (probably the best one I've seen) from http://www.experimentalscene.com/download.php?list.2 this then shrunk the software hive down to 14MB!

    I've now converted to using SQL storage and just need to wait now to see if we keep getting Hive BSOD's . This was on Windows 2003 Standard Edition SP1

    Doug

    1 reply

    Participating Frequently
    August 30, 2006
    I am quite positive there are CF scripts out there to do this task systematically. We had this issue a while back on CF5 servers storing the client vars in the registry.
    All that really needs to be done is purging the key located here(CF5):
    HKLM\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Clients



    KoschAuthorCorrect answer
    Participant
    August 31, 2006
    I downloaded the following purge tool from adbove at http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_17881

    This cleared out over 450,000 entries stored in the registry.
    Although the registry for the software hive was still 2GB, I then used a Registry Compacting tool (probably the best one I've seen) from http://www.experimentalscene.com/download.php?list.2 this then shrunk the software hive down to 14MB!

    I've now converted to using SQL storage and just need to wait now to see if we keep getting Hive BSOD's . This was on Windows 2003 Standard Edition SP1

    Doug