cant get logging to work
I am only getting basic information in the logs. I want to get detailed session oriented info, like HTTP requests, etc. What needs to be changed ? How do I make this work ? I have set up the three log files: Logger name=tc_log path=logs/tomcat.log verbosityLevel = DEBUG customOutput=yes / Logger name=servlet_log path=logs/servlet.log verbosityLevel = DEBUG customOutput=yes / Logger name=JASPER_LOG path=logs/jasper.log verbosityLevel = DEBUG / and have set debug to 99 for the context: Context path=/ docBase=/basedir/public_html debug=99 reloadable=true /Context Brian Martin Unix Administrator Alamo, Local Market Division (440) 715-3549
tomcat thread hogs CPU - is this a bug ?
I am running tomcat 3.2 on an dual cpu HPUX-11.0 box, using IIS on the front end on an NT box. when I look at the thread list (using glance) for the tomcat process, i can see 42 threads, but only one of them is showing high cpu usage in this screen shot, it is thread id 8168. why are there so many threads at 0 % ? is anyony else running tomcat on hpux ? if yes, can you email me your screen captures showing performance related stuff. I am trying to figure out whether or not some of the things that i am looking at are 'normal' or just my system. is there a way to tell what each thread is doing ? Thread List PID: 2805, javaPPID: 2803 euid: 101 User: weblogic CPU UtilCPU Tm Phys Logl Block TID( 200% max)Cum IO Rate IO Rate Scheduler Pri On 81500.0/ 0.0 1.80.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81670.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 8168 46.8/ 6.5 3950.70.0/ 0.00.0/ 0.0 HPUX 239 PRI 81690.0/ 0.0 1.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81700.0/ 0.0 1.50.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81710.2/ 0.179.60.0/ 0.00.0/ 0.0 HPUX 168 SLEEP 81720.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81730.7/ 0.133.50.0/ 0.08.1/ 0.8 HPUX 154 SYSTM 81740.0/ 0.0 3.60.0/ 0.00.0/ 0.0 HPUX 168 SLEEP 81750.0/ 0.011.20.0/ 0.00.0/ 10.9 HPUX 154 SYSTM 81760.0/ 0.0 4.30.0/ 0.00.0/ 4.1 HPUX 154 SYSTM 81774.8/ 0.157.80.0/ 0.0 3564.2/ 56.9 HPUX 192 PRI 81780.0/ 0.2 108.10.0/ 0.00.0/ 103.3 HPUX 154 SYSTM 81790.0/ 0.016.00.0/ 0.00.0/ 15.6 HPUX 154 SYSTM 81807.6/ 0.3 186.50.0/ 0.0 5402.8/ 188.7 HPUX 192 PRI 81814.0/ 0.147.50.0/ 0.0 2815.3/ 49.6 HPUX 154 STRMS 81820.0/ 0.3 155.40.0/ 0.00.0/ 159.6 HPUX 154 SYSTM 81834.7/ 0.3 164.60.0/ 0.0 2677.0/ 169.5 HPUX 154 SYSTM 81844.7/ 0.3 207.60.0/ 0.0 2556.4/ 209.6 HPUX 193 PRI 81850.0/ 0.0 0.20.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81900.0/ 0.0 0.30.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81910.0/ 0.0 3.90.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81920.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81930.0/ 0.0 4.10.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81940.0/ 0.0 0.20.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81950.2/ 0.150.70.0/ 0.00.0/ 0.0 HPUX 154 SLEEP 81960.0/ 0.0 0.30.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81970.0/ 0.0 4.60.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 295710.0/ 0.1 7.20.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85460.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85470.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85480.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85490.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85500.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85510.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85520.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85530.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM Brian Martin Unix Administrator Alamo, Local Market Division (440) 715-3549
tomcat threads - only one has high CPU time
I am running tomcat 3.2 on an dual cpu HPUX-11.0 box, using IIS an the front end on an NT box. when I look at the thread list (using glance) for the tomcat process, i can see 42 threads, but only one of them is showing high cpu usage in this screen shot, it is thread id 8168. why are there so many threads at 0 % ? is anyony else running tomcat on hpux ? if yes, can you email me your screen captures showing performance related stuff. I am trying to figure out whether or not some of the things that i am looking at are 'normal' or just my system. is there a way to tell what each thread is doing ? Brian Martin Unix Administrator Alamo, Local Market Division (440) 715-3549 Thread List PID: 2805, javaPPID: 2803 euid: 101 User: weblogic CPU UtilCPU Tm Phys Logl Block TID( 200% max)Cum IO Rate IO Rate Scheduler Pri On 81500.0/ 0.0 1.80.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81670.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 8168 46.8/ 6.5 3950.70.0/ 0.00.0/ 0.0 HPUX 239 PRI 81690.0/ 0.0 1.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81700.0/ 0.0 1.50.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81710.2/ 0.179.60.0/ 0.00.0/ 0.0 HPUX 168 SLEEP 81720.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81730.7/ 0.133.50.0/ 0.08.1/ 0.8 HPUX 154 SYSTM 81740.0/ 0.0 3.60.0/ 0.00.0/ 0.0 HPUX 168 SLEEP 81750.0/ 0.011.20.0/ 0.00.0/ 10.9 HPUX 154 SYSTM 81760.0/ 0.0 4.30.0/ 0.00.0/ 4.1 HPUX 154 SYSTM 81774.8/ 0.157.80.0/ 0.0 3564.2/ 56.9 HPUX 192 PRI 81780.0/ 0.2 108.10.0/ 0.00.0/ 103.3 HPUX 154 SYSTM 81790.0/ 0.016.00.0/ 0.00.0/ 15.6 HPUX 154 SYSTM 81807.6/ 0.3 186.50.0/ 0.0 5402.8/ 188.7 HPUX 192 PRI 81814.0/ 0.147.50.0/ 0.0 2815.3/ 49.6 HPUX 154 STRMS 81820.0/ 0.3 155.40.0/ 0.00.0/ 159.6 HPUX 154 SYSTM 81834.7/ 0.3 164.60.0/ 0.0 2677.0/ 169.5 HPUX 154 SYSTM 81844.7/ 0.3 207.60.0/ 0.0 2556.4/ 209.6 HPUX 193 PRI 81850.0/ 0.0 0.20.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81900.0/ 0.0 0.30.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81910.0/ 0.0 3.90.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81920.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81930.0/ 0.0 4.10.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81940.0/ 0.0 0.20.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81950.2/ 0.150.70.0/ 0.00.0/ 0.0 HPUX 154 SLEEP 81960.0/ 0.0 0.30.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 81970.0/ 0.0 4.60.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 295710.0/ 0.1 7.20.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85460.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85470.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85480.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85490.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85500.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85510.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85520.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM 85530.0/ 0.0 0.00.0/ 0.00.0/ 0.0 HPUX 154 SYSTM