CreateUUID and JRun/ColdFusion Performance Issue
"Yang" <[email protected]>
| Newsgroups | gmane.comp.cms.farcry.user |
|---|---|
| Message-ID | <[email protected]> |
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. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---