Tomcat processes.
When I start Tomcat I see the following- = [vikas@wow bin]$ ps -aefl --cols=300 | grep java 000 S vikas 858 1 4 60 0- 35712 rt_sig 13:47 pts/0 00:00:01 /net/java/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=./.. org.apache.tomcat.startup.Tomcat 040 S vikas 903 858 0 60 0- 35712 do_pol 13:47 pts/0 00:00:00 /net/java/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=./.. org.apache.tomcat.startup.Tomcat 040 S vikas 904 903 0 60 0- 35712 nanosl 13:47 pts/0 00:00:00 /net/java/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=./.. org.apache.tomcat.startup.Tomcat 040 S vikas 905 903 0 60 0- 35712 nanosl 13:47 pts/0 00:00:00 /net/java/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=./.. org.apache.tomcat.startup.Tomcat ... ... ... 040 S vikas 948 903 0 60 0- 35712 nanosl 13:47 pts/0 00:00:00 /net/java/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=./.. org.apache.tomcat.startup.Tomcat 040 S vikas 949 903 0 60 0- 35712 nanosl 13:47 pts/0 00:00:00 /net/java/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=./.. org.apache.tomcat.startup.Tomcat == It looks like that PID 858 creates a process (PID-903) which in turn creates 46 Tomcat processes (PIDS: 904-949). Where is it configured? Is there any way I can change this? So that I can start Tomcat with the no. of processes I want, say 25, 100.. whatever.. Any help in this regard is appreciated. Thanks, Vikas.
Tomcat/LoadBalancing.
Hello, I want to enable the load balancer worker on Apache/Tomcat. Even though I have configured the workers.properties file as - worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=myajp12_1, myajp13_1, myajp12_2, myajp13_2 The load balancer worker is not invoked, for I do see the debug statements for lb worker in mod_jk.log. Could you tell me, what is it that I am doing. What additional configuration do I need to do to enable load balancer. Any help in this regard is appreaciated. -Vikas.