-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I just ran into the issue with the Graphite output for the
StatsCollector that the JVM never re-resolved the graphite hostname
after changing the DNS name.

This is due to networkaddress.cache.ttl being defaulted to -1:

"Specified in java.security to indicate the caching policy for
successful name lookups from the name service. The value is specified
as as integer to indicate the number of seconds to cache the
successful lookup.

A value of -1 indicates "cache forever"."

I had to restart the management server to get this working again.

Shouldn't we default this to 0 everywhere? Let the DNS recursor handle
the caching and not the JVM.

Wido
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVUeHmAAoJEAGbWC3bPspCZkYP/16hhslGzX7gMzc5HJ5GFlsZ
dKGGe98kg+gdup5H69jO2/H3SXQDVm4/caXot+GHsh3uf+71XhbnZ9IArKzBN29t
fVQknIk8gEmAiTDYr22GiKbXEVSHexmJ86hZ184IIoSTsAe5AYAhl0Nt5nj8HQol
zy4dUbIBzhVIy0fVmBY5caFTpsELT0gZ+xEIxJpch6BtBdAOfEo86TdNl7aJgJN/
0gSmr9a13xxVr4l3pAFwg3NOiL2WN1kcv5arjGZ2jDULn2hmxyIdf5wq+g4VuUag
k6ng8mboRWmoPlJRBRKTNc3+1NDjPs9ypr2AObP6tJPzH5bFEqiYNP9xerz/ruXU
CSiEmpGd0Pvh1WmHk4uMu6j8pbdtCg/0gPONjJSklpXBxLEGOktUjN8qKHVO5xpA
KUVBCgiTr1aomoeGSiOmvOxpeFChnST2s9HXqzRyEEs6ebMoeebJhkroSW17BOsY
8dbJWWZOXFTzSK+adEnffbRRL5mrWMglEwMvHuZeqk3gTxZCyVQtEdR5vtw2fknB
YDsP1AbOVGIYgWB2yFSp26GIt07w2mtRdfoOm9UluUli8OOxwOsBdCxdrBsUTRj2
pCSGZ9z+meRnLGeGFSCOfUlHvM1iW3Q02VIGKdtknS9noBWiBS1UEgpuBnEMDhUK
fc1Zg4kkmSaHvnBC+m4W
=UVKn
-----END PGP SIGNATURE-----

Reply via email to