fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] timeouts


From: Christian Vest Hansen
Subject: Re: [Fab-user] timeouts
Date: Mon, 14 Mar 2011 10:47:27 +0100

Hi,

Not saying that this is the same issue, but I've had problems where
our firewall would "close" connections that had not seen traffic for
30 minutes, but just dropping all packets for those connections.
Neither the client nor the server is able to tell when this happens -
the connection is still considered live by the OS, and no timeouts are
flagged. It can be mitigated by ensuring regular traffic through the
connection, like transferring the file in smaller chunks, or
compressing with a chatty program such as bzip2 with the
double-verbose -vv flag.

On Mon, Mar 14, 2011 at 09:08, Michael Bravo <address@hidden> wrote:
> Hello,
>
> I'd like to raise the issue of timeouts. There is at least one case I
> run into repeatedly and quite reliably. It occurs on a task I run
> across a number of database hosts, where a set of tables gets dumped,
> compressed and then transferred. On some of those hosts the dumps are
> quite extensive, and running "gzip -9" on them takes considerable
> time, more than a dozen minutes. And it's where the problem occurs.
> From time to time I am forced to ssh to the host in question
> separately and observe that the gzip process is not running anymore
> (having completed its job), while Fabric is not aware of it and just
> sits there, never timing out. It also results in the necessity for me
> to interrupt or kill the Fabric process and, depending on the position
> of the host in question on the list, make manual readjustments to
> complete the task across the host list. It's rather inconvenient. Is
> there anything that can be done to prevent this, or some debugging
> info I could provide to help pinpoint the problem? To be honest, I'm
> not exactly sure where the problem lies, does the actual network
> connection time out (seems unlikely), or is something happening with
> the actual detection of events on the other side of the connection.
>
> P.S. From browsing through existing issues, I understand that the
> problem like that probably lies with Paramiko, would that be correct?
> --
> /\/\ike
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
>



-- 
Venlig hilsen / Kind regards,
Christian Vest Hansen.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]