Skip to main content
Inspiring
July 3, 2022
Question

CF2018 W2K16 IIS10 giving 500 errors with increasing frequency on one site

  • July 3, 2022
  • 1 reply
  • 977 views

Windows 2016 server, IIS 10 and Adobe ColdFusion 2018 using Tomcat. The server has about 8 sites on it and one site is getting intermittent 500 errors. All other sites remain up and responsive. Failed Request Tracing shows "Filter Error - Incorrect Function 0x1"

 

The site will come back up if you recycle the app pool for that site, or restart that site in IIS. I have the app pool set to recycle every 10 minutes.

 

I've seen some vague references to possibly being a URL rewrite setting something that Tomcat doesn't understand, but could never find anything concrete related to that. If I go through our rewrite rules one by one, each one works fine individually.

 

At this point I'm not sure what to even do with it. In March it was doing it frequently (once per day or more) and we recreated the site - new web root, new IIS config etc. same thing. Finally I noticed that the server had a pending restart from updates and once we did that it was fine until about 2 weeks ago. Other than standard code updates to the site, nothing has changed with the IIS or Tomcat configuration.

 

Within the last 24 hours I've rebooted the server 3 times and per a suggestion commented out the heartbeat_interval in workers.properties.  No change - still goes down with 500 errors several times per day.  I've attached the isapi_redirect.log image of an incident, as well as the error block from the failed reqeust tracing.  

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
July 4, 2022

Can you identify any specific request(s)/page(s) causing the issue? For example, static pages (html, images, and so on)?

 

Why have you increased the maximum number of connections from 500 to 5000? That raises questions about your other settings. So could you please share the contents of D:\ColdFusion2018\config\wsconfig\1\workers.properties

  

Inspiring
July 6, 2022

No - they're not related to a specific page (or in some cases any page at all - i.e. images .png etc.)

worker.list=cfusion
#heartbeat_interval=30
heartbeat_limit=90
worker.cfusion.type=ajp13
worker.cfusion.host=localhost
worker.cfusion.port=8018
worker.cfusion.connection_pool_size=5000
worker.cfusion.connection_pool_timeout=60
worker.cfusion.max_reuse_connections=225

connection_pool_size was calculated by number of sites on the server * max_resuse_connections.

I don't think this is a CF issue per se, but rather IIS and tomcat with the possibility that web.config is involved.

RaviShankar Chagnur
Adobe Employee
Adobe Employee
July 6, 2022

Can you please let us know the Max thread value that is set for the Coldfusion AJP port.

You need to increase the value of Connection_pol_size and maxThreads value accordingly, you can refer to below document for more information

https://coldfusion.adobe.com/2018/07/connector-tuning/