Running Boncode for years now but so now and then having issues where IIS becomes unresponsive. First we thought it must have been a lucee memory issue, but after deep analysis this is what came up!
Running long-running requests (300 sec) while recycling the application pool will result in IIS becoming unresponsive.
Running versions .27-.41
Reproduction only working having the loglevel setting to 1. When setting is set to 0 we couldn't reproduce this error. So the conclusion maybe running old and new pool at the same time cause and error because the log file is locked by the old pool (proces) and can't be accessed by the second.
Notes:
Eventlog error: A process serving application pool '-------' exceeded time limits during shut down. The process id was '0000'.
Trying to restart IIS Eventlog error: A worker process '0000' serving application pool '-------' failed to stop a listener channel for protocol 'http' in the allotted time. The data field contains the error number.
Reproduce:
Using a browser
1 request running 300 seconds
10 request running 30 seconds (after ending retrigger)
1 user clicking on the application
Running Boncode for years now but so now and then having issues where IIS becomes unresponsive. First we thought it must have been a lucee memory issue, but after deep analysis this is what came up!
Running long-running requests (300 sec) while recycling the application pool will result in IIS becoming unresponsive.
Running versions .27-.41 Reproduction only working having the loglevel setting to 1. When setting is set to 0 we couldn't reproduce this error. So the conclusion maybe running old and new pool at the same time cause and error because the log file is locked by the old pool (proces) and can't be accessed by the second.
Notes:
Reproduce: Using a browser 1 request running 300 seconds 10 request running 30 seconds (after ending retrigger) 1 user clicking on the application
BonCodeAJP13.settings:
Server.xml
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" maxThreads="5000" packetSize="65536"/>
Code: