Performance issue with Lucee, AJP, and IIS

Here’s what I’ve found when I modified the BonCodeAJP13.setttings and the Server.xml files

  • Both original files - 4 second lag on page loads
  • Updated both of them - no lag
  • Updated server.xml only, keeping BonCodeAJP13.setttings as the original - no lag
  • Updated BonCodeAJP13.setttings but left server.xml - Server errors (see screenshot)

I’ve attached a screenshot of which files I changed, the location of them and what I changed, along with the test results.

It should be noted I did see a few intermittent lags but there were only a few, and I happened to notice that Microsoft antimalware service executable had decided to grab a lot of the CPU resource at that particular time, it was tricky to spot it, it happened a little quick, but I’m confident it was happening at the same time. It was a test VM with 1 core, so I cranked up the cores to 8 and gave it a few gig of extra RAM and it seemed to help. ChatGPT has given me some clear instructions on how to disable it, which is very tempting.

Again thanks to everybody for your help, VERY much appreciated!

2 Likes