maximum number of xenomai processes allowed
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.
Where can I hack it ?
Regards
Steph
Quoted 5 lines · Stéphane Ancelot via Xenomai
Hi,
After running a given amount of xenomai processes, I can no more launch more processes.
Quoted 7 lines
They are failing with next message.
0"000.000| WARNING: [main]
pthread_setschedparamfailed (prio=-1) 0"000.000| WARNING: [main] setup call cobalt failed 0"000.000| BUG inxenomai_init(): [main] initialization failed, ENOMEMIt 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.
Quoted 3 lines
Where can I hack it ?
There is a configuration switch for this: see CONFIG_XENO_OPT_SYS_HEAPSZ.
Signature · 1 line
Philippe.