RE: WHYYYYY!!!!!!

2002-09-24 Thread Tony Weeg
esday, September 24, 2002 9:40 AM To: CF-Talk Subject: RE: WHY!! > > What I do know is that if you don't lock memory > > variables in CF 5 or earlier, your server will > > typically crash under load, and if you consistently > > lock memory variables with th

RE: WHYYYYY!!!!!!

2002-09-24 Thread Dave Watts
> > What I do know is that if you don't lock memory > > variables in CF 5 or earlier, your server will > > typically crash under load, and if you consistently > > lock memory variables with the SCOPE attribute, your > > server won't crash under load. > > I agree that empirical testing is the wa

RE: WHYYYYY!!!!!!

2002-09-23 Thread Matt Liotta
p; CEO Montara Software, Inc. http://www.montarasoftware.com/ 888-408-0900 x901 > -Original Message- > From: Dave Watts [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 23, 2002 4:28 PM > To: CF-Talk > Subject: RE: WHY!! > > > > Just curious, do pre-MX

RE: cflocking de-mystified (was RE: WHYYYYY!!!!!!)

2002-09-23 Thread Dave Watts
> yeah, I get that, but I guess what im looking for is > something like... > > 1 cfset = wait for processing 1 sec. > 1 cfset + 1 whatever = wait for proc. 2.5 secs. > > are there any metrics or best practices for this? No, I'm not aware of any. The thing is, you're not concerned with how long

RE: WHYYYYY!!!!!!

2002-09-23 Thread Dave Watts
> > Just curious, do pre-MX versions of CF require > > scope-level locking (as opposed to named locks) > > for safe access to session variables? > > No they don't require it. In fact scope locking only > came in as a cool new feature with CF4.5 . Logically > both will do the job, although as J

RE: WHYYYYY!!!!!!

2002-09-23 Thread Matthew Walker
> Just curious, do pre-MX versions of CF require scope-level > locking (as > opposed to named locks) for safe access to session variables? No they don't require it. In fact scope locking only came in as a cool new feature with CF4.5 . Logically both will do the job, although as Jason pointed ou

RE: cflocking de-mystified (was RE: WHYYYYY!!!!!!)

