Constant IIS Request Timeouts that disable my site. - Lucee 4.5.3.020

Almost Daily I receive the following error and have to restart my server:

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).

I’ve gone into IIS and have slowly increased this value. I currently have
it set to 5 minutes.

Still getting these errors.

Any suggestions?

Dale

Hi Dale. This error message comes from the BonCode connector which
sits between IIS and Tomcat. You can find an explanation by looking
for it in the docs:

http://www.boncode.net/connector/webdocs/Tomcat_Connector.htm#_Toc470191903

Basically it means BonCode can’t connect to Tomcat for a variety of
possible reasons.

We’ve been experiencing the same thing recently and the immediate
cause in our case was a build up of “stuck” threads inside Tomcat
which were failing to time out. Eventually the maximum number of
concurrent threads was reached and no more were then available to take
new connections from BonCode/IIS, so this error was thrown and
Lucee/Tomcat had to be restarted.

We were able to see this thread state behaviour using FusionReactor:

I’d recommend using FR so you can see what’s going on behind the
scenes when the problem occurs.

Julian.On 31 January 2017 at 16:35, <@trivalleybrewers> wrote:

Almost Daily I receive the following error and have to restart my server:

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).

I’ve gone into IIS and have slowly increased this value. I currently have
it set to 5 minutes.

Still getting these errors.