unable to log into Bash - bash: fork: retry: resource temporarily unavailable

Document ID : KB000124483
Last Modified Date : 15/01/2019
Show Technical Document Details
We stopped getting alarms forwarded by Alarm Notifier and its affecting our SLOs in a big way. In trying to troubleshoot the ticketing issue, we notice that we are unable to log into Bash. 

User-added image

We also notice in our NOTIFIER.OUT log that Alarm Notifier scripts are not running, as they use Bash and getting the same errors in NOTIFIER.OUT log: 

"bash: fork: retry: resource temporarily unavailable" 
Windows OS
Cygwin for Windows (installed with Spectrum)
Root Cause: Anti Virus is blocking Bash.exe - sees this executable as a potential threat

Add bash.exe in Anti-Virus exclusion rules: \win32app\Spectrum\NT-Tools\SRE\bin\bash.exe

Also add sh.exe to exclusion rules: \win32app\Spectrum\NT-Tools\SRE\bin\sh.exe
Additional Information:
- In this specific instance, the problem app is CylancePROTECT
- CylancePROTECT sees bash.exe as a potential Stack Pivot exploit

Reference Cygwin FAQ:


List of products known to cause conflicts with Cygwin: