Scheduled tasks suddenly stop working, Connection pool shut down

Description

Lucee scheduled tasks are not runnable after some time and back only after lucee restart

In attachment provided scheduler.log (log level = DEBUG) and nginx access.log and scheduler.xml

Looks like scheduled tasks stop calling target url

On other test environment we received lot of errors like

"ERROR","Thread-3091","07/24/2023","14:06:00","schedule task:cronTasks_general","Connection pool shut down;java.lang.IllegalStateException: Connection pool shut down at org.apache.http.util.Asserts.check(Asserts.java:34) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.requestConnection(PoolingHttpClientConnectionManager.java:269) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:176) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at lucee.commons.net.http.httpclient.HTTPEngine4Impl._invoke(HTTPEngine4Impl.java:377) at lucee.commons.net.http.httpclient.HTTPEngine4Impl.get(HTTPEngine4Impl.java:140) at lucee.commons.net.http.HTTPEngine.get(HTTPEngine.java:87) at lucee.runtime.schedule.ExecutionThread.execute(ExecutionThread.java:122) at lucee.runtime.schedule.ExecutionThread.run(ExecutionThread.java:65)

Environment

Attachments

15
  • 18 Sept 2023, 08:49 am
  • 15 Sept 2023, 11:35 am
  • 15 Sept 2023, 11:35 am
  • 04 Aug 2023, 01:06 pm
  • 04 Aug 2023, 11:34 am
  • 04 Aug 2023, 11:34 am
  • 04 Aug 2023, 11:34 am
  • 02 Aug 2023, 05:11 pm
  • 02 Aug 2023, 05:11 pm
  • 02 Aug 2023, 04:16 pm
  • 02 Aug 2023, 04:16 pm
  • 24 Jul 2023, 11:20 am

Activity

Show:

Oleksandr Zavadskyy 22 September 2023 at 12:39

can’t prove it runs more than day as has to restart lucee from time to time. but didn’t noticed any issues with scheduled tasks at least during half a day. Guess issue could be closed. Once again - thanks

Michael Offner 22 September 2023 at 06:06

you have written “good news - looks like issue with scheduled tasks fixed. At least it didn’t stopped on 50 executions but i’ll take a look to it during day“, no stopping issue after a longer period?

Oleksandr Zavadskyy 20 September 2023 at 12:06

scheduled tasks working fine

issue with not fount Component.cfc fixed in 6.0.0.556-SNAPSHOT

many thanks

Michael Offner 19 September 2023 at 13:00

please see the code snipped in https://luceeserver.atlassian.net/browse/LDEV-4623 , if you could provide this data, that would be fantastic.

Zac Spitzer 19 September 2023 at 09:00

that’s this bug we are working on https://luceeserver.atlassian.net/browse/LDEV-4623

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Created 24 July 2023 at 11:20
Updated 22 September 2023 at 17:03
Resolved 22 September 2023 at 17:03

Flag notifications