in reply to Re^5: A question of fork efficiency
in thread A question of fork efficiency

One issue I'm seeing is that any server that gets to this point of the code:

if( not @connects )

Causes a 1 to 2 second delay. Looks like these are servers in DNS but not pingable.

Replies are listed 'Best First'.
Re^7: A question of fork efficiency
by tybalt89 (Monsignor) on Aug 07, 2019 at 18:18 UTC

    That's the basic 'timeout' point, It should only get there if all active attempted connections have timed out (not completed a connection in the $timeout interval).