Hi - what do you see if you monitor memory over time? You should see a typical
saw tooth.
Markus
-----Original message-----
> From:Tom Evans <[email protected]>
> Sent: Tuesday 21st April 2015 12:22
> To: [email protected]
> Subject: Confusing SOLR 5 memory usage
>
> Hi all
>
> I have two SOLR 5 servers, one is the master and one is the slave.
> They both have 12 cores, fully replicated and giving identical results
> when querying them. The only difference between configuration on the
> two servers is that one is set to slave from the other - identical
> core configs and solr.in.sh.
>
> They both run on identical VMs with 16GB of RAM. In solr.in.sh, we are
> setting the heap size identically:
>
> SOLR_JAVA_MEM="-Xms512m -Xmx7168m"
>
> The two servers are balanced behind haproxy, and identical numbers and
> types of queries flow to both servers. Indexing only happens once a
> day.
>
> When viewing the memory usage of the servers, the master server's JVM
> has 8.8GB RSS, but the slave only has 1.2GB RSS.
>
> Can someone hit me with the cluebat please? :)
>
> Cheers
>
> Tom
>