Some of the times the process stops on a file to which we write once in the whole process. Sometimes, it's one where we append content sequentially.

let $x := write(...)
let $x := append(...)

The issue can be on any file, even if the process writes to it only once.

If the process writes to a file like the example above, it typically crashes on the 1st write, not the following append.

Calls are sequential, not parallel.

The error messages are always about a file we write to, except the one about database table. We do db:replace() content in that database, but never touch the system files directly.

I hope this helps




El vie., 12 de julio de 2019 20:30, Christian Grün <christian.gruen@gmail.com> escribió:
Hi France,

2. Run a process that has many functions and many file:write and file:append.

Do multiple processes write to the same files in parallel, or do all of them write to different files?

4. Run the same process again, there is a good chance that we'll get an error that says something like:
    [file:io-error] Resource "debug-list-imtes.xml' locked by another process.  

Is this one of the files you are writing to? If not, which operations are accessing this file?

Christian