Taskprocessing options - how set?

Taskprocessing options - how set?

Marco Marco -
Number of replies: 1

Hi,

I have a question about settings :

admin/settings.php?section=taskprocessing

On what to base the setting of the value:

task_scheduled_concurrency_limit

task_scheduled_max_runtime

task_adhoc_concurrency_limit

task_adhoc_max_runtime.

 

My instance is about 8 thousand users.

5 servers with Moodle and one with a database

My adhoc task queue has 50 tasks and is not shrinking.

What values of these parameters will be optimal?

Ngā whakawākanga toharite: -
In reply to Marco Marco

Re: Taskprocessing options - how set?

Howard Miller -
Pikitia o Core developers Pikitia o Documentation writers Pikitia o Particularly helpful Moodlers Pikitia o Peer reviewers Pikitia o Plugin developers
There's usually some stuff in the adhoc queue that never seems to shift. Some things that fail seem to retry forever. To be certain, you'd need to have a look at the mdl_task_adhoc paying particular attention to the 'faildelay' column. It maxes out at 86400 (retry once a day).

The main part of your question is harder to answer. You can slowly increase them while monitoring the load on your server. We have a dedicated server just for the cron tasks - which makes it a whole lot easier.
Ngā whakawākanga toharite: -