Laurent Bigonville created ARTEMIS-2219:
-------------------------------------------
Summary: Default configuration and documentation for
network-check-ping-command mix TTL and timeout
Key: ARTEMIS-2219
URL: https://issues.apache.org/jira/browse/ARTEMIS-2219
Project: ActiveMQ Artemis
Issue Type: Bug
Reporter: Laurent Bigonville
Hello,
"ping -c 1 -t %d %s" is used as the default configuration and examples in the
documentation for the network-check-ping-command parameter.
If I'm not wrong, %d is replaced by the value of network-check-timeout
BUT, the -t command of ping (or at least the recent implementation from
iputils) is the parameter for the TTL, not the timeout. The parameter for the
timeout is -W
AFAICS, at least RHEL and debian (and derivatives) are using ping from iputils,
so this should be changed in the default configuration, or at least a note
should be added in the documentation
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)