EAGAIN A system-imposed limit on the number of threads was encountered. There are a number of limits that may trigger
this error: the RLIMIT_NPROC soft resource limit (set via setrlimit(2)), which limits the number of processes and threads for a real user ID, was reached; the kernel's system-
wide limit on the number of processes and threads, /proc/sys/kernel/threads-max, was reached (see proc(5)); or
the maximum number of PIDs, /proc/sys/kernel/pid_max, was reached (see proc(5)).
From the crash made available in a recreate, we get the following:
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/ unix/sysv/ linux/raise. c:51 69699, 145834316716417 19254, 0, 140664668255802, 470719759264823 7900, 716140227084388 0775,
1407246107 55886, 11, 140725298456672, 140664668255726}} handler = {sa_handler = 0x5, sa_sigaction = 0x5}, sa_mask = {__val = {140664672163456, 10, 11, 11, 94494056588192, 140725298456896, 140664668628179, 140664672163456, 140664695139080, entry=0x7ffd296 ce940) at ../lib/util.c:419 format@ entry=0x55f11ca d23a0 "pthread_create failed") at ../lib/util.c:411 entry=0x55f11ca b2908 "handler", start=start@ entry=0x55f11c9 413f0 <udpif_ upcall_ handler> , arg=arg@ entry=0x55f11ce 422a8) at ../lib/ ovs-thread. c:449 0x55f11ce41b50, n_handlers_ =<optimized out>, n_revalidators_ =<optimized out>) at ../ofproto/ ofproto- dpif-upcall. c:569
set = {__val = {0, 140725298456336, 140664669834388, 0, 140725298456672, 140664668256100, 145834316716416
pid = <optimized out>
tid = <optimized out>
ret = <optimized out>
#1 0x00007fef0b965921 in __GI_abort () at abort.c:79
save_stage = 1
act = {__sigaction_
11, 140664668607515, 0, 94494055958702, 1, 140725298457136, 94494060193760}}, sa_flags = 695003688, sa_restorer = 0x55f11ce422a8}
sigs = {__val = {32, 0 <repeats 15 times>}}
__cnt = <optimized out>
__set = <optimized out>
__cnt = <optimized out>
__set = <optimized out>
#2 0x000055f11ca3892e in ovs_abort_valist (err_no=<optimized out>, format=<optimized out>, args=args@
No locals.
#3 0x000055f11ca389c4 in ovs_abort (err_no=<optimized out>, format=
args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7ffd296cea20, reg_save_area = 0x7ffd296ce960}}
#4 0x000055f11ca048fe in ovs_thread_create (name=name@
once = {done = true, mutex = {lock = pthread_mutex_t = {Type = Error check, Status = Not acquired, Robust = No, Shared = No, Protocol = None}, where = 0x55f11caaacfe "<unlocked>"}}
aux = 0x55f11ce427e0
thread = 8388608
error = <optimized out>
attr = {__size = '\000' <repeats 17 times>, "\020", '\000' <repeats 37 times>, __align = 0}
#5 0x000055f11c93e7d6 in udpif_start_threads (udpif=
handler = 0x55f11ce422a8
i = 3
the pthread_create is failing with EAGAIN, which:
EAGAIN A system-imposed limit on the number of threads was
encountered. There are a number of limits that may trigger
setrlimit( 2)), which limits the number of processes and
threads for a real user ID, was reached; the kernel's system-
/proc/sys/ kernel/ threads- max, was reached (see proc(5)); or kernel/ pid_max, was
reached (see proc(5)).
this error: the RLIMIT_NPROC soft resource limit (set via
wide limit on the number of processes and threads,
the maximum number of PIDs, /proc/sys/
Which means one of the system limits was reached.