Troubleshooting
Problem
The following error occurs on a semget() system call when the number of requested semaphores exceeds the system-imposed limit. RTmaster: fatal system initialization error: RTagent: [6.1.8.104] initipc(): semaphore get() failed, Invalid argument
Resolving The Problem
Client can run up to 200 virtual testers on her local machine. If they attempt to increase to 300 virtual testers, then client would receive below error:
RTmaster: fatal system initialization error:
RTagent: [6.1.8.104] initipc(): semaphore get() failed, errno = 22
occurs on a semget() system call when the number of requested semaphores exceeds the system-imposed limit.
The playback data shows that the customer was attempting to run 300 virtual testers on the agent. The bitmap in Test Agent Server Nutcracker setting indicates that "Max Number of Semaphores" and "Max Number of Semaphores per ID" are set to 560, which would typically be sufficient for 300 virtual testers. Shared variables also require semaphores, but it's unlikely that the customer would be using ~260 shared variables. Potentially there could be leftover semaphores on the agent from previous playbacks that didn't properly clean-up. If the customer hasn't already done so, have them reboot the agent and then retry the 300 VT playback.
If they're still getting the same problem, please collect the complete NuTCRACKER settings for the agent. The procedure is:
- Open the Nutcracker applet from the Control Panel.
- Go to the Information tab in the Configure NuTCRACKER Applications window.
- Make sure the Category is "General Information" and click on the "Save As..." button. This will write out an NCInfoDump.txt file that the customer should send to us.
[{"Product":{"code":"SSSHDX","label":"Rational Robot"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Playback","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003.06.00;2003.06.12;2003.06.13","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21195279