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 yriveiro <ya...@gmail.com> on 2013/03/11 16:39:30 UTC
SolrCloud index timeout
Hi,
I have the next issue:
I have a collection with a leader and a replica, both are synchronized.
When I try to index data to this collection I have a timeout error (the
output is python):
(<class 'requests.exceptions.Timeout'>,
Timeout(TimeoutError("HTTPConnectionPool(host='192.168.20.50', port=8983):
Request timed out. (timeout=60.0)",),), <traceback object at
0x7f64c033b908>)
Now, I can't index any document to this collection because I have always the
timeout error.
In the tomcat I have about 100 thread stuck,
S 11393624 ms 0 KB 30 KB 192.168.20.47 192.168.20.50 POST
/solr/ST-4A46DF1563_0612/update?update.distrib=TOLEADER&distrib.from=http%3A%2F%2F192.168.20.48%3A8983%2Fsolr%2FST-4A46DF1563_0612%2F&wt=javabin&version=2
HTTP/1.1
Someone have any idea that what can be happening and why I can't index any
document to the collection?
-----
Best regards
--
View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-index-timeout-tp4046348.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: SolrCloud index timeout
Posted by yriveiro <ya...@gmail.com>.
Hi,
The version is the 4.1
I'm not mixing deletes and adds, are only adds.
I have a 4 nodes in 2 physical machines, 2 instances of tomcat in each
machine. In this case the leader is located in a diferent physical machine
that the replica. The collection has all shards in different nodes, I have
not oversharding.
The question of the stack I need install the visualvm and try to get the
stack.
I create the collection using the CORE API:
LEADER
curl
http://192.168.20.48:8983/solr/admin/cores\?action\=CREATE\&name\=ST-0112\&collection\=ST-0112\&shard\=00\&collection.configName\=statisticsBucket-regular
REPLICA
curl
http://192.168.20.50:8983/solr/admin/cores\?action\=CREATE\&name\=ST-0112\&collection\=ST-0112\&shard\=00\&collection.configName\=statisticsBucket-regular
The data folders have the content:
LEADER
drwxr-xr-x 2 root root 4096 Jan 30 17:40 index
drwxr-xr-x 2 root root 12288 Feb 5 13:28 index.20130130174052236
drwxr-xr-x 2 root root 36864 Mar 11 15:20 index.20130220001204140
-rw-r--r-- 1 root root 78 Feb 20 00:13 index.properties
-rw-r--r-- 1 root root 251 Feb 20 00:13 replication.properties
drwxr-xr-x 2 root root 4096 Mar 11 15:19 tlog
REPLICA
drwxr-xr-x 2 root root 4096 Mar 11 15:59 index.20130228105843631
-rw-r--r-- 1 root root 78 Feb 28 10:59 index.properties
-rw-r--r-- 1 root root 208 Feb 28 10:59 replication.properties
drwxr-xr-x 2 root root 4096 Mar 11 12:17 tlog
-----
Best regards
--
View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-update-timeout-tp4046348p4046385.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: SolrCloud index timeout
Posted by Mark Miller <ma...@gmail.com>.
What Solr version?
Are you mixing deletes and adds?
Do you have more than one shard for a collection per machine? ie are you oversharding?
Can you post the stack traces (using jstack, or jconsolr, or visualvm, or…)?
- Mark
On Mar 11, 2013, at 11:39 AM, yriveiro <ya...@gmail.com> wrote:
> Hi,
>
> I have the next issue:
>
> I have a collection with a leader and a replica, both are synchronized.
>
> When I try to index data to this collection I have a timeout error (the
> output is python):
>
> (<class 'requests.exceptions.Timeout'>,
> Timeout(TimeoutError("HTTPConnectionPool(host='192.168.20.50', port=8983):
> Request timed out. (timeout=60.0)",),), <traceback object at
> 0x7f64c033b908>)
>
> Now, I can't index any document to this collection because I have always the
> timeout error.
>
> In the tomcat I have about 100 thread stuck,
>
> S 11393624 ms 0 KB 30 KB 192.168.20.47 192.168.20.50 POST
> /solr/ST-4A46DF1563_0612/update?update.distrib=TOLEADER&distrib.from=http%3A%2F%2F192.168.20.48%3A8983%2Fsolr%2FST-4A46DF1563_0612%2F&wt=javabin&version=2
> HTTP/1.1
>
> Someone have any idea that what can be happening and why I can't index any
> document to the collection?
>
>
>
> -----
> Best regards
> --
> View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-index-timeout-tp4046348.html
> Sent from the Solr - User mailing list archive at Nabble.com.