Coldfusion 2018 docker image frequently slow
Hi
First post here and very new to CF/Java. I have inherited a somewhat legacy application that is running on windows/IIS fine. However, I am trying to deploy the same application in a docker container ( linux ) and running into some strange slow down issues.
The application runs fine though it seems that half the time ( or more than that ) the application doesnt seem to be able to cache all classes and compiles them everytime .
For testing, I remove the container and deploy everything again. Sometimes the system runs fine and is reponsive after deployment. Once its responsive, I can use the application all day without any slowdowns.
At other times ( more often than not ), when I deploy the container, it slows down from the first request and never picks up speed. It feels as if the classes are being created everytime or being loaded in mem with every click. The difference is on the order of 2 minutes to browse through all links in the application to up to 2 hours for the same sequence to finish when the container is not running properly.
There is no load on the server as its only one user. The same code works perfectly fine on our windows deployment. The confusion is the inconsistancy of the issue and no apparant pattern for it.
Does anyone have any idea whats going on ? I am not sure what logs to provide but can do so if someone can point me to whats needed
I have tried :
- downgrading through all versions of the docker images provided ( coldfusion2018 update 12 through 14 )
- upgrade to the latest Java version
- tried to update garbage collection algorithm but the server doesnt start with anything other than -XX:+UseParallelGC ( which i think is default )
Thanks in advance