2002-09-23 Thread Jason Egan
nal Message- > From: Smith, Matthew P -CONT(DYN) > [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 23, 2002 1:07 PM > To: CF-Talk > Subject: RE: cflocking de-mystified (was RE: WHY!!) > > > > But if you access two variables in the same scope(ie session)

Re: WHYYYYY!!!!!!

2002-09-23 Thread Sean A Corfield
On Sunday, September 22, 2002, at 10:51 , Dave Watts wrote: > 2. If you're using any version of CF which supports the SCOPE attribute > (4.5+, I think), use that with your CFLOCK tags around memory variables. Just curious, do pre-MX versions of CF require scope-level locking (as opposed to named

RE: WHYYYYY!!!!!!

2002-09-23 Thread Mark A. Kruger - CFG
I would add - do a copy (as in If you just re-reference it to another scope (as in ), you have not solved your problem -mk -Original Message- From: Sharon DiOrio [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 2:29 PM To: CF-Talk Subject: Re: WHY!! > 1, is it

Re: WHYYYYY!!!!!!

2002-09-23 Thread Sharon DiOrio
> 1, is it in fact necessary in MX and It's pretty much necessary regardless of MX. > 2, Is an Application.array the best place to store this kind of thing? That depends. Is the information something that is shared across the application and not something that changes frequently? If so, absol

RE: cflocking de-mystified (was RE: WHYYYYY!!!!!!)

2002-09-23 Thread Smith, Matthew P -CONT(DYN)
PM >>To: CF-Talk >>Subject: RE: cflocking de-mystified (was RE: WHY!!) >> >>Right - I use the name attribute for cflock rather than scope >>(occasionally) because my understanding is that when you lock on the >>scope you Lock the entire scope down for tha

RE: WHYYYYY!!!!!!

2002-09-23 Thread S . Isaac Dealey
> The array is being written to and read from at least a dozen times a minute > But then I keep getting the same symptom - MX freezes up at 100% CPU > every four or five hours. Plenty of memory and storage. Entirely asside from MX and whether or not locking is necessary, if you have 2 pages w

RE: WHYYYYY!!!!!!

2002-09-23 Thread Mark A. Kruger - CFG
-- From: Blum, Jason (SAA) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 12:07 PM To: CF-Talk Subject: RE: WHY!! Maybe I can jump in on this thread with a related question - Dave and others keep emphasizing that it isn't necessary to lock in MX. I am using a large Appli

Re: RE: WHYYYYY!!!!!!

2002-09-23 Thread ksuh
You're probably having a race condition occurring. Those still required locks. - Original Message - From: "Blum, Jason (SAA)" <[EMAIL PROTECTED]> Date: Monday, September 23, 2002 11:06 am Subject: RE: WHY!! > Maybe I can jump in on this thread with a rel

RE: cflocking de-mystified (was RE: WHYYYYY!!!!!!)

2002-09-23 Thread Jason Egan
ocess waiting on a slow process - essentially denying client access because of scope locking... Jason CFDynamics.com > -Original Message- > From: Tony Weeg [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 23, 2002 7:53 AM > To: CF-Talk > Subject: cflocking de-mystif

RE: WHYYYYY!!!!!!

2002-09-23 Thread Blum, Jason (SAA)
o: CF-Talk Subject: RE: WHY!! > i havent used locks on session vars, havent > needed to, and having never formally learned > cf, not really 100% down with the thought > process behind locking session var setting... The thought process is very simple. If you're running CF 5

Re: cflocking de-mystified (was RE: WHYYYYY!!!!!!)

2002-09-23 Thread jon hall
www.navtrak.net TW> 410.548.2337 TW> -Original Message- TW> From: Dave Watts [mailto:[EMAIL PROTECTED]] TW> Sent: Monday, September 23, 2002 10:35 AM TW> To: CF-Talk TW> Subject: RE: cflocking de-mystified (was RE: WHY!!) >> now, I guess my next question would

RE: cflocking de-mystified (was RE: WHYYYYY!!!!!!)

2002-09-23 Thread Tony Weeg
Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 10:35 AM To: CF-Talk Subject: RE: cflocking de-mystified (was RE: WHY!!) > now, I guess my next question would be, is the cfl

RE: cflocking de-mystified (was RE: WHYYYYY!!!!!!)

2002-09-23 Thread Dave Watts
> now, I guess my next question would be, is the cflock > timeout sort of an arbitrary guess as to what would be > a good amount of time? I mean, how long are the lock > timeouts on the heaviest hit cf pages set for? whats > a good number? 42. Seriously, the number will depend on what you're

cflocking de-mystified (was RE: WHYYYYY!!!!!!)

2002-09-23 Thread Tony Weeg
02 1:52 AM To: CF-Talk Subject: RE: WHY!! > i havent used locks on session vars, havent > needed to, and having never formally learned > cf, not really 100% down with the thought > process behind locking session var setting... The thought process is very simple. If you'

RE: WHYYYYY!!!!!!

2002-09-23 Thread S . Isaac Dealey
> no, but ill try that. > +++ im trying now. ++ > not lookin good...its a shared server > environment, experthost.com. can they block > locking capabilities? No, they can't disable the tag... > i havent used locks on session vars, havent > needed to, and having never formally lear

RE: WHYYYYY!!!!!!

2002-09-22 Thread Whiterod, David (PLNSA)
Tony, You may find the following link useful: ColdFusion Server (Versions 5 and Prior): ColdFusion Locking Best Practices TechNote 20370 http://www.macromedia.com/v1/handlers/index.cfm?ID=20370&Method=Full cheers David __ T

RE: WHYYYYY!!!!!!

2002-09-22 Thread Dave Watts
> i havent used locks on session vars, havent > needed to, and having never formally learned > cf, not really 100% down with the thought > process behind locking session var setting... The thought process is very simple. If you're running CF 5 or earlier, and you're using session variables, and y

RE: WHYYYYY!!!!!!

2002-09-22 Thread Tony Weeg
lto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 12:41 AM To: CF-Talk Subject: Re: WHY!! Tried a session lock around your session vars? > for the love of jehovah could > someone please tell me why in the heck > these two lines are making a page stall > to the point of

RE: WHYYYYY!!!!!!

2002-09-22 Thread Whiterod, David (PLNSA)
Tony, > > What happens if you try each line individually - this would tell you if it is stalling on the cookie or the set. Cheers David -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Monday, 23 September 2002 1:59 PM To: CF-Talk Subject: WHY!! f

Re: WHYYYYY!!!!!!

2002-09-22 Thread S . Isaac Dealey
Tried a session lock around your session vars? > for the love of jehovah could > someone please tell me why in the heck > these two lines are making a page stall > to the point of never coming back when loading? > when i comment them, the page shows the rest > of the page fine, however when not

RE: WHYYYYY!!!!!!

2002-09-22 Thread Ian Lurie
Are you locking the CFSET? Session vars can hang the server if it's under stress and the statement isn't locked... -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 22, 2002 9:29 PM To: CF-Talk Subject: WHY!! for the love of jeh

WHYYYYY!!!!!!

2002-09-22 Thread Tony Weeg
for the love of jehovah could someone please tell me why in the heck these two lines are making a page stall to the point of never coming back when loading? when i comment them, the page shows the rest of the page fine, however when not commented out, they make the page just sit in limbo? cf5 i