-1

We have a few servers on Google Cloud Platform. I enabled Google stackdriver and it looks like our Solr servers are consistently at 70%+ memory utilization. We can increase the memory if it is likely to speed up queries (our Solr queries are taking a few hundred milliseconds). I tried free and ps (pagefault ) commands and here is the output.

free -h -c 5 -s2
              total        used        free      shared       buff/cache   available
Mem:           7.1G        4.7G        134M         37M        2.3G        2.2G
Swap:            9G        2.5G        7.5G

Output from ps, only first line which is for the Solr process.

ps -eo min_flt,maj_flt,cmd | sort -nr
623846089 4526790 java -server

Will increasing memory help?

Jayadevan
  • 160

1 Answers1

4

Your servers are over 100% memory utilized. You are using 2.5 GB of swap space. Yes, you need more memory. At least 2.5 GB more. Never starve your systems for memory. My cell phone has more memory than your server.

John Hanley
  • 5,164