client variables stored in the Registry

Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default client variables stored in the Registry

    [url]http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_17881[/url]

    Using the registry tool I found 3700 client variables stored in the registry
    on our appserver, but then on our external server we had over 11,000... (both
    single server dual cpu xeon, CF 6.1ish).... but how many is too many? Is there
    a recommended range-for-server-capacity?

    We have had memory/instability problems on the external server in the past, I
    was wondering if we could attribute the errors to this issue.

    Thanks for the feedback,

    Chris

    Beards247 Guest

  2. Similar Questions and Discussions

    1. managing client variables in a db using stored procs
      :beer; is it possible to configure coldfusion to use stored procedures when managing database stored client variables, instead of direct SQL...
    2. Using stored procedures for handling client variables
      :confused; I am toying with the security settings on our database. I want to limit all activity to and from the SQL 2000 database to using only...
    3. Oracle Thin Client and Stored Procedures
      We have a stored procedures in Oracle that we are trying to call from ColdFusion MX 7 using the Oracle Thin Client. The request hangs -- we never...
    4. Can utf-8 chars be stored safely in char variables?
      Thus asketh the developers: What datatypes can we safely store utf-8 data in? Version: IDS 9.3 Backround: We are going to write applications in...
    5. Incorrect stored password/client ID
      Today I logged in to a site and typed in an incorrect Client# and password. A Windows message popped up asking if I wanted to have that data...
  3. #2

    Default Re: client variables stored in the Registry

    FYI

    I would highly suggest you create a database, datasource for your
    client variables. While the default storage for client variables is
    the registry, it is in no way the preferred method, in fact, it is not
    recommended even by Adobe/Macromedia.

    I don't have the instructions on-hand; however, it's pretty
    straightforward:
    1> Create a database ( any supported type ) and create a user with
    sysadmin priviledges ( to start with )
    2> Create a data source for this connection
    3> Change the client variables storage to this new datasource
    4> Permit the scripts to run to create necessary tables
    5> Change the user in the database from sysadmin to read/write user

    LinuxInductee Guest

  4. #3

    Default Re: client variables stored in the Registry

    It is actually best not to use the registry for storing client variables as it
    can cause performance issues. You should store them in a database. You can
    use the same database as your application, but you should use a separate dsn.
    Also you should use a database that uses jdbc connections not odbc.

    See the following:

    [url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/[/url]
    wwhelp.htm?context=ColdFusion_Documentation&file=0 0001154.htm


    [url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/[/url]
    wwhelp.htm?context=ColdFusion_Documentation&file=0 0001707.htm.

    This document indicates you can use the same dsn, but it is best not to.

    Also if you are still at CFMX 6.1 you'll want to install the client variable
    hot fix from [url]http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=b3a939ce[/url].

    Ted Zimmerman

    tzimmerman Guest

  5. #4

    Default Re: client variables stored in the Registry

    I realize that I did not ask your questions. I can't answer questions
    related to the registry because we haven't used that approach, but I
    can talk to you about your next question relating to memory.
    > We have had memory/instability problems on the external server in the past, I
    > was wondering if we could attribute the errors to this issue.
    The registry is actually a pair of file databases and as long as your
    advanced settings give you the space you will not see memory related
    problems from it. Since you are not giving specifics as far as memory
    problems I have to assume some things, like stand-alone installation
    vs. multi-server, some flavor of Windows, and you don't mention how
    much memory is on the box or what other applications are running (
    IIS/Apache, firewalls, database(s), ... )

    Memory optimization is not straight forward. Problems can range from
    - memory leaks in one or more services ( cf session variables and their
    expiration can be tough to juggle )
    - application design
    - server capacity ( size of app(s) vs. number of users )( number of
    apps )( onboard SSL )( ... )
    - hardware reliability ( mismatched or segmented RAM chips - they don't
    last forever and even new ones can have a bad spot )
    - JVM configuration ( min/max heap, ... )
    - Users using the server as a desktop to surf! ( lol, just found a
    company specializing in web hosting doing exactly that! the server was
    the CIO's desktop MAC!!!!!!!!!!!!!!!!! )

    So in the end, your question is way too vague to give good feedback. If
    you have a problem or error, it needs to be specified!

    LinuxInductee Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139