Hi,

I am using solr replication and am experiencing a lot of connections
in the state CLOSE_WAIT at the master solr server. These disappear
after a while, but till then the master solr stops responding.

There are about 130 open connections on the master server with the
client as the slave m/c and all are in the state CLOSE_WAIT. Also, the
client port specified on the master solr server netstat results is not
visible in the netstat results on the client (slave solr) m/c.

Following is my environment:
- 40 cores in the master solr on m/c 1
- 40 cores in the slave solr on m/c 2
- The replication poll interval is 20 seconds.
- Replication part in solrconfig.xml in the slave solr:
<requestHandler name="/replication" class="solr.ReplicationHandler" >
          <lst name="slave">

                  <!--fully qualified url for the replication handler
of master-->
                  <str name="masterUrl">$mastercorename/replication</str>

                  <!--Interval in which the slave should poll master
.Format is HH:mm:ss . If this is absent slave does not poll
automatically.
                               But a fetchindex can be triggered from
the admin or the http API-->
                  <str name="pollInterval">00:00:20</str>
                  <!-- The following values are used when the slave
connects to the master to download the index files.
                              Default values implicitly set as 5000ms
and 10000ms respectively. The user DOES NOT need to specify
                              these unless the bandwidth is extremely
low or if there is an extremely high latency-->
                  <str name="httpConnTimeout">5000</str>
                  <str name="httpReadTimeout">10000</str>
         </lst>
  </requestHandler>

Thanks for any pointers.

--
Regards,
Samarth

Reply via email to