lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit" <ro...@in-rev.com>
Subject RE: Solr Hangs
Date Sat, 03 Sep 2011 04:09:22 GMT
Thanks Simon, did get that part, it was happening because solr was not able
to reserve enough memory when it had hung once. The server has 24G of memory
and I am try to start solr with "-Xms2g -Xmx16g -XX:MaxPermSize=3072m -D64"
option. But, this is not my main concern, how do I find out why solr hangs
and is there a way to automatically kill and restart.


Regards,
Rohit
Mobile: +91-9901768202
About Me: http://about.me/rohitg

-----Original Message-----
From: simon [mailto:mtnest46@gmail.com] 
Sent: 02 September 2011 14:03
To: solr-user@lucene.apache.org
Subject: Re: Solr Hangs

That error has nothing to do with Solr - it looks as though you are trying
to start the JVM with a heap size that is too big for the available physical
memory.

-Simon

On Fri, Sep 2, 2011 at 2:15 AM, Rohit <rohit@in-rev.com> wrote:

> Hi All,
>
>
>
> I am using Solr 3.0 and have 4 cores build into it with the following
> statistics,
>
>
>
> Core1 : numDocs : 69402640    maxDoc : 69404745
>
> Core2 : numDocs : 5669231      maxDoc : 5808496
>
> Core3 : numDocs : 6654951      maxDoc : 6654954
>
> Core4: numDocs : 138872          maxDoc : 185723
>
>
>
> The number of updates are very high into 2 of the cores, solr is running
in
> tomcat with the following JAVA_OPTS values "-Xms2g -Xmx16g
> -XX:MaxPermSize=3072m -D64" .
>
>
>
> When Solr hangs and I try to restart it I am getting the following error,
> which does indicate that it's a memory problem, but how can overcome the
> problem of hanging.
>
>
>
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
>
>
>
>
>
> Regards,
>
> Rohit
>
> Mobile: +91-9901768202
>
> About Me:  <http://about.me/rohitg> http://about.me/rohitg
>
>
>
>


Mime
View raw message