I am struck with a question and thus seeking your help.
The maxThread count value in tomcat controls the max number of concurrent request which a tomcat can serve(my understanding), which means max number of threads working.
Now suppose I set maxThread =2 and there are two threads working simultaneously currently. If one of the thread creates 2 child threads(calling some other api).
My Question: If maxThread=2 can 4 threads(two parent + 2 child) exists? If yes what maxThread controls? If not what will happen in such case?
Pardon if I am difficult to explain myself.