Hi we just updated our productin environment to lucee, and it has not been as bas as expected. Couple issues:
Cfookie doesnt seem to work when inside an archive. We get a weird SameSite-attribute java error. I fixed by using cookie.[var] but curious if this is a known issue
Seems like scopes in memory session is running out of control. Is this total scopes saved not actual ones in memory? I store some user variables in session scope and clear on log out/login. Is this bad practice?
Any Information on what i am seeing on session scoped variables? I can not reproduce the cookie issue on our test server so just going to drop that for now.
I am in the process of installing fusion reactor, but am experiencing some memory leaks that lead to CPU spike, that lead to server crashing. Could It be session variables not expiring? Railo → lucee was almost too easy and now after almost decade on Railo all those little hacks are coming back to haunt me.
Thanks for the help again. Updated lucee and JRE. Got fusion reactor running and noticed tons of waiting threads on scheduled tasks. Removed the scheduled tasks and CPU and memory down to nothing(as they should be)
Any ideas as to what in scheduled tasks might be causing the issue?
I notice about half of them have the port set to -1?
port=“-1”
there are about 200 legacy scheduled task before we created our own task dispatcher. Converting then right now would be tough.
Also when we manually recreate a couple unique attribute is showing in xml, which is not in the orginal file
Resolved the session scope runaway variables. It does seem to be a counter FWIW. We were reloading session scopes on one client continuously, even though we cleared session the counter kept going up.
So i guess the unresolved question is those scheduled tasks. When migrating to lucee on other servers is there a faster way to trace CPU sampler in fusion reactor back to the scheduled task?