Uploaded image for project: 'OpenJDK'
  1. OpenJDK
  2. OPENJDK-100

Need to set networkaddress.cache.negative.ttl=0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • Containers.1.10.GA
    • None
    • container
    • None

      While researching <https://bugzilla.redhat.com/show_bug.cgi?id=1600551> it would noticed that networkaddress.cache.negative.ttl=10 in the Java s2i image.

      I will share a message from the bugzilla that explains issue:

      Comment 38 Dan Mace 2018-09-21 15:34:39 EDT

      An aside: if any of these cases seem isolated to Java applications, please test setting the following JVM property in affected applications:

      networkaddress.cache.negative.ttl=0

      As documented at https://docs.oracle.com/javase/7/docs/technotes/guides/net/properties.html.

      In a cloud environment, a negative lookup cache is problematic given the volatility of service names. In OpenShift specifically it's probably best to rely on the nameservers to manage DNS caching.

            jdowland@redhat.com Jonathan Dowland
            rhn-support-rbost Robert Bost
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: