Java Versions and GC Tuning

2023-12-14 Thread Walter Underwood
Thanks for the recommendation. Are you running this on Intel or ARM64? We’ve mostly moved to ARM64. —wunder > On Dec 12, 2023, at 9:55 AM, Shawn Heisey wrote: > > Java 11 is a good solid choice. Java 17 seems to perform a little better > than 11 on Solr 9.x, but I haven't actually measured it

Re: Solr connection refused error

2023-12-14 Thread Shawn Heisey
On 12/13/23 22:25, Deepak Goel wrote: On Thu, 14 Dec 2023, 10:11 Anuj Bhargava, wrote: There are some files in /var/solr/logs. For example - solr_oom_killer-8983-2023-12-14_05_30_42.log and this contains - Running OOM killer script for process 2861377 for Solr on port 8983 Killed process 28

Re: Java Versions and GC Tuning

2023-12-14 Thread Shawn Heisey
On 12/14/23 08:37, Walter Underwood wrote: Thanks for the recommendation. Are you running this on Intel or ARM64? We’ve mostly moved to ARM64. —wunder This is on x64. When ZGC was first released, it only worked on Linux/x64. In Java 17, the supported architectures are: Linux/x64 Lin

Re: Java Upgrade process

2023-12-14 Thread Shawn Heisey
On 12/13/23 01:15, Jim Morgan wrote: So, just as a follow up, I'm going to post my BEFORE and AFTER solr.in.sh configs in case I've removed anything vital. Any comments welcome, as they don't really mean much to me. === BEFORE SOLR_HEAP="8000m" GC_LOG_OPTS="-verbose:gc -XX:+PrintHeapAtGC -X

Re: Java Versions and GC Tuning

2023-12-14 Thread Shawn Heisey
On 12/14/23 12:47, Shawn Heisey wrote: On 12/14/23 08:37, Walter Underwood wrote: Thanks for the recommendation. Are you running this on Intel or ARM64? We’ve mostly moved to ARM64. —wunder This is on x64. When ZGC was first released, it only worked on Linux/x64. In Java 17, the supported ar

Re: Java Versions and GC Tuning

2023-12-14 Thread Shawn Heisey
On 12/14/23 12:58, Shawn Heisey wrote: On closer read, that list for Java 17 is applicable to Java itself, not necessarily ZGC. And on a third read, I figured out that the list DOES apply to ZGC. Apologies for the noise! Thanks, Shawn

Re: Java Versions and GC Tuning

2023-12-14 Thread Shawn Heisey
On 12/14/23 13:04, Shawn Heisey wrote: On 12/14/23 12:58, Shawn Heisey wrote: On closer read, that list for Java 17 is applicable to Java itself, not necessarily ZGC. And on a third read, I figured out that the list DOES apply to ZGC. Apologies for the noise! They do have a nice clear table

Re: Java Versions and GC Tuning

2023-12-14 Thread Walter Underwood
Running this with Corretto 17 on my Apple Silicon MacBook: java -XX:+PrintFlagsFinal I see this line in the 500+ lines of output: bool UseZGC = false {product} {default} If it was platform dependent, it would say {pd pr

Re: Solr operator and side car container

2023-12-14 Thread Joel Bernstein
We found the place to add the side car. Seems to be working as expected. Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Dec 12, 2023 at 10:35 AM Joel Bernstein wrote: > Hi, > > Is there any facility in the Solr operator for adding a sidecar container > that runs along side the solr cont

Re: Java Versions and GC Tuning

2023-12-14 Thread Shawn Heisey
On 12/14/2023 13:41, Walter Underwood wrote: Running this with Corretto 17 on my Apple Silicon MacBook: java -XX:+PrintFlagsFinal I see this line in the 500+ lines of output: bool UseZGC = false {product} {default} I

Re: my solr 8.11 is indexing 5000 only using custom code.

2023-12-14 Thread Ishan Chattopadhyaya
If you're able to do multithreaded indexing, it will go much faster. On Thu, 14 Dec, 2023, 6:51 pm Vince McMahon, wrote: > Hi, > > I have written a custom python program to Index which may provide a > better control than DIH. > > But, it is still doing at most 5000 documentation. I have enable

Re: my solr 8.11 is indexing 5000 only using custom code.

2023-12-14 Thread Mikhail Khludnev
NB: it's not easy to build a robust ETL from scratch (btw, have you asked Copilot or chat gpt for it? ). I spot a few oddities in the code, but they are not critical. >From log I see (fwiw, you still have DEBUG log enabled) that 1000 recs were added in 17 or something secs. It makes some sense. But