Yeah, if you are using shared-scope variables (like session, application, or 
server) without using cflock on CF5, then you have a "race condition" for bad 
things happening.  The faster the box, the more like the bad things will 
happen.  (Yes, this sucks.) Actually, hyperthreading could be compounding the 
problem because now you've really got more than one thing going on at the same 
time, so there is more chance of things stepping on each other.

I don't know about the Single Threading option, but it sounds like it could 
slow things down quite a bit. (But don't take my work for it.)

You should look for an admin setting that warns about improper (unlocked) use 
of shared scope variables... we turned it on on our dev machine (to flush out 
the places where locking wasn't being done), but left it off for our live 
machine (because it might work, and errors on a live server suck).  You just 
have to bite the bullet and add the scope locking everywhere, or upgrade to 
CFMX, where the locks are needed.

        Mark

-----Original Message-----
From: stephen poff [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 4:30 PM
To: CF-Talk
Subject: Re: CF5 and Hyperthreading


Are you saying that if I don't do locks and go to a faster machine I will 
experience more problems and have more unstability?  Secondly, wouldn't 
selecting Single Threading in CFAdmin help alleviate this?  Thanks.
   -Stephen

> If you are not doing cflocks *everywhere* you need to on CF5 then 
> going to a faster machine will be more unstable than the same code on 
> a slow machine. I haven't seen hyperthreading cause issues with CF 
> before, for whatever that's worth.
>       Mark
> 
> -----Original Message-----
> From: stephen poff [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 12, 2005 4:08 PM
> To: CF-Talk
> Subject: CF5 and Hyperthreading
> 
> 
> Recently moved CF5 and IIS5 to a new windows2000 server. this new 
> server has a single 3.2GHz Xeon processor with Hyperthreading turned 
> on and 2GB of RAM. Since the move we have experienced cfserver.exe 
> unexpectedly terminating. The latest being today. Based upon event id 
> 4097 i went to www.eventid.net and found that is a memory access 
> violation occured. Could this be related to the hyperthreading? or to 
> cflocks and memory?? or both??
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202488
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to