This question already has an answer here:
doing an lscpu cmd this is what i get
$ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 2 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 63 Model name: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz Stepping: 0 CPU MHz: 2494.224 BogoMIPS: 4988.44 Hypervisor vendor: VMware Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 30720K NUMA node0 CPU(s): 0,1
doing the math tells me it should be able to run 2 threads at a given time
Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 2
however the tomcat configuration sets the max threads at 150
redirectPort="8443" maxThreads="150" acceptCount="15" enableLookups="true"
how does the web application support 150 max threads when the cpu only supports 2?