From: Rickard Sjostrom Date: 2009-09-29T15:53:24+09:00 Subject: Re: Hanging XMLRPC calls I have been told that this problem occurs since the garbage collector doesnt close the new sockets in the same rate as I create new ones. Then, the first idea was to use a "close" method, but of what I can see it doesnt exist. So instead I tried to force the garbage collector to run, which actually works. But, is it a good idea to do this? Some other, better way to acheive this? loop client = Client.new client.call(....) #client.close #doesnt work, "undefined method" ObjectSpace.garbage_collect #works fine end Regards /Rickard -- Posted via http://www.ruby-forum.com/.