Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Viewing connector statistics

Hi all,

I am trying to figure out why I sometimes lose my connections.  I *think* that turning on the connector statistics will give me more visiblity into if I am running out of connections, or hitting the low resources settings:

 <Call name="addConnector">
      <Arg>
          <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
            <Set name="host"><Property name="jetty.host" /></Set>
            <Set name="port"><Property name="jetty.port" default="8080"/></Set>
            <Set name="maxIdleTime">300000</Set>
            <Set name="Acceptors">2</Set>
            <Set name="statsOn">true</Set>
            <Set name="confidentialPort">8443</Set>
	    <Set name="lowResourcesConnections">20000</Set>
	    <Set name="lowResourcesMaxIdleTime">5000</Set>
          </New>
      </Arg>
    </Call>

However, after turning them on via statsOn=true, and restarting the code:

java -Dsolr.solr.home=/Users/epugh/Documents/projects/solrcookbook/asf_trunk/solr/example/solr/ -jar start.jar OPTIONS=default etc/jetty-stats.xml 

I don't see anything coming out.  I connected via JConsole, but there doesn't seem to be anything Jetty specific:

https://skitch.com/epugh/8m173/java-monitoring-and-management-console

Any suggestions on how to see those statistics?

Eric Pugh



-----------------------------------------------------
Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com
Co-Author: Apache Solr 3 Enterprise Search Server available from http://www.packtpub.com/apache-solr-3-enterprise-search-server/book	
This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.













Back to the top