on a side note, once you have the JRE figured out, as a rule of thumb I make my Xms and Xmx the exact same values, and if this is your own metal, buy more memory and up those values up to 31Gb each
On Wed, May 4, 2022 at 10:15 AM YOGENDRA SONI <soniy...@gmail.com> wrote: > If java is installed and java version is 9 or above you should not > uncomment gc_log_opts as mentioned in solr.in.cmd. check your dev servers > java version and comment this option if jdk version is 9 or above. > > On Wed, May 4, 2022, 6:09 PM Deeksha Shrivastava < > deeksha.shrivast...@nagarro.com> wrote: > > > Hi Shawn, > > > > We have java installed on our dev environment/local environment but its > > giving the same issue on this particular environment as well. > > > > Please help us resolve the same. > > > > Thanks & Regards, > > > > Deeksha Shrivastava > > Senior Engineer > > deeksha.shrivast...@nagarro.com > > M: +91 7376139953 > > > > > > > > > > > > -----Original Message----- > > From: Shawn Heisey <apa...@elyograg.org> > > Sent: 27 April 2022 19:07 > > To: Deeksha Shrivastava <deeksha.shrivast...@nagarro.com> > > Cc: DG Hempel Sitecore Support <hempelsitecoresupp...@nagarro.com>; > > users@solr.apache.org > > Subject: Re: Solr GC Tuning causes issues and doesn't start Solr url > > > > [Email from a non-Nagarro source: please exercise caution with links and > > attachments] > > > > > > On 4/27/22 05:08, Deeksha Shrivastava wrote: > > > > > > The "etc" itself is included in the setting format. Please refer > > > screenshot below: > > > > > > > The screenshot says "set GC_TUNE="-XX:NewRatio=3 -XX:SurvivorRatio=4 > etc." > > ... it does not say what the "etc" is, and we are going to need that > > information. > > > > > 2. As far as java version is concerned, I mentioned in the previous > > > email stating that, I doubt there is a JRE installed on the > > > machine because when I do a “java -version” on cmd it says “java > > > is not recognized as an internal or external command” which > > > probably means its not installed on that particular server. > > > > > > > You can't run Solr without Java. If there really is no Java installed, > > then Solr is not going to start, no matter what options you have > configured > > for it. Maybe you have the JAVA_HOME environment variable defined, which > > tells the solr start script where to find Java? > > > > Thanks, > > Shawn > > > > >