Re: CreateUUID and JRun/ColdFusion Performance Issue
Geoff Bowers <[email protected]>
| Newsgroups | gmane.comp.cms.farcry.user |
|---|---|
| Organization | Daemon Internet Consultants |
| Message-ID | <[email protected]> |
Yang, What you describe is certainly not something that we have encountered. FarCry doesn't make a huge use of the createUUID() function with the exception of creating new content. Daemon offers code reviews and advice on best practice for the FarCry platform (and ColdFusion too for that matter). If you'd like to discuss these options with respect to your application, please feel free to contact me off list. Best regards, -- geoff http://www.daemon.com.au/ PS. you may get a better response from the community via the developoer focused list farcry-dev Yang wrote: > Does anyone have performance issues with their FarCry running on > JRun/ColdFusion? > Responses on our website can be painstaking slow sometimes but great at > other times. > > Is this a known problem with FarCry CMS? Is there a fix for this > problem? > > We have so far tried various solution to addres the problem and have > also sought technical support from Adobe (Macromedia). As part of the > troubleshooting process several thread dumps were taken for analysis by > the Adobe technical support personnel. > > This is what they have to say after their analysis: > > Description of problem: > --------------------------------- > When the ColdFusion server's system time changes the CFMX server will > become unresponsive. At best the server will hang for as long as the > time adjustment. If the adjustment is large (for example 2 minutes), > then every thread will hang for 2 minutes thereafter, and then > everything will resume. During these 2 minutes connections to the site > will accumulate in IIS and eventually time out, and new connections to > CFMX are queued until the queue fills and the new connections are then > refused. > > If you are using the CreateUUID() function within your code this can > cause the system clock to accelerate. Normally this wouldn't be a > problem but the CreateUUID() function is dependent on time in order to > not create a duplicate value. It waits in a while loop for a number of > milliseconds and then returns a value. If the time jumps ahead it will > sit in this loop until it catches up with the system time. This can be > ugly if you have a lot of code calling CreateUUID(). > > Suggested solution: > ----------------------------- > To work around this please see the following TechNote > http://www.adobe.com/go/tn_19007. > > Outcome: > -------------- > We have already applied the first suggested work around, i.e. > > Added: " -XX:+ForceTimeHighResolution" to the JVM arguments in > jvm.confg. > > But it seems this work around doesn't fix the problem. They have now > suggested applying the following fix: > > Since this is a problem with the underlying JVM and a system call in > the createUUID function, developers can either create their own UUID > generation code or download similar code from the ColdFusion Exchange. -- Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering. http://www.mailguard.com.au/mg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-user" group. To post to this group, send email to farcry-user-/[email protected] To unsubscribe from this group, send email to farcry-user-unsubscribe-/[email protected] For more options, visit this group at http://groups.google.com/group/farcry-user -~----------~----~----~----~------~----~------~--~---