On Thursday 11 June 2009 10:01:35 Denys Vlasenko wrote: > Pity there is no way to ask "what is the highest open fd#?" in Unix. ls /proc/self/fd | tail 1 Now if you want a non-disgusting way to ask that question, that's another matter. :) Rob -- Latency is more important than throughput. It's that simple. - Linus Torvalds