Gary's Guide To Nginx
Please find below some of the most popular articles I've written on Gary's Guide To Nginx.
Table of Contents
Diagnosing Disk I/O issues in a VPS
Fixing org.apache.solr.common.SolrException: Length Required
Diagnosing Disk I/O issues in a VPS
Every so often, my Linode goes into a state of apparent frantic I/O. Page loads slow down a bit, and I get regular email alerts indicating a potential problem: Subject: Linode Alert - disk io rate Your Linode, linode90147, has exceeded the notification threshold (800) for disk io rate by averaging 2146.05 for the last [...] Read More...
Fixing org.apache.solr.common.SolrException: Length Required
I received the following exception, after making no code changes: org.apache.solr.common.SolrException: Length Required The issue is that CommonsHttpSolrServer does not send a Content-Length header in updates. The root cause of my issue was switching the front-end proxy from Apache to Nginx, which apparently is more strict about headers. Read More...