Hi Giuseppe -
Hope you're well. Did you try adding the `parallel` option to xquery:fork-join? See https://docs.basex.org/main/XQuery_Functions#xquery:fork-join - if not specified, then BaseX will be greedy :)


Best,

Bridger 


On Fri, Dec 6, 2024, 7:36 AM <celano@informatik.uni-leipzig.de> wrote:
Is there a way to specify how many parallel processes Basex 11 is 
allowed to spawn (I am not using the database)? In combination with 
GNU parallel, it becomes difficult to have control on parallelism.

Best,
Giuseppe