Title:
Intermittent issues with random templates, appears related to Sandbox Security
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): Ken W. / ()
Created: 01/27/2020
Versions: 2018
Failure Type: Crash
Found In Build/Fixed In Build: Multiple builds /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2016
Vote Count: 0
We've been experiencing Intermittent but very similar errors since right after applying Update 5/Update 12 to each of our servers. When the problem arises, the application is unusable to anyone. Initially we were restarting each instance experiencing the problem. Further investigation showed simply making a change to the root Application.cfc (as simple as an empty cf comment) would force a recompile and the problem would clear. Later realized just flushing template cache was much easier. However, when the problem is present, CF Admin is often inaccessible so an admin api call was required to flush template cache. The problem usually appears with the root index.cfm template but is sometimes seen at lower levels in an app.
Reviewing exception logs suggested a common problem with SecurityManager. In order to get some relief over the recent holidays we set template cache count to zero to reduce errors and force compile on every page request. Ultimately have had to turn off Security Sandboxing entirely across all servers. Have not seen the problem at all since turning off Security Sandboxing.
Example exception logs/stacktraces for each server are attached.
We are not able to replicate the problem at will. However, turning on Security Sandboxing causes the problem to return within a short timeframe.
Happy to discuss the issue further if helpful. Any suggestions welcome since leaving Sandboxing off is not acceptable.
Attachments:
Comments: