cea-hpc/clustershell — Issue #33: Fix ClusterShell fanout definition
Author: thiell
Created: 2012-03-03 16:45:23+00:00
State: open
Labels: Lib/Engine

Currently, '''set_info("fanout", f)''' fixes the execution window size of file descriptors in Engine. The user should not be aware of this internal number. The user wants (I know the user well) to set the concurrent number of running EngineClient.

In ClusterShell v1.0, an EngineClient consumes 1 FD (stdout).
In ClusterShell v1.1, an EngineClient consumes 2 FD (stdin and stdout).
In ClusterShell v1.2, an EngineClient consumes 2 or 3 FD (stdin, stdout and optionally stderr).

Fix fanout definition with: fanout is the max size of the concurrent running EngineClient (and not FD).

Then also fix '''clush.py''' and remove the "fanout * 2".