Discussion:
[Fab-user] Command timeout after 10 minutes
Rob Marshall
2018-06-14 20:17:27 UTC
Permalink
Hi,

I'm running a remote command using Fabric 1.13.2 which keeps timing
out after 10 minutes. I set the timeout on the run command but that
doesn't seem to help. Is there another timeout somewhere that I need
to change?

Thanks,

Rob
Brandon Whaley
2018-06-14 20:54:19 UTC
Permalink
How are you setting the timeout? I would try this if you have not already:

with settings(command_timeout=3600):
run("my long command")
Post by Rob Marshall
Hi,
I'm running a remote command using Fabric 1.13.2 which keeps timing
out after 10 minutes. I set the timeout on the run command but that
doesn't seem to help. Is there another timeout somewhere that I need
to change?
Thanks,
Rob
_______________________________________________
Fab-user mailing list
https://lists.nongnu.org/mailman/listinfo/fab-user
Brandon Whaley
2018-06-14 20:55:54 UTC
Permalink
Another thought, perhaps your problem is keepalive?

http://docs.fabfile.org/en/1.14/usage/env.html#keepalive
Post by Brandon Whaley
run("my long command")
Post by Rob Marshall
Hi,
I'm running a remote command using Fabric 1.13.2 which keeps timing
out after 10 minutes. I set the timeout on the run command but that
doesn't seem to help. Is there another timeout somewhere that I need
to change?
Thanks,
Rob
_______________________________________________
Fab-user mailing list
https://lists.nongnu.org/mailman/listinfo/fab-user
Rob Marshall
2018-06-14 23:25:29 UTC
Permalink
Hi,

Looks like it was the keepalive timer. The process has now been
running for over an hour and a half, so looking good.

Thanks for all the help,

Rob
Post by Brandon Whaley
Another thought, perhaps your problem is keepalive?
http://docs.fabfile.org/en/1.14/usage/env.html#keepalive
Post by Brandon Whaley
run("my long command")
Post by Rob Marshall
Hi,
I'm running a remote command using Fabric 1.13.2 which keeps timing
out after 10 minutes. I set the timeout on the run command but that
doesn't seem to help. Is there another timeout somewhere that I need
to change?
Thanks,
Rob
_______________________________________________
Fab-user mailing list
https://lists.nongnu.org/mailman/listinfo/fab-user
Loading...