OS: Windows Server 2022 (8 Core, 32gb)
Java Version: OpenJDK 11.0.26
Tomcat Version: 11.0.9
Lucee Version: 6.2.2.91
Hi All - we had a user report an occurrence of the error above. We’ve not encountered it before however we have noticed a significant increase in system usage over the past few months so it is time for a performance health check!
I found this article, that unfortunately didn’t help, however it did point me down the Boncode settings route. (Generic Connector Communication Error: Please check and adjust your setup: Ensure that Tomcat is running on given host and port. If this is a timeout error consider adjusting IIS timeout by changing executionTimeout attribute in web.config (see manual)." - #6 by andreas)
I have an inkling that we may need to tweak the Boncode/IIS/Tomcat settings to be in sync to accommodate our increasing load, however the advice online suggests to tread carefully changing these settings but doesn’t specify why or how - so I’m looking for some understanding on how best to proceed to perhaps tailor these for better performance, I appreciate this is quite finger in the wind.
For prosperity, here are our settings:
Boncode.settings
<Settings>
<Port>8009</Port>
<Server>localhost</Server>
<MaxConnections>200</MaxConnections>
<LogLevel>0</LogLevel>
<LogDir>c:\temp</LogDir>
<FlushThreshold>0</FlushThreshold>
<EnableRemoteAdmin>False</EnableRemoteAdmin>
</Settings>
tomcat server.xml connector
<Connector port="8009" redirectPort="8443" protocol="AJP/1.3" address="::1" secretRequired="true" secret="[SECRET]"/>
IIS Application Pool Settings:
Lucee Admin Request Timeout is 5 minutes
Web.config Setting:
<httpRuntime executionTimeout="300" maxRequestLength="1048576" enableVersionHeader="false" />
Any help or insight would be greatly welcomed!
