Run job

This article summarizes how to deal with problems related to running jobs, so that you can quickly locate the cause and complete the repair.

Question 1

作业运行卡住,数据库排查发现大量待运行的定时任务

20260305190844

solution
默认使用H2数据库,服务器的最大打开文件数限制,默认为1024,太小会导致H2无法查询数据。
Temporary configuration
ulimit -n 65535
Permanent configuration
vim /etc/security/limits.conf
* soft nofile 65535
* hard nofile 65535