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

 
1

    
2
require 'resolv'
3
require 'net/http'
4
Thread.new do
5
  loop do
6
    sleep 0.3
7
    p Resolv.getaddress('rubygems.org')
8
  end
9
end.abort_on_exception = true
10

    
11

    
12
loop do
13
  `ps -orss`
14
  `ps -orss`
15
  `ps -orss`
16
  `ps -orss`
17
  `ps -orss`
18
  `ps -orss`
19
  `ps -orss`
20
  `ps -orss`
21
end
22