Hi Ivan, Just so you are aware of what the feature is:
Fabric has traditionally been unable to prompts from applications running on the remote host. This version of fabric can. This is the interactivity feature, but it is not just for people, it also allows fabric to be used with (for example) expect or similar scripting tools. This is not to say that the feature should use less CPU, just that a "turning it off" may be a less than optimal solution. Or perhaps you would not need the prompting functionality at all -- in which case of course "turning it off" is a solution. Anyway, I just wanted you to be aware of everything, because I have found it useful in server situations, and may you could too. Regards, Erich 2011/3/11 Ivan <[email protected]> > > The "interactivity feature " don't need in servers, but CPU usage very > criticaly. I hope that "interactive feature" will be optional soon > > Thu, 10 Mar 2011 16:40:34 -0500 письмо от Jeff Forcier < > [email protected]>: > > > Fabric 1.0 has a new interactivity feature which seems to cause higher > > than normal CPU load on some systems. If we get enough feedback from > > users we may see about making the interactivity optional or trying to > > find an alternate polling method (though that may not be > > easy/possible). > > > > -Jeff > > > > 2011/3/10 Ivan <[email protected]>: > > > My fabfile: > > > from fabric.api import run > > > > > > def test(): > > > run("sleep 1000") > > > > > > fab -H localhost > > > > > > in version 0.9 - all ok, but in 1.0.0 - top show a high cpu usage (100% > > > percents). Why ? > > > > > > > > > > > > _______________________________________________ > > > Fab-user mailing list > > > [email protected] > > > http://lists.nongnu.org/mailman/listinfo/fab-user > > > > > > > > > > > > > > -- > > Jeff Forcier > > Unix sysadmin; Python/Ruby engineer > > http://bitprophet.org > > > _______________________________________________ > Fab-user mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/fab-user >
_______________________________________________ Fab-user mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/fab-user
