Hi,
I've developed a workflow using Activiti and Alfresco 4.2 that uses some timers (of type TimerCatchingEvent). Every time a timer fires a new entry is created in the ACT_RU_JOB table of Activiti, but I've read from the Activiti forums that this is the expected behaviour.
The problem is that after the workflow correctly ends the associated timer entries remain in the ACT_TU_JOB table. So after some days of workflows running the number of lines in the table becomes huge (may workflow has 3 timers. After 2 days I had > 15300 records in the table).
On top of that the Activiti scheduled job that checks if there are timers to trigger waste almost the entire CPU causing terrible performances even if there are no active workflows. If I manually empty the ACT_RU_JOB table then the CPU usage retruns to normal values.
Has someone faced the same problem? Is it a bug or is there any configuration that can be done on the Activiti scheduled job that queries the timers?
Thank you
Andrea