Actions
Bug #3928
closedgetaddrinfo: Name or service not known
Bug #3928:
getaddrinfo: Name or service not known
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
Ruby 1.9.2 debian 2.6.32-5-686 #1 SMP (i686)
Backport:
Description
=begin
Hello. I am having strange error when I am creating lots of TCPSocket objects.
Here is a snippet:
require 'socket'
i = 0
while true do
socket = TCPSocket "google.com", 80
i += 1
puts i
end
On ~ 900 - 1100 iteration I get the error: getaddrinfo: Name or service not known.
Ruby 1.9.2 debian 2.6.32-5-686 #1 SMP (i686)
Sorry I coudn't find how to create this issue with the "bug" tracker.
=end
Actions