[ 
http://jira.dspace.org/jira/browse/DS-628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claudia Jürgen reassigned DS-628:
---------------------------------

    Assignee: Jeffrey Trimble  (was: Claudia Jürgen)

One configuration parameter to document:

# Timeout for the resolver in the dns lookup
# Time in milliseconds, defaults to 200 for backward compatibility
# Your systems default is usually set in /etc/resolv.conf and varies
# between 2 to 5 seconds, to high a value might result in solr exhausting
# your connection pool
solr.resolver.timeout = 200

> Make the timeout for the extended resolver dnslookup configurable
> -----------------------------------------------------------------
>
>                 Key: DS-628
>                 URL: http://jira.dspace.org/jira/browse/DS-628
>             Project: DSpace 1.x
>          Issue Type: Improvement
>          Components: DSpace API
>    Affects Versions: 1.7.0
>            Reporter: Claudia Jürgen
>            Assignee: Jeffrey Trimble
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: DnsLookup.java.patch, DnsLookup.java.patch
>
>
> This patch enables the configuration of the extended resolver's time out for 
> the dns lookup.
> A new configuration parameter solr.resolver.timeout (sorry for yet another 
> config param) is introduced and used to set the timout in DnsLookup.java.
> For backward compatibility the time out defaults to 20 milliseconds.
> OS time outs vary between 2 to 5 seconds, from what I've learned so far.
> We did face an increasing number of solr errors (200- 900/day) due to 
> timeout, with the timeout being set to 20 milliseconds. Setting it to the 
> system defaults (5 seconds) got rid of most of these. Nowadays an average of 
> 2/day do occur.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to