ubuntuをupgradeしてnginxを再起動したら「[emerg] could not build the variables_hash...」というエラーになった
nginx のバージョンは nginx/1.4.6 (Ubuntu) これで、エラーメッセージは以下。
2017/07/15 01:26:19 [emerg] 3778#0: could not build the variables_hash, you should increase either variables_hash_max_size: 512 or variables_hash_bucket_size: 64
ハッシュテーブルの値が足らないから増やしてねと言われているので variables_hash_max_size
or variables_hash_bucket_size
の値のどちらかを増やすとよい。ハッシュテーブルに関しては以下を読むと理解できた。