Troubleshooting process errors for PATROL Agents running on Unix operating system


PATROL Agent running on the Unix operating system is unable to fork a new process and displays the following error message:

PatrolAgent-E-EFORK: Couldn't fork a new process -- Resource temporarily unavailable

Probable causes: The fork subroutine is unsuccessful due to one or more of the following reasons:

  • The system does not have sufficient resources necessary to create a new process.
  • The system has reached the system process limit or a user process limit.
  • The system doesn't have sufficient virtual memory to create a new process.
  • PATROL Agent is spawning processes (i.e. program in an infinite loop) exhausting system resources. 

 Resolution: As a workaround, do the following steps: 

  1. Ensure that the system meets the hardware requirements specified by each loaded KM.
  2. Unload KMs one by one to see if any particular KM is causing the issue.
  3. Run the following administrative commands and verify the output to determine the issue:
    • ps
    • pstat
    • vmstat
    • sar