Re: Solr Server Add causes java.net.SocketException: No buffer space available

2013-06-17 Thread Snubbel
I did try something else. I did add a list of SolrInputDocuments containing 500 Documents at a time. Now it works. Adding every Document seems to be too much after about 1 Documents (even with commits after every 500 Documents). But this is only in Solr 4.3, in 4.0 this was possible without a

Re: Solr Server Add causes java.net.SocketException: No buffer space available

2013-06-17 Thread Snubbel
Hello, I did set the autoCommit to 5 Minutes and removed all commit Statements but one, because, you see, my test case is as follows: I need a hugh number of documents in Solr. Then I want to update them with AtomicUpdate and, for comparison, the "classical" way, like we did before Solr 4.3. So,

Re: Solr Server Add causes java.net.SocketException: No buffer space available

2013-06-17 Thread Erick Erickson
Wild shot in the dark here, but try taking the solrServer.commit() out and rely on the autocommit parameters in solrconfig.xml. And configure autocommit to commit, say, every 5 minutes and do _not_ configure the "numDocs" bit for autocommit. If you do that and don't have this problem, we can talk

Re: Solr Server Add causes java.net.SocketException: No buffer space available

2013-06-17 Thread Snubbel
Hello, thanks for your replies, maybe I'm opening to many connections, only I don't know how, because I don't do this explicitly. Here is a snippet of my code, can anyone explain, where the connections are opend and how I can close them? solrServer = new HttpSolrServer(url); QueryResponse result

Re: Solr Server Add causes java.net.SocketException: No buffer space available

2013-06-14 Thread Travis Low
If it's a windows box, then you may be experiencing a kernel sockets leak problem. http://support.microsoft.com/kb/2577795 On Fri, Jun 14, 2013 at 1:20 PM, Shawn Heisey wrote: > On 6/14/2013 8:57 AM, Snubbel wrote: > >> Hello, >> >> I am upgrading from Solr 4.0 to 4.3 and a Testcase that worke

Re: Solr Server Add causes java.net.SocketException: No buffer space available

2013-06-14 Thread Shawn Heisey
On 6/14/2013 8:57 AM, Snubbel wrote: Hello, I am upgrading from Solr 4.0 to 4.3 and a Testcase that worked fine is failing since. I do commit 1 Documents to Solr, then reload them and add a value to a multi-valued field with Atomic Update. I do commit every 50 Documents, so it's not so many