BTW... after a while CLOSE_WAIT changes to "can't identify protocol"
Mit freundlichen Grüßen David Kumar Softwareentwickler, B. Sc. Abteilung Infotech - Interaktiv TELESTAR-DIGITAL GmbH Am Weiher 14 D-56766 Ulmen Tel.: + 49 (0) 6592 / 712 -2826 Tel.: + 49 (0) 2676 / 9520 -183 Fax: + 49 (0) 6592 / 712 -2829 http://www.telestar.de/ -----Ursprüngliche Nachricht----- Von: David Kumar Gesendet: Mittwoch, 13. März 2013 20:01 An: 'Tomcat Users List' Betreff: AW: AW: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open Hey, right no we're having our Problem. I tried gc through jconsole --> no changes and still a lot CLOSE_WAIT. So it is not a GC Problem and disablereuse doesn't work either.. Any other ideas? What do you guy think about proxy_ajp instead of jk? What are the advantages of proxy_ajp? Thanks a lot.. Mit freundlichen Grüßen David Kumar Softwareentwickler, B. Sc. Abteilung Infotech - Interaktiv TELESTAR-DIGITAL GmbH Am Weiher 14 D-56766 Ulmen http://www.telestar.de/ -----Ursprüngliche Nachricht----- Von: David Kumar [mailto:dku...@telestar.de] Gesendet: Mittwoch, 13. März 2013 14:32 An: Tomcat Users List Betreff: AW: AW: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open Hey, I'm really not sure if that tool does anything, because there is no feedback.. Funny: Just a few minutes ago a colleague showed ma a tool called something like VM monitor on his mac. It look a kind of similar to jconsole.exe. Next time I will try to make GC with this tool. Meanwhile I reduced the connectionTimeout, reconfigured maxClients and added -DisableReuse to jkpropertys. Lets see what happens... Thanks a lot.. Mit freundlichen Grüßen David Kumar Softwareentwickler, B. Sc. Abteilung Infotech - Interaktiv TELESTAR-DIGITAL GmbH Am Weiher 14 D-56766 Ulmen http://www.telestar.de/ -----Ursprüngliche Nachricht----- Von: André Warnier [mailto:a...@ice-sa.com] Gesendet: Mittwoch, 13. März 2013 12:20 An: Tomcat Users List Betreff: Re: AW: AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open David Kumar wrote: > Hey, > > we just had that problem again. I did that GC trick, it didn't work out well. > I used: > > set hosts [list] > lappend hosts {localhost:7008} > lappend hosts {localhost:9008} > # ...add as many as you want... > > foreach {host} $hosts { > set parts [split $host ":"] > set hostname [lindex $parts 0] > set port [lindex $parts 1] > > # for each host... > > # Connect to it. > jmx_connect -h $hostname -p $port > > # Invoke the garbage collector. > jmx_invoke -n -m java.lang:type=Memory gc > > # Close this connection > jmx_close > } > > I found that while googleing. > But it doesn't have any effect. Any other ideas? > Did it really connect with the Tomcat JVM and really do anything ? Is your JVM started with options that allow JMX interaction ? Also, there are ways to start the JVM with parameters telling it to log the Garbage Collections to a logfile. Make sure that you do that, and check the logfile to see if it really does a GC when you ask it to. Note that there are also other ways to trogger a GC than using jmxsh. I was only pointing you to that tool as an easy-to-script, non-GUI tool. But in your java directory (at least the JDK/bin), there should also be a "jconsole" program which allows you to do pretty much the same interactively with a GUI. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org