Hi All
We are using solr cloud 8.8.1.
We are frequently seeing memory and CPU reaching 100%.
Can someone please suggest ideal way to define java heap memory.
Server memory is 62Gb, swap-7Gb
Currently we have defined as below in solr in.sh
SOLR_HEAP= 46000m
SOLR_JAVA_MEMORY= Xms:1024m, Xmx: 70
Try setting you xms and xmx to the same value. You have enough memory to go
pretty high so I’d try 31gb, 31000mg. Do not go over 31. Also disable swap on
the server
Let me know if it helps
> On Aug 29, 2021, at 3:56 AM, HariBabu kuruva
> wrote:
>
> Hi All
>
> We are using solr cloud 8.8.1
Thanks for your reply Dave.
Is it required to define both the parameters SOLR_HEAP and SOLR_JAVA_MEM.
or can i comment SOLR_HEAP and only define SOLR_JAVA_MEM.
Also what highest value of Xmx value i can go if i receive OOM with 31gb.
I have only solr running on that node.
And could you please l
On 8/29/2021 2:38 AM, HariBabu kuruva wrote:
Is it required to define both the parameters SOLR_HEAP and SOLR_JAVA_MEM.
or can i comment SOLR_HEAP and only define SOLR_JAVA_MEM.
Also what highest value of Xmx value i can go if i receive OOM with 31gb.
I have only solr running on that node.
If
Yes. Don’t set those memory restrictions, just xms and xmx, both to 31 gigs.
Java has problems past that line and will make the gc go into a bad loop. I can
send you a link as to why
https://community.datastax.com/questions/3661/why-is-a-32-gb-heap-allocation-not-recommended.html
But this is a
Hi,
We need to sort the results based on alphabetic followed by numeric.
Something like below
Current results order:
1test
2test
3test
Abctext
Bbctext
Cbctext
Expected results order:
Abctext
Bbctext
Cbctext
1test
2test
3test
Please help me to achieve the result ordering
On 8/29/2021 12:09 PM, post.ta...@gmail.com wrote:
We need to sort the results based on alphabetic followed by numeric.
Something like below
Expected results order:
Abctext
Bbctext
Cbctext
1test
2test
3test
This is contrary to all the "natural" sort ordering available in modern
programmin
Hi Thamizh
You can add a field to the index that acts as a "sortable flag" with e.g. 0
for alpha, 1 for numerical, and 2 for other first character. Then you can
sort on both fields, listing the "flag" field first.
Thomas
Op zo 29 aug. 2021 20:09 schreef :
> Hi,
>
>
>
> We need to sort the resul