Permalink
Browse files

Added JVM argument to counter Amazon ELB DNS caching

  • Loading branch information...
Oliver Lloyd
Oliver Lloyd committed Jun 20, 2012
1 parent 20fc2a8 commit 0003c0b27499a15cad4511cf0d053ff23899f675
Showing with 3 additions and 0 deletions.
  1. +3 −0 jmeter
View
3 jmeter
@@ -87,4 +87,7 @@ SERVER="-server"
ARGS="$SERVER $DUMP $HEAP $NEW $SURVIVOR $TENURING $EVACUATION $RMIGC $PERM"
+# Added to counter ELB DNS caching - see: http://wiki.apache.org/jmeter/JMeterAndAmazon
+JVM_ARGS="-Dsun.net.inetaddr.ttl=0"
+
java $ARGS $JVM_ARGS -jar `dirname $0`/ApacheJMeter.jar "$@"

0 comments on commit 0003c0b

Please sign in to comment.