[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Normal termination: return value 12

On 09/19/2018 03:42 PM, Michael Pelletier wrote:
Hey Jeff,

Exit code 12 on Linux (presumed via the "test.sh" executable) corresponds to a "out of memory" error:


#define ENOMEM          12      /* Out of memory */

Keep in mind these are the *errno*s that are returned by failed *system calls*, but condor reports the *exit value* of a process, which is usually different. To decode what exit code of 12 is, you'll need to look at the job itself to learn why it is exiting with that code.