Joseph McDonald <joe / vpop.net> writes: > server: > ./socketbug.rb:6:in `wait': No child processes (Errno::ECHILD) > from ./socketbug.rb:6 > from ./socketbug.rb:5:in `call' > from ./socketbug.rb:11 > > It seems to happen randomly, but maybe every 500 or so requests? > Any idea what causes it? > > And then the client: > > It seems to really slow down from time to time (it could be > the server that is hanging of course...) The hang time is sometimes up > to 10 seconds between requests. I also get the: > ./client.rb:7:in `open': No buffer space available - "socket(2)" (Errno::ENOBUFS) > which I don't understand, is "w1" still hanging around after the > close? Here is the new client code. As you can see, I just added the > w1.close I just ran it on my Linux box (Linux zip 2.4.0-64GB-SMP) for 30,000 iterations without any problems or slowdowns. You wouldn't be a W2K user by any chance? Dave