Quartz Scheduler suddenly stop running and no exception error

后端 未结 6 1620
攒了一身酷
攒了一身酷 2021-01-01 11:13

I have some quartz job which was running everyday at 7pm. Suddenly it failed to run. I check my server.log and there are no exception thrown. Anyone have any idea what could

6条回答
  •  南方客
    南方客 (楼主)
    2021-01-01 11:48

    I had a similar problem but the problem was, I had 10 threads quartz default number of threads in quartz properties and when I made thread dump* I found that I have 10 jobs in blocked stat, which means that I can't run any more threads.

    A quick fix to this problem to increase the number of threads in the thread pool in the quartz properties.

    The actual fix was reviewing my code to know why I had a 10 blocked threads.

    *to do thread dump you can use kill -3 < java process number > which print the thread dump to your application standard output i.e if you running tomcat you find it in catalina.out log file

提交回复
热议问题