Thursday, February 24, 2022

How to set memory for Solr on MacOS (installed via homebrew)

Modify this file /opt/homebrew/Cellar/solr/X.XX/homebrew.mxcl.solr.plist to add these lines

<key>EnvironmentVariables</key>

<dict>

  <key>SOLR_JAVA_MEM</key>

  <string>-Xmx2g</string>

</dict>


Save and restart Solr


$ brew services restart solr

Collectd PostgreSQL Plugin

I couldn't find this link when searching with google https://www.collectd.org/documentation/manpages/collectd.conf.html#plugin-postgresq...