lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sushrut Bidwai <bidwai.sush...@gmail.com>
Subject Re: solr + jetty deployment issue
Date Fri, 28 Dec 2012 06:25:41 GMT
Here is latest threaddump taken after setting up latest nightly build
version - apache-solr-4.1-2012-12-27_04-32-37 - http://pastebin.com/eum7CxX4

Kind of stuck with this from few days now, so can use little help.

Here is more details on the issue -
1. Setting up jetty + solr using instructions -
http://wiki.apache.org/solr/SolrJetty
2. Initial install with clean data dirs goes smoothly.
3. I can connect to server and index 10K+ documents with out any issues. I
use 10 threads in my app to do so. Not experiencing any
concurrency/deadlock issues.
4. When stop my app and then restart jetty, after few restarts - I get
above mentioned threaddump and startup of server stays blocked forever.
5. If I delete data dir and start again, problem goes away. But reappears
on server restarts.

On Fri, Dec 28, 2012 at 9:03 AM, Sushrut Bidwai <bidwai.sushrut@gmail.com>wrote:

> Hi David,
>
> From what I see in the log and threaddump it seems that getSearcher method
> in SolrCore is not able to acquire required lock and because of that its
> blocking startup of the server. Here is threaddump -
> http://pastebin.com/GPnAzF1q .
>
>
> On Fri, Dec 28, 2012 at 8:01 AM, David Parks <davidparks21@yahoo.com>wrote:
>
>> Do you see any errors coming in on the console, stderr?
>>
>> I start solr this way and redirect the stdout and stderr to log files,
>> when
>> I have a problem stderr generally has the answer:
>>
>> java \
>>         -server \
>>         -Djetty.port=8080 \
>>         -Dsolr.solr.home=/opt/solr \
>>         -Dsolr.data.dir=/mnt/solr_data \
>>         -jar /opt/solr/start.jar >/opt/solr/logs/stdout.log
>> 2>/opt/solr/logs/stderr.log &
>>
>>
>>
>> -----Original Message-----
>> From: Sushrut Bidwai [mailto:bidwai.sushrut@gmail.com]
>> Sent: Thursday, December 27, 2012 7:40 PM
>> To: solr-user@lucene.apache.org
>> Subject: solr + jetty deployment issue
>>
>> Hi,
>>
>> I am having trouble with getting solr + jetty to work. I am following all
>> instructions to the letter from - http://wiki.apache.org/solr/SolrJetty.
>> I
>> also created a work folder - /opt/solr/work. I am also setting tmpdir to a
>> new path in /etc/default/jetty . I am confirming the tmpdir is set to the
>> new path from admin dashboard, under args.
>>
>> It works like a charm. But when I restart jetty multiple times, after 3/4
>> such restarts it starts hanging. Admin pages just dont load and my app
>> fails
>> to acquire a connection with solr.
>>
>> What I might be missing? Should I be rather looking at my code and see if
>> I
>> am not committing correctly?
>>
>> Please let me know if you have faced similar issue in the past and how to
>> tackle it.
>>
>> Thank you.
>>
>> --
>> Best Regards,
>> Sushrut
>>
>>
>
>
> --
> Best Regards,
> Sushrut
> http://sushrutbidwai.com
>



-- 
Best Regards,
Sushrut
http://sushrutbidwai.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message