"Brent Rowland" <tarod / home.com> writes:

> > SocketTest.rb:2:in `new': Invalid argument - "connect(2)" (Errno::EINVAL)
> >         from SocketTest.rb:2
> 
> I get this error via the HTTP class a lot.  I wrote a load-testing script to
> exercise a couple of dynamic web sites, and it works nearly flawlessly on my
> Win2K box at work (a PII 400) but fails _most_ of the time under both Win2K
> and Linux-Mandrake 7.2 on my home machine (an Athlon 850).  It also failed
> on another PIII 550 running RedHat Linux 6.2.

When this happens, what does 'netstat -a' show? Are there a lot of
sockets in close_wait state?

Is it possible to condense down the failing script so we can all try
it?


Dave