Project

General

Profile

Bug #5811 » socket_backtick_test.rb

Reproduction Case for Ruby Core Issue 5811 - samg (Sam Goldstein), 02/08/2013 05:02 AM

 

require 'resolv'
require 'net/http'
Thread.new do
loop do
sleep 0.3
p Resolv.getaddress('rubygems.org')
end
end.abort_on_exception = true


loop do
`ps -orss`
`ps -orss`
`ps -orss`
`ps -orss`
`ps -orss`
`ps -orss`
`ps -orss`
`ps -orss`
end

(2-2/2)