This has been a major problem for us too.  We had some CF apps that ran stable for months with 100's of users on CF 4.0 and as soon as we upgraded to CF 4.5 they would crash with only a couple of users.  A 'Server busy' error would be displayed.  After we locked all the writes to Application & session variables the apps were stable.  Something was changed in the way CF handles shared variables between CF 4.0 & 4.5/5.0.  Locking never seemed to be a major issue with 4.0 and now it is critical.

Scott


Scott Chidester
i2 Technologies




"BILLY CRAVENS" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

11/27/01 09:40 AM
Please respond to list

       
        To:        <[EMAIL PROTECTED]>
        cc:        
        Subject:        Re: differences in cf 4.5 vs cf 5



Palyne,

Unfortunately, yes.  Lest you leave them alone and at the mercy of memory
corruption.

I know I have many applications where I haven't used CFLock at all.
However, all new development of mine is designed with locking scoped
variables - and as a result, I find myself less and less reliant upon the
session and application scope.

----- Original Message -----
From: "Palyne Gaenir" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 26, 2001 11:44 PM
Subject: RE: differences in cf 4.5 vs cf 5


> Dear Dave,
>
> Do your comments below infer that all the applications I have created
> the last few years which may use a session.value, I have to go
> through every page on every site and find all the session var
> references and put cflock tags around every one?  Boy.  That's a lot
> of work, if so....
>
> Palyne
>
> On 21 Nov 2001, at 10:17, Dave Cahall wrote:
> > I do not think this should be effecting your page, but I notice
> > that you do not have CFLOCK tags around your queries and you are
> > using a session variable for the datasource name.  You could also
> > convert the datasource name to the request scope in your
> > Application.cfm file and avoid the need for the CFLOCK tags (which
> > I highly recommend).  My experience says this will be a REAL
> > problem in CF 5.0 is you have shared scope variables without using
> > CFLOCK tags.
>
>
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
>
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org
>

-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org


Reply via email to