james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] Updated: (JAMES-774) Add documentation for the dns ttl issue
Date Tue, 19 Oct 2010 11:19:04 GMT

     [ https://issues.apache.org/jira/browse/JAMES-774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Norman Maurer updated JAMES-774:
--------------------------------

    Fix Version/s:     (was: 2.3.1)
                       (was: Trunk)
                   3.0-M1

> Add documentation for the dns ttl issue
> ---------------------------------------
>
>                 Key: JAMES-774
>                 URL: https://issues.apache.org/jira/browse/JAMES-774
>             Project: JAMES Server
>          Issue Type: Task
>    Affects Versions: 2.3.1, 3.0
>            Reporter: Stefano Bagnara
>            Assignee: Danny Angus
>             Fix For: 3.0-M1
>
>
> Add documentation to the site and/or to the config.xml about the unbounded cache issue
in the JVM and how we introduced a system property networkaddress.cache.ttl that is read by
phoenix at startup and used to override the java 1.4 Security.setProperty("networkaddress.cache.ttl"
value.
> By default in run.bat, phoenix.sh and james-server.sh (this one only in trunk) and wrapper.conf
we added 300 seconds (-Dnetworkaddress.cache.ttl=300).
> The cache is about positive results from dns lookups.
> -1 means that the cache is never expired
> 0 means no cache
> x>0 mean the number of seconds before expiration.
> Please not that james trunk should not be affected by this cache because every usage
of the InetAddress lookups have been removed by core code, but third party mailets could be
afftected anyway, and this is why we added the property. James 2.3 instead still uses some
InetAddress lookup and this property will save from OOM due to the unbounded cache.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message