maximum number of xenomai processes allowed

Philippe Gerum rpm at xenomai.org
Thu Feb 7 12:24:39 CET 2019


On 2/7/19 12:02 PM, Stéphane Ancelot via Xenomai wrote:
> Hi,
> 
> After running a given amount of xenomai processes, I can no more launch
> more processes.
> 
> They are failing with next message.
> 
>   0"000.000| WARNING: [main] pthread_setschedparam failed (prio=-1)
>    0"000.000| WARNING: [main] setup call cobalt failed
>    0"000.000| BUG in xenomai_init(): [main] initialization failed, ENOMEM
> 
> It looks like there is a limitation on the number of xenomai processes.

No, there is none. Receiving ENOMEM is a hint, more kernel resources
such as threads requested by applications translates into more memory
needed by the core.

> 
> Where can I hack it ?
> 

There is a configuration switch for this: see CONFIG_XENO_OPT_SYS_HEAPSZ.

-- 
Philippe.



More information about the Xenomai mailing list