Hi,

In message "[ruby-talk:11487] TCPSocket Problem?"
    on 01/02/25, "Chris New" <chris / newdev.co.uk> writes:

|In RH6.1 two file descriptors are opened for the TCPServer Class (as seen in
|/proc/xxx/fd) and extras are opened for each accepted connection and freed
|once the connection is closed.
|In RH7.0 every call to recvfrom() for the accepted connection creates a new
|fd!  These go on being opened (and never freed) until the kernel limit is
|reached - throwing and exception.
|
|Sounds like a difference in the kernel socket code to me but can someone
|assure me I am not barking up the wrong tree.

FYI, the latest 1.7.0 do not use call dup(2) on sockets, it uses one
connection instead of two.

							matz.