I recommend using the options mentioned in recent messages on this list.
Solr has pretty specific memory demands, with lots of allocations with a
lifetime of a single request, plus very long-lived allocations that aren’t freed
until they are evicted from a cache.
wunder
Walter Underwood
wun...@wu
Thanks. The G1 docs say "G1 is designed to provide good overall
performance without the need to specify additional options."
Would that look like this...
GC_TUNE=" \
-XX:+UseG1GC \
"
Is that the most minimal config? Is it typical to use it without options?
On Tue, Oct 13, 2020 at 4:22 PM Walte
The home page of the Solr admin UI shows all of the options to the JVM.
That will include the choice of garbage collector.
You can also see the options with “ps -ef | grep solr”.
wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/ (my blog)
> On Oct 13, 2020, at 1:19 P
I think I have it sorted. At this point I'm using GCG1, I take it, because
most recently I started Solr as a service...
service solr start
And that is running solr by way of /etc/init.d/solr because I don't have
any systemd unit for solr, as explained here...
https://askubuntu.com/questions/90335
Or, perhaps if I start solr like so
service solr start
...it will use the solr.in.sh at /etc/default/solr.in.sh ?
On Tue, Oct 13, 2020 at 11:19 AM Ryan W wrote:
> This is how I start solr:
>
> /opt/solr/bin/solr start
>
> In my /etc/default/solr.in.sh, I have this...
>
> GC_TUNE=" \
> -X
This is how I start solr:
/opt/solr/bin/solr start
In my /etc/default/solr.in.sh, I have this...
GC_TUNE=" \
-XX:+UseG1GC \
-XX:+ParallelRefProcEnabled \
-XX:G1HeapRegionSize=8m \
-XX:MaxGCPauseMillis=200 \
-XX:+UseLargePages \
-XX:+AggressiveOpts \
"
But I don't know how to tell if Solr is usi
On 10/12/2020 5:11 PM, Ryan W wrote:
Thanks. How do I activate the G1GC collector? Do I do this by editing a
config file, or by adding a parameter when I start solr?
Oracle's docs are pointing me to a file that supposedly is at
instance-dir/OUD/config/java.properties, but I don't have that pat
Thanks. How do I activate the G1GC collector? Do I do this by editing a
config file, or by adding a parameter when I start solr?
Oracle's docs are pointing me to a file that supposedly is at
instance-dir/OUD/config/java.properties, but I don't have that path. I am
not sure what is meant by inst
Solr doesn’t manage this at all, it’s the JVM’s garbage collection
that occasionally kicks in. In general, memory creeps up until
the GC threshold is set (which there are about a zillion
parameters that you can set) and then GC kicks in.
Generally, the recommendation is to use the G1GC collector
a
Hi all,
What is the meaning of the "memory" line in the output when I run the solr
status command? What controls whether that memory gets exhausted? At
times if I run "solr status" over and over, that memory number creeps up
and up and up. Presumably it is not a good thing if it moves all the w
10 matches
Mail list logo