Closed garethbowen closed 5 years ago
I understand this has been built into the latest medic-os and is now ready for AT.
I am looking at the couchdb configs in fauxton and the settings described here are not the settings I'm finding. I'm pretty sure I'm on the latest medic-os. @Hareet has there been a new image built since the announcement recently?
Spoke with @Hareet, waiting on a new image from him. Moved back to in progress.
Should now be fixed in medic-os:cht-3.7-pre4
in dockerhub.
Confirmed in the new image the settings are there. Also did a quick run through of the app to ensure replicating and creating reports works still.
Recently we won a free couchdb configuration evaluation which resulted in some recommendations for improvements we can make. The raw report is available here: https://drive.google.com/drive/folders/1FLQLigNJ7O1msTbTECa5JdGWAPCE_7yd
The changes I recommend we make are:
Low setting for OS process limit
From the couchdb documentation:
Using this recommendation we should change the setting to from 100 to 1,000.
Socket options are misconfigured
We use attachments extensively and are on 2.3.1 so this is likely a significant issue for us.
Documentation.
Set this to:
[{sndbuf, 262144}, {nodelay, true}]