0

My problem is I can't launch more than 32768 Python3 POSIX Thread under NIX like OS.

Changing limits with ulimit don't change anything...

My ulimit output in Kali Linux :

-t: cpu time (seconds) unlimited
-f: file size (blocks) unlimited
-d: data seg size (kbytes) unlimited
-s: stack size (kbytes) 8192
-c: core file size (blocks) 0
-m: resident set size (kbytes) unlimited
-u: processes 127726
-n: file descriptors 1024
-l: locked-in-memory size (kbytes) 4099808
-v: address space (kbytes) unlimited
-x: file locks unlimited
-i: pending signals 127726
-q: bytes in POSIX msg queues 819200
-e: max nice 0
-r: max rt priority 0
-N 15: unlimited

Need expert engineers thanks.

jps
  • 15,760
  • 14
  • 59
  • 71
HSMKU
  • 39
  • 7
  • Finally it was a question of POSIX threads !!! Increasing my threads limits makes my python program able to run 900000 threads and that's enough ! https://stackoverflow.com/questions/34452302/how-to-increase-maximum-number-of-jvm-threads-linux-64bit – HSMKU Mar 10 '22 at 20:40

0 Answers0