TaskGraph database is locked because another process is using it

What is the issue or question you have?

I have tried running various models, each time, I receive a the same error loop:
“taskgraph.Task WARNING TaskGraph database is locked because another process is using it, waiting for a bit of time to try again”

I have attached the LogFile

InVEST-natcap.invest.sdr.sdr-log-2024-11-01–21_43_49.txt (2.7 KB)

Upload the logfile using the :outbox_tray: button

@cashcra , thank you for reporting this problem and sharing your logfile.

Is this path on your local filesystem? \\cifs-prd-01\

Or is somewhere on a network or shared filesystem?

What happens if you try setting the workspace directory to a local path? Perhaps somewhere on your C: drive, if you are using Windows.

1 Like

Oh, and another thing you might try is changing the Taskgraph n_workers parameter to -1. I see you have it set at 2 right now. You can find this in the Workbench settings :gear: menu.

I would try this before you try my previous suggestion of changing the workspace. Thanks,