Rami Raviv <email@example.com> wrote:
I’m spawning alot of sh scripts using qnx_spawn in QNX 4.25.
I reached the limit of sessions which was set to 32.
This causes a crash of the spawned script.
Is there any way to avoid consumption of session resource running sh script?
Where can I get an explanation about this resource?
The maximum number of sessions can be set with a command line option
to Proc32 (requires rebuilding your os image.)
But, do you really need to spawn those scripts in a new session? Check
the parameters/flags you are passing to qnx_spawn(), if you don’t request
a new session you shouldn’t get one.
For details on sessions (and process groups), I would suggest a good
Unix book, as these are a Unix feature/behaviour that are not explained
in the QNX documentation.
QNX Training Services
I do not answer technical questions by email.