Whenever I stop Solr with 'bin/solr stop' or 'sudo service solr stop'
Solr's cores are corrupted and the only way to remedy the situation is to
do a full uninstall and reinstall of all traces of Solr.
Please help, I can't live like this. The error is at the bottom, as it is
long.
This is a standa
In order to force a OOM do this:
- index a sizable amount of docs with normal -Xmx, if you already have 350k
docs indexed, that should be enough
- now, stop solr and decrease memory, like -Xmx=15m, start it, and run a
query with a facet on a field with very high cardinality, ask for all
facets. If
Hi Shawn,
Your thoughts on this?
On Mon, Mar 14, 2016 at 2:11 PM Binoy Dalal wrote:
> I set the heap to 16 mb and tried to index about 350k records using a DIH.
> This did throw an OOM for that particular thread in the console, but the
> oom script wasn't called and solr was running properly.
>
I set the heap to 16 mb and tried to index about 350k records using a DIH.
This did throw an OOM for that particular thread in the console, but the
oom script wasn't called and solr was running properly.
Moreover, solr also managed to index all 350k records.
Is this the correct way to o about gett
On 3/13/2016 8:13 PM, Binoy Dalal wrote:
> I made the necessary changes to that oom script?
> How does it look now?
> Also can you suggest some way of testing it with solr?
> How do I make solr oom on purpose?
Set the java heap really small. Not entirely sure what value to use.
I'd probably star
Hello Shawn,
I made the necessary changes to that oom script?
How does it look now?
Also can you suggest some way of testing it with solr?
How do I make solr oom on purpose?
Thanks
On Wed, 9 Mar 2016, 19:11 Shawn Heisey, wrote:
> On 3/9/2016 6:07 AM, Binoy Dalal wrote:
> > Have you had a chance
On 3/9/2016 6:07 AM, Binoy Dalal wrote:
> Have you had a chance to check and review the patch?
I have not. I will look at it sometime today, probably later this
evening (UTC-7 timezone).
Thanks,
Shawn
Hi Shawn,
Have you had a chance to check and review the patch?
On Wed, 9 Mar 2016, 00:49 Binoy Dalal, wrote:
> I've uploaded both files.
> Please review and advise.
>
> On Wed, Mar 9, 2016 at 12:46 AM Binoy Dalal
> wrote:
>
>> Hi Shawn,
>> The JIRA issue is SOLR-8803 (
>> https://issues.apache.
I've uploaded both files.
Please review and advise.
On Wed, Mar 9, 2016 at 12:46 AM Binoy Dalal wrote:
> Hi Shawn,
> The JIRA issue is SOLR-8803 (
> https://issues.apache.org/jira/browse/SOLR-8803).
> I've used "git diff" and created a patch but it only has the changes that
> I made to the solr.
Hi Shawn,
The JIRA issue is SOLR-8803 (https://issues.apache.org/jira/browse/SOLR-8803
).
I've used "git diff" and created a patch but it only has the changes that I
made to the solr.cmd file under bin to add the -XX:OnOutOfMemoryError
option.
There's the entire file of the actual OOM kill script t
On 3/8/2016 5:13 AM, Binoy Dalal wrote:
> I've just finished writing a batch oom killer script and it seems to work
> fine.
>
> I couldn't try it on the actual solr process since I'm a bit stumped on how
> I can make solr throw an oom at will.
> Although I did write another code that does throw an
Hi Shawn,
I've just finished writing a batch oom killer script and it seems to work
fine.
I couldn't try it on the actual solr process since I'm a bit stumped on how
I can make solr throw an oom at will.
Although I did write another code that does throw an oom upon which this
script is called and
On 2/25/2016 2:06 PM, Fuad Efendi wrote:
> The best practice: do not ever try to catch Throwable or its descendants
> Error, VirtualMachineError, OutOfMemoryError, and etc.
>
> Never ever.
>
> Also, do not swallow InterruptedException in a loop.
>
> Few simple rules to avoid hanging application.
You can use ping functionality by setting time-out that suits for your
container/web-apps. If its not working then you can restart your container.
Cheers!
If any other solution I am interested too.
On Fri, Feb 26, 2016 at 2:19 AM, CP Mishra wrote:
> Solr & Lucene dev folks must be catching Thro
Solr & Lucene dev folks must be catching Throwable for a reason. Anyway, I
am asking for solutions that I can use.
On Thu, Feb 25, 2016 at 3:06 PM, Fuad Efendi wrote:
> The best practice: do not ever try to catch Throwable or its descendants
> Error, VirtualMachineError, OutOfMemoryError, and et
The best practice: do not ever try to catch Throwable or its descendants Error,
VirtualMachineError, OutOfMemoryError, and etc.
Never ever.
Also, do not swallow InterruptedException in a loop.
Few simple rules to avoid hanging application. If we follow these, there will
be no question "what i
Looking at the previous threads (and in our tests), oom script specified at
command line does not work as OOM exception is trapped and converted to
RuntimeException. So, what is the best way to stop Solr when it gets in OOM
state? The only way I see is to override multiple handlers and do
System.e
Steve,
In short, don't worry: it all gets taken care of.
The way services work on Linux is, when the system shuts down it will
basically call "service (servicname) stop" on each service. That calls the
bin/init.d/solr script with a "stop" argument, which in turn calls the
bin/solr script with a "
On 11/10/2015 7:40 AM, Steven White wrote:
> This question maybe more of a Linux one vs. Solr, but I have to start
> someplace.
>
> I'm reading this link
> https://cwiki.apache.org/confluence/display/solr/Taking+Solr+to+Production
> to get Solr on Linux (I'm more of a Windows guy).
>
> The page p
Hi folks,
This question maybe more of a Linux one vs. Solr, but I have to start
someplace.
I'm reading this link
https://cwiki.apache.org/confluence/display/solr/Taking+Solr+to+Production
to get Solr on Linux (I'm more of a Windows guy).
The page provides good intro on how to setup Solr to start
On 4/8/2014 1:28 PM, abhishek jain wrote:
What is the best way to stop solr from command line, the command with the
stop port and secret key as given in most online help links don't work for
me all time,
I have to kill it most times ! i have though noted excessive swap usage when
i have to kill
Hi,
How do you start solr?
On Tuesday, April 8, 2014 10:31 PM, abhishek jain
wrote:
Hi friends,
What is the best way to stop solr from command line, the command with the
stop port and secret key as given in most online help links don't work for
me all time,
I have to kill it most times !
Hi friends,
What is the best way to stop solr from command line, the command with the
stop port and secret key as given in most online help links don't work for
me all time,
I have to kill it most times ! i have though noted excessive swap usage when
i have to kill it. Is there a link between sw
!
> Rui
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Stopping-solr-tp4037715p4037728.html
> Sent from the Solr - User mailing list archive at Nabble.com.
> - How often, in your experience, and why, would solr crash?
Not very often. Typically if your heap is too small, you'll end up going OOM.
> - If I kill solr master and slave, usually do I need to also delete the
> indexes? Or everything should be fine upon restarting?
Restarts are fine. Orde
message in context:
http://lucene.472066.n3.nabble.com/Stopping-solr-tp4037715.html
Sent from the Solr - User mailing list archive at Nabble.com.
n the middle of the commit process?
Unfortunately I can't tell exactly what it was doing at the time as
someone's deleted the logfile :-(
Thanks,
Andrew.
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-bad-is-stopping-Solr-with-SIGKILL-tp858119p858119.html
Sen
Sandeep Tagore wrote:
> Hello Everyone,
> I use "java -jar start.jar" command to start Solr. And when ever i want to
> stop it, I kill the process.
> Is there any command to stop it?
>
> Thanks in advance.
>
> Sandeep
>
> -
> Sandeep Tagore
>
>
Just look up how jetty works - its not Solr sp
Hello Everyone,
I use "java -jar start.jar" command to start Solr. And when ever i want to
stop it, I kill the process.
Is there any command to stop it?
Thanks in advance.
Sandeep
-
Sandeep Tagore
--
View this message in context:
http://www.nabble.com/Stopping-Solr-tp2575146
ucene - Solr - Nutch
- Original Message
> From: vivek sar
> To: solr-user@lucene.apache.org
> Sent: Wednesday, May 6, 2009 2:25:50 PM
> Subject: Delete complete core without stopping Solr
>
> Hi,
>
> I'm using multi-core feature of Solr. Each Solr instanc
Hi,
I'm using multi-core feature of Solr. Each Solr instance maintains
multiple-core - each core of size 100G. I would like to delete older
cores directory completely after 2 weeks (using file.delete).
Currently, Solr loads all the cores that are listed in solr.xml. I was
thinking of following,
Hi, thanks for your reply.
Sorry for lesser information that i gave in my first post, i just didn't
know what to share.
Yes, java proccess is still working, but search in the site does not
work and i cannot see any http request at this time in the logs. I have
not tested the admin page, this is s
: i'm newbie with solr. We have installed with together with ezfind from
: EZ Publish web sites and it is working. But in one of the servers we
: have this kind of problem. It works for example for 3 hours, and then in
: one moment it stop to work, searching and indexing does not work.
it's prett
Hi,
i'm newbie with solr. We have installed with together with ezfind from
EZ Publish web sites and it is working. But in one of the servers we
have this kind of problem. It works for example for 3 hours, and then in
one moment it stop to work, searching and indexing does not work.
We have set th
34 matches
Mail list logo