SAP Knowledge Base Article - Preview

2962971 - AS Java Server Native Threads Creation failed after restart


Native Thread Creation Failed after restart following Error OutOfMemory


F *** ERROR => Java node 'server0' terminated with exit code 666.
F ***
F *** Please see section 'Java program exit codes'
F *** in SAP Note 1316652 for additional information and trouble shooting advice.
F ********************************************************************************


ERROR (:0): Native thread creation failed: native thread creation failed (returned error code 11): EAGAIN

Server process shutting down with exit code [666]; memory allocation error [OutOfMemoryError]java.lang.OutOfMemoryError:
unable to create new native thread (223 threads running, rlimit: STACK XXXXk, CORE infinity, NPROC 128533, NOFILE XXXXX, AS infinity, DATA infinity, CPU infinity, FSIZE infinity, MEMLOCK 0x0000000000000040k , /proc/sys/kernel/threads-max
(system-wide limit on the number of threads): XXXXX /proc/sys/vm/max_map_count (maximum number of memory map areas a process may have):
XXXXXX /proc/sys/kernel/pid_max (system-wide limit on number of process identifiers): 32768

Memory: 4k page,
physical XXXXXk(XXXXXXXk free), swap XXXXXXXk(XXXXXXXk free) )



SAP Netweaver Application Server Java


SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5


OutofMemoryError, Native, Threads, Creation, exitcode666, DefaultTaskMax , thread limits ,Process , KBA , BC-JVM-JRT , Java Runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.