Re: Connection Established but waiting for response for a long time.

2013-09-09 Thread qungg
 Set name=ThreadPool
  
  New class=org.eclipse.jetty.util.thread.QueuedThreadPool
Set name=minThreads10/Set
Set name=maxThreads1/Set
Set name=detailedDumpfalse/Set
  /New
/Set

Call name=addConnector
  Arg
  New class=org.eclipse.jetty.server.bio.SocketConnector
Set name=hostSystemProperty name=jetty.host //Set
Set name=portSystemProperty name=jetty.port
default=8983//Set
Set name=maxIdleTime5000/Set
Set name=requestHeaderSize65536/Set
Set name=lowResourceMaxIdleTime1500/Set
Set name=statsOnfalse/Set
  /New
  /Arg
/Call


Everything is default expect for 
Set name=maxIdleTime5000/Set
Set name=requestHeaderSize65536/Set

Thanks,
Qun



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Connection-Established-but-waiting-for-response-for-a-long-time-tp4088587p4088874.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Connection Established but waiting for response for a long time.

2013-09-07 Thread Furkan KAMACI
Could you give us more information about your other Jetty configurations?


2013/9/6 qungg qzheng1...@gmail.com

 Hi,

 I'm runing solr 4.0 but using legacy distributed search set up. I set the
 shards parameter for search, but indexing into each solr shards directly.
 The problem I have been experiencing is building connection with solr
 shards. If I run a query, by using wget, to get number of records from each
 individual shards (50 of them) sequentially, the request will hang at some
 shards (seems random). The wget log will say the connection is established
 but waiting for response. At that point I thought that the Solr shard might
 be under high load, but the strange behavior happens when I send another
 request to the send shard (using wget again) from another thread, the
 response comes back, and will trigger something in Solr to send back
 response for the first request I have sent before.

 This also happens in my daily indexing. If I send an commit, it will some
 times hangs. However, if I send another commit to the same shard, both
 commit will come back fine.

 I'm running Solr on stock jetty server, and sometime back my boss told me
 to
 set the maxIdleTime to 5000 for indexing purpose. I'm not sure if this
 have anything to do with the strange behavior that I'm seeing right now.

 Please help me resolve this issue.

 Thanks,
 Qun



 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/Connection-Established-but-waiting-for-response-for-a-long-time-tp4088587.html
 Sent from the Solr - User mailing list archive at Nabble.com.



Connection Established but waiting for response for a long time.

2013-09-06 Thread qungg
Hi,

I'm runing solr 4.0 but using legacy distributed search set up. I set the
shards parameter for search, but indexing into each solr shards directly.
The problem I have been experiencing is building connection with solr
shards. If I run a query, by using wget, to get number of records from each
individual shards (50 of them) sequentially, the request will hang at some
shards (seems random). The wget log will say the connection is established
but waiting for response. At that point I thought that the Solr shard might
be under high load, but the strange behavior happens when I send another
request to the send shard (using wget again) from another thread, the
response comes back, and will trigger something in Solr to send back
response for the first request I have sent before. 

This also happens in my daily indexing. If I send an commit, it will some
times hangs. However, if I send another commit to the same shard, both
commit will come back fine.

I'm running Solr on stock jetty server, and sometime back my boss told me to
set the maxIdleTime to 5000 for indexing purpose. I'm not sure if this
have anything to do with the strange behavior that I'm seeing right now. 

Please help me resolve this issue.

Thanks,
Qun



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Connection-Established-but-waiting-for-response-for-a-long-time-tp4088587.html
Sent from the Solr - User mailing list archive at Nabble.com.