>> "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
