There is a Linux option whereby each thread runs as its own process. You probably have that option set. And yes, a busy app server will run hundreds of threads.
Thanks for reply. Would it be any perfomance issue on this practice? Since the number of processes I saw is keep on increasing, does this means my project got some problems will causing some of the threads cannot be end properly?
Thanks and regards,
Most threads represent new http connections - the more simultaneous http requests you have the more threads get run (and thus the more processes you will see). This is not a problem, it is just the way it works.
Also, in a recent forum post (which I have not been able to locate) we discussed an issue whereby jbossas is not releasing http-related threads after they have gone idle. This could be a Tomcat 6.0 issue because the configuration options that used to govern this are no longer mentioned in the Tomcat 6.0 docs.