multithreading - unable to create new native thread in Suse 12 SP2 -
i using linux 12 sp2 . failed create thread when thread more 420 .
error log:
exception in thread "main" java.lang.outofmemoryerror: unable create new native thread (424 threads running, rlimit: stack 8192k, core 0k, nproc 30654, nofile 16394, infinity, data infinity, cpu infinity, fsize infinity, memlock 64k , memory: 4k page, physical 528062120k(345461208k free), swap 2097148k(2097148k free) )
from log, can see server capacity enough more thread creation. there quite few thread running under os . have idea issue ? see below details :
ps -aux | wc -l 379 cat /proc/sys/vm/max_map_count 65530 cat /proc/sys/kernel/pid_max 32768 cat /proc/sys/kernel/threads-max 4125328 ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 2062664 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 8192 pipe size (512 bytes, -p) 8 posix message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 30654 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited
Comments
Post a Comment