EMCC: ERROR: Execution failed due to binary missing or permission issues

Getting this error on a couple of nodes, but not all, it turned that the issue was related to the emagent limits.

The solution was to add the following lines in the /etc/security/limits.d/90-nproc.conf file

emagent    soft    nproc     131072
emagent hard nproc 131072