Hi there, 

Every ansible network command has a PERSISTENT_COMMAND_TIMEOUT which 
"controls the amount of time to wait for response from remote device before 
timing out persistent connection". 

Actually, when using the *net_get* module with a very large file, the 
command times out during the transfer, even though both sides are still 
exchanging SCP messages, meaning the transfer is still underway & active. 

Shouldn't it time out **only** when there is no more communication between 
both nodes for the PERSISTENT_COMMAND_TIMEOUT period of time?

- Either we are supposed to guess how long each transfer is going to last, 
depending on the size of the file, the network load, the CPU load on both 
sides & in between and so on and adjust  PERSISTENT_COMMAND_TIMEOUT 
accordingly
- or there is way to avoid the command to timeout during the transfer, 
while still timing out when the target does not answer anymore after some 
time

Any suggestion?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1e71120f-c928-4d7f-a469-ce3c63251050%40googlegroups.com.

Reply via email to