You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by arunssasidhar <ar...@gmail.com> on 2012/04/10 14:51:40 UTC

SOLR issue - too many search queries

We have a PHP web application which is using SOLR for searching. The APP is
using CURL to connect to the SOLR server and which run in a loop with
thousands of predefined keywords. That will create thousands of different
search quires to SOLR at a given time.

My issue is that, when a single user logged into the app everything is
working as expected. When there is more than one user is trying to run the
app we are getting this response from the server.

    Failed to connect to xxx.xxx.xxx.xxx: Cannot assign requested
addressFailed to connect to xxx.xxx.xxx.xxx: Cannot assign requested
addressFailed

Our assumption is that, SOLR server is unable to handle this much search
queries at a given time. If so what is the solution to overcome this?. Is
there any settings like keep-alive in SOLR?

Any help would be highly appreciate.

Thanks,

Arun S


--
View this message in context: http://lucene.472066.n3.nabble.com/SOLR-issue-too-many-search-queries-tp3899518p3899518.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: SOLR issue - too many search queries

Posted by Yonik Seeley <yo...@lucidimagination.com>.
On Tue, Apr 10, 2012 at 8:51 AM, arunssasidhar <ar...@gmail.com> wrote:
> We have a PHP web application which is using SOLR for searching. The APP is
> using CURL to connect to the SOLR server and which run in a loop with
> thousands of predefined keywords. That will create thousands of different
> search quires to SOLR at a given time.

Thousands of concurrent queries?  That's normally not a useful metric
unless you have a very strange application.

You normally want to look at the following:
 - throughput (queries per second)
 - latency (how long the queries take - average, 90%, 95%, etc)

-Yonik
lucenerevolution.com - Lucene/Solr Open Source Search Conference.
Boston May 7-10