Tomcat requests load issue "Connection refused" -
Tomcat requests load issue "Connection refused" -
i have app on tomcat 7.50, works fine on single request on many simultanious requests (~1200) i'm getting:
2014-11-02 11:22:48,485 error [monitor-agent ] connection http://localhost:9080 refused url http://localhost:9080/monitorlog/monitor?id=21812&name=sv17222_db82c_201410282357.log... 2014-11-02 11:22:48,485 error [monitor-agent ] connection http://localhost:9080 refused org.apache.http.conn.httphostconnectexception: connection http://localhost:9080 refused @ org.apache.http.impl.conn.defaultclientconnectionoperator.openconnection(defaultclientconnectionoperator.java:158) @ org.apache.http.impl.conn.abstractpoolentry.open(abstractpoolentry.java:149) @ org.apache.http.impl.conn.abstractpooledconnadapter.open(abstractpooledconnadapter.java:121) @ org.apache.http.impl.client.defaultrequestdirector.tryconnect(defaultrequestdirector.java:573) @ org.apache.http.impl.client.defaultrequestdirector.execute(defaultrequestdirector.java:425) @ org.apache.http.impl.client.abstracthttpclient.execute(abstracthttpclient.java:820) @ org.apache.http.impl.client.abstracthttpclient.execute(abstracthttpclient.java:941) @ org.apache.http.impl.client.abstracthttpclient.execute(abstracthttpclient.java:919) @ org.apache.http.impl.client.abstracthttpclient.execute(abstracthttpclient.java:910) @ com.securegion.monitoragent.monitor.monitoragent.httpget(monitoragent.java:291) @ com.securegion.monitoragent.monitor.monitoragent.monitor(monitoragent.java:239) @ com.securegion.monitoragent.monitor.monitoragent.check(monitoragent.java:203) @ com.securegion.monitoragent.engine.agent.run(agent.java:35) @ java.util.timerthread.mainloop(unknown source) @ java.util.timerthread.run(unknown source) caused by: java.net.connectexception: connection refused: connect @ java.net.dualstackplainsocketimpl.connect0(native method) @ java.net.dualstackplainsocketimpl.socketconnect(unknown source) @ java.net.abstractplainsocketimpl.doconnect(unknown source) @ java.net.abstractplainsocketimpl.connecttoaddress(unknown source) @ java.net.abstractplainsocketimpl.connect(unknown source) @ java.net.plainsocketimpl.connect(unknown source) @ java.net.sockssocketimpl.connect(unknown source) @ java.net.socket.connect(unknown source) @ org.apache.http.conn.scheme.plainsocketfactory.connectsocket(plainsocketfactory.java:123) @ org.apache.http.impl.conn.defaultclientconnectionoperator.openconnection(defaultclientconnectionoperator.java:148) ... 14 more
my server.xml connector:
<connector port="9080" protocol="http/1.1" connectiontimeout="60000" redirectport="8443" keepalivetimeout = "-1" maxthreads="150" acceptcount="1500"/>
it's fine if requests rejected , resolved in next iteration, few (~5) getting success before server giving me messaggs
problem memory issue. after releasing stack memory deleting -xmx attribute, issue solved
tomcat
Comments
Post a Comment