Noticed that whenever large amount of data is being indexed it stops. Configuration is -
<dataSource type="JdbcDataSource" driver="com.mysql.jdbc.Driver" batchSize="-1" autoReconnect="true" useSSL="false" socketTimeout="0" connectTimeout="0" encoding="UTF-8" url="jdbc:mysql://xxx.xxx.xx.xx:3306/globe-data?zeroDateTimeBehavior=convertToNull" user="globe-user" password="globe-password"/> <document> *My jetty.xml file is* - <New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration"> <Set name="secureScheme">https</Set> <Set name="securePort"><Property name="solr.jetty.secure.port" default="8443" /></Set> <Set name="outputBufferSize"><Property name="solr.jetty.output.buffer.size" default="32768" /></Set> <Set name="outputAggregationSize"><Property name="solr.jetty.output.aggregation.size" default="32768" /><$ <Set name="requestHeaderSize"><Property name="solr.jetty.request.header.size" default="65536" /></Set> <Set name="responseHeaderSize"><Property name="solr.jetty.response.header.size" default="32768" /></Set> <Set name="sendServerVersion"><Property name="solr.jetty.send.server.version" default="false" /></Set> <Set name="sendDateHeader"><Property name="solr.jetty.send.date.header" default="false" /></Set> <Set name="headerCacheSize"><Property name="solr.jetty.header.cache.size" default="1024" /></Set> <Set name="delayDispatchUntilContent"><Property name="solr.jetty.delayDispatchUntilContent" default="false" /></Set> <!-- Uncomment to enable handling of X-Forwarded- style headers On Wed, 13 Dec 2023 at 12:08, Deepak Goel <deic...@gmail.com> wrote: > On Wed, Dec 13, 2023 at 11:03 AM Anuj Bhargava <anujb...@gmail.com> wrote: > > > The solr stops too often and I have to restart it. Is there a script > which > > checks if solr is running and if not it starts automatically. > > > > You need to find why Solr is stopping too often. Restarting it is not a > graceful option. > > > > > > Regards, > > > > Anuj > > > > On Tue, 12 Dec 2023 at 23:29, Shawn Heisey <apa...@elyograg.org.invalid> > > wrote: > > > > > On 12/11/23 21:25, Anuj Bhargava wrote: > > > > http://xxx.xxx.xx.xxx:8983/solr/#/ > > > > > > > > I often get the following error - > > > > > > > > This site can’t be reached xxx.xxx.xx.xxx refused to connect. > > > > Try: > > > > > > > > Checking the connection > > > > Checking the proxy and the firewall > > > > ERR_CONNECTION_REFUSED > > > > > > > > 8983 port is open > > > > > > There's not a lot of info here. Starting in version 9.0.0, Solr only > > > listens on localhost by default. To listen on all interfaces, set the > > > SOLR_JETTY_HOST environment variable to 0.0.0.0 in the include script. > > > > > > Thanks, > > > Shawn > > > > > > > > > > > > > > Deepak > "The greatness of a nation can be judged by the way its animals are treated > - Mahatma Gandhi" > > +91 73500 12833 > deic...@gmail.com > > LinkedIn: www.linkedin.com/in/deicool > Upwork: https://www.upwork.com/freelancers/~0150257dd6dfd15b4b > > "Plant a Tree, Go Green" > > Make In India : http://www.makeinindia.com/home >