From: Daniel Waite Date: 2008-11-26T17:23:34+09:00 Subject: Re: Ruby + FreeBSD = bandwidth killer? Sean Mehan wrote: > Have you got any netstat data between the two boxes? > > netstat with -a, b, m, s might show some interesting diffs .... Hmm... each of those show a ton of information. Not sure what you'd want to look at. Here's a snippet of netstat -p tcp on Leopard: Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.1.100.54298 iw-in-f103.googl.http SYN_SENT tcp4 0 0 192.168.1.100.54297 eh-in-f99.google.http FIN_WAIT_1 tcp4 0 0 192.168.1.100.54174 iw-in-f103.googl.http CLOSE_WAIT tcp4 0 0 192.168.1.100.54171 iw-in-f103.googl.http CLOSE_WAIT tcp4 0 0 192.168.1.100.54170 iy-in-f127.googl.http CLOSE_WAIT tcp4 0 0 192.168.1.100.54169 cf-in-f165.googl.http CLOSE_WAIT tcp4 0 0 192.168.1.100.54163 gx-in-f165.googl.http CLOSE_WAIT tcp4 0 0 192.168.1.100.54159 server.andreas-s.http CLOSE_WAIT tcp4 0 0 192.168.1.100.54158 server.andreas-s.http CLOSE_WAIT tcp4 0 0 192.168.1.100.54157 server.andreas-s.http CLOSE_WAIT tcp4 0 0 192.168.1.100.54154 server.andreas-s.http CLOSE_WAIT tcp4 0 0 192.168.1.100.52363 205.188.13.40.aol ESTABLISHED tcp4 0 0 192.168.1.100.52362 caim-m04b.blue.a.aol ESTABLISHED tcp4 0 0 192.168.1.100.52361 oam-m01b.blue.ao.aol ESTABLISHED tcp4 0 0 192.168.1.100.52360 205.188.8.196.aol ESTABLISHED tcp4 0 0 192.168.1.100.52358 kc-in-f125.googl.jabbe ESTABLISHED tcp4 0 0 192.168.1.100.54144 eh-in-f99.google.http TIME_WAIT tcp4 0 0 192.168.1.100.54143 iw-in-f104.googl.http TIME_WAIT tcp4 0 0 192.168.1.100.54142 eh-in-f99.google.http TIME_WAIT tcp4 0 0 192.168.1.100.54146 eh-in-f99.google.http TIME_WAIT tcp4 0 0 192.168.1.100.54145 iw-in-f104.googl.http TIME_WAIT tcp4 0 0 192.168.1.100.54149 iw-in-f104.googl.http TIME_WAIT tcp4 0 0 192.168.1.100.54148 eh-in-f99.google.http TIME_WAIT tcp4 0 0 192.168.1.100.54147 iw-in-f104.googl.http TIME_WAIT tcp4 0 0 192.168.1.100.54151 iw-in-f104.googl.http TIME_WAIT tcp4 0 0 192.168.1.100.54150 eh-in-f99.google.http TIME_WAIT ... goes on with many more connections to Google... Based on this bit of Ruby: loop { Hpricot(open('http://google.com')) } I get similar output on the FreeBSD machine. -- Posted via http://www.ruby-forum.com/.