Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6733710574 for ; Thu, 2 May 2013 19:02:32 +0000 (UTC) Received: (qmail 23692 invoked by uid 500); 2 May 2013 19:02:28 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 23495 invoked by uid 500); 2 May 2013 19:02:28 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Delivered-To: moderator for solr-user@lucene.apache.org Received: (qmail 2376 invoked by uid 99); 2 May 2013 18:55:04 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Patanachai.Tangchaisin@wizecommerce.com designates 213.199.154.184 as permitted sender) X-Forefront-Antispam-Report: CIP:132.245.1.133;KIP:(null);UIP:(null);IPV:NLI;H:BLUPRD0412HT003.namprd04.prod.outlook.com;RD:none;EFVD:NLI X-SpamScore: 8 X-BigFish: PS8(zzbb2dI98dI9371I181fM1432I4015Izz1f42h1fc6h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ahzz17326ah8275bh17c832iz30ih2a8h668h839h947hd25he5bhf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h190ch1946h19b4h19c3h19ceh1ad9h1b0ah1cb5h1d0ch1d2eh1d3fh1307i1155h) Received-SPF: fail (mail189-db8: domain of wizecommerce.com does not designate 132.245.1.133 as permitted sender) client-ip=132.245.1.133; envelope-from=Patanachai.Tangchaisin@wizecommerce.com; helo=BLUPRD0412HT003.namprd04.prod.outlook.com ;.outlook.com ; Message-ID: <5182B65F.30005@wizecommerce.com> Date: Thu, 2 May 2013 11:54:23 -0700 From: Patanachai Tangchaisin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Subject: Re: socket write error References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Originating-IP: [216.185.210.251] X-OriginatorOrg: wizecommerce.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, First, which version of Solr are you using? I also has 60 shards+ on Solr 4.2.1 and it doesn't seems to be a problem for me. - Make sure you use POST to send a query to Solr. - 'connection reset by peer' from client can indicate that there is something wrong with server e.g. server closes a connection etc. -- Patanachai On 05/02/2013 05:05 AM, Dmitry Kan wrote: > After some searching around, I see this: > > http://search-lucene.com/m/ErEZUl7P5f2/%2522socket+write+error%2522&subj= =3DLong+list+of+shards+breaks+solrj+query > > Seems like this has happened in the past with large amount of shards. > > To make it clear: the distributed search works with 20 shards. > > > On Thu, May 2, 2013 at 1:57 PM, Dmitry Kan wrote: > >> Hi guys! >> >> We have solr router and shards. I see this in jetty log on the router: >> >> May 02, 2013 1:30:22 PM org.apache.commons.httpclient.HttpMethodDirector >> executeWithRetry >> INFO: I/O exception (java.net.SocketException) caught when processing >> request: Connection reset by peer: socket write error >> >> and then: >> >> May 02, 2013 1:30:22 PM org.apache.commons.httpclient.HttpMethodDirector >> executeWithRetry >> INFO: Retrying request >> >> followed by exception about Internal Server Error >> >> any ideas why this happens? >> >> We run 80+ shards distributed across several servers. Router runs on its >> own node. >> >> Is there anything in particular I should be looking into wrt ubuntu sock= et >> settings? Is this a known issue for solr's distributed search from the p= ast? >> >> Thanks, >> Dmitry >> CONFIDENTIALITY NOTICE =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This email message and any attachments are for the exclusive use of the int= ended recipient(s) and may contain confidential and privileged information.= Any unauthorized review, use, disclosure or distribution is prohibited. If= you are not the intended recipient, please contact the sender by reply ema= il and destroy all copies of the original message along with any attachment= s, from your computer system. If you are the intended recipient, please be = advised that the content of this message is subject to access, review and d= isclosure by the sender's Email System Administrator.