Hi Mark and all, DNS resolution is working, but with a couple of IP's we got a timeout. In org.dspace.statistics.util.DnsLookup the timeout for the extended resolver is set to 20 milliseconds see res.setTimeout(0, 20); The default in our env would be 5 seconds. So I wonder whether to set the timeout higher or to default.
Enjoy the OR and Madrid Claudia Am 24.06.2010 12:27, schrieb Mark Diggory: > You need to make sure your DNS resolution is working properly on that > machine so that the java library can use it. If configured > correctly, the resolution errors may be malicious clients spoofing > IP/hostnames. > > The Solr Statistics system needs to perform DNS lookups on client > addresses to hosts during the analysis for detecting bots. If we want > to make this feature optional, it will reduce the accuracy of > excluding bot activity from the stats based on host domain. > > Mark > > On Jun 24, 2010, at 4:14 AM, Claudia Jürgen wrote: > >> Hi all, >> >> we updated our instance to 1.6.0 and got some (250-800/day) solr >> errors (see below) related to the dns lookup in >> org.dspace.statistics.SolrLogger at line 182: try { String dns = >> DnsLookup.reverseDns(ip); doc1.addField("dns", dns.toLowerCase()); >> } catch (Exception e) { log.error(e.getMessage()); } >> >> Is anyone facing the same issue and maybe got solved it. Note in >> the logs only the line ERROR org.dspace.statistics.SolrLogger @ >> appears. >> >> thanks >> >> Claudia Jürgen >> >> >> >> 2010-06-23 11:52:03,890 ERROR org.dspace.statistics.SolrLogger @ >> java.net.SocketTimeoutException at >> org.xbill.DNS.Client.blockUntil(Client.java:43) at >> org.xbill.DNS.UDPClient.recv(UDPClient.java:43) at >> org.xbill.DNS.UDPClient.sendrecv(UDPClient.java:70) at >> org.xbill.DNS.SimpleResolver.send(SimpleResolver.java:256) at >> org.xbill.DNS.ExtendedResolver$Resolution.start(ExtendedResolver.java:93) >> >> at org.xbill.DNS.ExtendedResolver.send(ExtendedResolver.java:359) >> at >> org.dspace.statistics.util.DnsLookup.reverseDns(DnsLookup.java:36) >> at org.dspace.statistics.SolrLogger.post(SolrLogger.java:184) at >> org.dspace.statistics.SolrLoggerUsageEventListener.receiveEvent(SolrLoggerUsageEventListener.java:41) >> >> at >> org.dspace.services.events.SystemEventService.fireLocalEvent(SystemEventService.java:154) >> >> at >> org.dspace.services.events.SystemEventService.fireEvent(SystemEventService.java:97) >> >> at >> org.dspace.app.webui.servlet.HandleServlet.doDSGet(HandleServlet.java:173) >> >> at >> org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) >> >> at >> org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) >> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >> >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> >> at >> org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:112) >> >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) >> >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) >> >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) >> >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) >> >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >> >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261) >> >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) >> >> at >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581) >> >> at >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) >> >> at java.lang.Thread.run(Thread.java:595) >> >> >> >> -- Mit freundlichen Gruessen >> >> Claudia Juergen Universitaetsbibliothek Dortmund Eldorado >> 0231/755-4043 https://eldorado.tu-dortmund.de/ >> >> ------------------------------------------------------------------------------ >> >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky >> parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ DSpace-tech mailing >> list DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech > -- Mit freundlichen Gruessen Claudia Juergen Universitaetsbibliothek Dortmund Eldorado 0231/755-4043 https://eldorado.tu-dortmund.de/ ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech