When you start Adobe Flash Media Server (FMS), you encounter a failure that returns the following error message in the logs:
Failed to create process condition: errno(28)
This issue also occurs when FMS attempts to launch more cores to handle more applications, instances, or clients.
If the system is running out of semaphores, raise the maximum number of arrays.
Approximately four times the number of cores + 10 fixes this issue.
Note: If the system is using semaphores for another program, such as a database, add 1024 to the baseline number.
To change the maximum number of arrays, first get the old values, then change the last number to 1024 and set the new values, as follows:
This error occurs when the system is running out of semaphores or the maximum number of arrays is too low.
To check the maximum number of arrays set on the machine, execute the command ipcs -sl:
$ ipcs “sl
To check the actual used arrays, execute the command ipcs -su:
$ ipcs “su