OK, I think that we are getting somewhere! Eventually - after several attempts - the CF server came back to life. Downloaded the 'killclientvars.zip' file, unpacked it and put it into a folder called 'clientvarremoval' in one of the virtual sites on the Cobalt. When you run 'get_registry_keys.cfm' from the browser (IE for Mac) nothing happens - just whirls away for minutes on end. I thought that it might take a while as our registry has got *so* big but after 10 mins thought that something wasn't right. Does it just take a long time or are we doing something wrong? Should we be switching some sort of debugging on so that we can see where it is going wrong?
(I did notice that it talks about Windows and Solaris but doesn't list Linux on the OS - does this matter?) Thanks, Matt. On 14/1/03, Steven Erat <[EMAIL PROTECTED]> wrote: >Restore the original cf.registry from the most recent backup that you have of it, >then follow the instructions from this: > >>Deleting Client Variables Stored in the Registry >>http://www.allaire.com/Handlers/index.cfm?ID=20340&Method=Full > > >I assume you backed up this file before having attempted to modify it. > > > > > > > >-----Original Message----- >From: Matthew Smith [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, January 14, 2003 6:33 PM >To: CF-Linux >Subject: RE: Performance Halt on CF Server 5 on Linux > > >Thanks for the replies but I seem to have messed it up! I stoped CF, zipped up the >'cf.registry' >and downloaded it. Put it into BBEdit and deleted everything that was repeated, ie >most of the >lines starting: > >hkey_local_machine\software\allaire\coldfusion\currentversion\clients\100000-16063988:502410196 >HITCOUNT: 1; REG_SZ >LASTVISIT: {ts '2002-12-22 10:13:51'}; REG_SZ >TIMECREATED: {ts '2002-12-22 10:13:51'}; REG_SZ > > >I just left 5 entries like this with the original 'header' and 'footer'. This is >obviously not the >right thing to do as having uploaded it and restarted CF it told me that our copy had >expired! It >then said that the registry needed to be updated (I think). Fearing that I had >messed it all up, I >deleted the 'cf.registry' and moved back into the 'registry' folder the original >'cf.registry'. > >BUT CF now won't start! What is the best thing to do?!!! Have rebooted twice but >still no joy - >delete the registry complete and re-install?! > >Thanks. > > >Matt. > >On 14/1/03, Steven Erat <[EMAIL PROTECTED]> wrote: > >>>> "after the next restart it went back to *exactly* the same file size" >> >>When you edit the cf.registry by hand, you must do so when CF is stopped. It holds >a copy in >memory and immediately overwrites any modifications if the server is running. >> >>You should confirm that there are no applications that are hard coded to use the >registry for >client storage by examining all <CFAPPLICATION> tags in all apps. You should also >confirm that the >registry is not set as the default client store on the Client Variables page in the >CFAdmin. >> >>See also: >>Deleting Client Variables Stored in the Registry >>http://www.allaire.com/Handlers/index.cfm?ID=20340&Method=Full >> >>Steven Erat >>Macromedia >> >>-----Original Message----- >>From: Matthew Smith [mailto:[EMAIL PROTECTED]] >>Sent: Tuesday, January 14, 2003 9:30 AM >>To: CF-Linux >>Subject: Re: Performance Halt on CF Server 5 on Linux >> >> >>Thanks, Stephen. I did try editing the file by hand (downloaded it and put it >though BBEdit) and >>re-uploaded it (went from 20 megs to 20K!) but after the next restart it went back >to *exactly* the >>same file size! Very frustrating as despite now running on a database for the >client variables, >the >>server still seems rather slow. >> >> >>Matt. >> >>On 14/1/03, Stephen Moretti <[EMAIL PROTECTED]> wrote: >> >>>> >>>> We seem to be making some progress but the server still doesn't seem >>>right. We setup a MySQL >>>> database and have set this to store all Client Variables. We then removed >>>from the 'registry' >>>> folder (in opt/coldfusion) all the random files that had been created >>>leaving just 'cf.registry' and >>>> 'cf.registry.template'. Restarted the machine and it has instantly made >>>two more random files and >>>> now look like this: >>>> >>>> -rw------- 1 coldfusi bin 26681822 Jan 14 13:34 cf.registry >>>> -rw------- 1 coldfusi bin 1829 Jun 13 2001 >>>cf.registry.template >>>> -rw-r--r-- 1 coldfusi bin 0 Jan 14 13:35 >>>file0mcPW4.-1125748503 >>>> -rw-r--r-- 1 coldfusi bin 18145539 Jan 14 13:41 >>>filenMv5aj.-1125398939 >>>> >>>> How can we get rid of these files and reduce the size of 'cf.registry'? >>>> >>> >>>Michael Dinowitz wrote a registry cleaning tag some time ago. You can find >>>it here : >>>http://devex.macromedia.com/developer/gallery/info.cfm?ID=CA347269-2830-11D4 >>>-AA9700508B94F380&method=Full >>>In the dev exchange..... >>> >>>Ah.... Just realised.... its a CFX..... >>>Ermmm.... I'm not sure exactly what Michael's tag does, but I suspect it >>>just removes the registry entries for the client variables. They are stored >>>under >>>"hkey_local_machine\software\allaire\coldfusion\currentversion\clients\", so >>>you can more than likely just use cfregistry to have a read through and >>>delete of all the entries stored under there. >>> >>>Another solution is to edit the file by hand, but that's not feasible with a >>>file 20mb in size.... >>> >>> >>>Hope this helps >>> >>>Regards >>> >>>Stephen >>> >>> >>> >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=14 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=14 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14
