I wrote a quick script to check the "up-ness" of a list of machines,
and timeout after 1 second. However, with a lot of timeouts, the
script takes a logn time, so I thought to parallelise it. However, as
soon as I do, the pings that do not get a response never return, so
their threads block forever
On 2 Apr, 15:03, "Miki" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> >def run(self):
> > # -w 1 option topingmakes ittimeoutafter 1 second
> > pingcmd="/bin/ping-c 2 -q -i 0.3 -w 1 %s >/dev/null" % ip
>
> Not sure, but "ip" should be "self.ip", this might cause theproblem.
Sorry, that w