diff --git a/content/post/2018-01.md b/content/post/2018-01.md
index a4a0c0bc5..a6330f6e2 100644
--- a/content/post/2018-01.md
+++ b/content/post/2018-01.md
@@ -516,3 +516,33 @@ db.url = jdbc:postgresql://localhost:5432/dspacetest?ApplicationName=dspaceDefau
```
- With that it is super easy to see where PostgreSQL connections are coming from in `pg_stat_activity`
+
+## 2018-01-12
+
+- I'm looking at the [DSpace 6.0 Install docs](https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace#InstallingDSpace-ServletEngine(ApacheTomcat7orlater,Jetty,CauchoResinorequivalent)) and notice they tweak the number of threads in their Tomcat connector:
+
+```
+
+
+```
+
+- In Tomcat 8.5 the `maxThreads` defaults to 200 which is probably fine, but tweaking `minSpareThreads` could be good
+- I don't see a setting for `maxSpareThreads` in the docs so that might be an error
+- Looks like in Tomcat 8.5 the default URIEncoding for Connectors is UTF-8, so we don't need to specify that manually anymore: https://tomcat.apache.org/tomcat-8.5-doc/config/http.html
+-
+- Ooh, I just the `acceptorThreadCount` setting (in Tomcat 7 and 8.5):
+
+```
+The number of threads to be used to accept connections. Increase this value on a multi CPU machine, although you would never really need more than 2. Also, with a lot of non keep alive connections, you might want to increase this value as well. Default value is 1.
+```
+
+- That could be very interesting
diff --git a/public/2017-11/index.html b/public/2017-11/index.html
index 685fc82d1..0e936b022 100644
--- a/public/2017-11/index.html
+++ b/public/2017-11/index.html
@@ -38,7 +38,7 @@ COPY 54701
-
+
@@ -88,7 +88,7 @@ COPY 54701
"url": "https://alanorth.github.io/cgspace-notes/2017-11/",
"wordCount": "5428",
"datePublished": "2017-11-02T09:37:54+02:00",
- "dateModified": "2017-12-17T10:43:56+02:00",
+ "dateModified": "2018-01-12T06:07:03+02:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
diff --git a/public/2018-01/index.html b/public/2018-01/index.html
index 6a2162a42..9186b147c 100644
--- a/public/2018-01/index.html
+++ b/public/2018-01/index.html
@@ -92,7 +92,7 @@ Danny wrote to ask for help renewing the wildcard ilri.org certificate and I adv
-
+
@@ -194,9 +194,9 @@ Danny wrote to ask for help renewing the wildcard ilri.org certificate and I adv
"@type": "BlogPosting",
"headline": "January, 2018",
"url": "https://alanorth.github.io/cgspace-notes/2018-01/",
- "wordCount": "2467",
+ "wordCount": "2630",
"datePublished": "2018-01-02T08:35:54-08:00",
- "dateModified": "2018-01-11T10:42:35+02:00",
+ "dateModified": "2018-01-12T06:07:03+02:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@@ -821,6 +821,40 @@ cache_alignment : 64
With that it is super easy to see where PostgreSQL connections are coming from in pg_stat_activity
+2018-01-12
+
+
+- I’m looking at the DSpace 6.0 Install docs and notice they tweak the number of threads in their Tomcat connector:
+
+
+<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
+<Connector port="8080"
+ maxThreads="150"
+ minSpareThreads="25"
+ maxSpareThreads="75"
+ enableLookups="false"
+ redirectPort="8443"
+ acceptCount="100"
+ connectionTimeout="20000"
+ disableUploadTimeout="true"
+ URIEncoding="UTF-8"/>
+
+
+
+- In Tomcat 8.5 the
maxThreads
defaults to 200 which is probably fine, but tweaking minSpareThreads
could be good
+- I don’t see a setting for
maxSpareThreads
in the docs so that might be an error
+- Looks like in Tomcat 8.5 the default URIEncoding for Connectors is UTF-8, so we don’t need to specify that manually anymore: https://tomcat.apache.org/tomcat-8.5-doc/config/http.html
+
+- Ooh, I just the
acceptorThreadCount
setting (in Tomcat 7 and 8.5):
+
+
+The number of threads to be used to accept connections. Increase this value on a multi CPU machine, although you would never really need more than 2. Also, with a lot of non keep alive connections, you might want to increase this value as well. Default value is 1.
+
+
+
+- That could be very interesting
+
+
diff --git a/public/sitemap.xml b/public/sitemap.xml
index c3d3558ce..1d312d086 100644
--- a/public/sitemap.xml
+++ b/public/sitemap.xml
@@ -4,7 +4,7 @@
https://alanorth.github.io/cgspace-notes/2018-01/
- 2018-01-11T10:42:35+02:00
+ 2018-01-12T06:07:03+02:00
@@ -14,7 +14,7 @@
https://alanorth.github.io/cgspace-notes/2017-11/
- 2017-12-17T10:43:56+02:00
+ 2018-01-12T06:07:03+02:00
@@ -144,7 +144,7 @@
https://alanorth.github.io/cgspace-notes/
- 2018-01-11T10:42:35+02:00
+ 2018-01-12T06:07:03+02:00
0
@@ -155,7 +155,7 @@
https://alanorth.github.io/cgspace-notes/tags/notes/
- 2018-01-11T10:42:35+02:00
+ 2018-01-12T06:07:03+02:00
0
@@ -167,13 +167,13 @@
https://alanorth.github.io/cgspace-notes/post/
- 2018-01-11T10:42:35+02:00
+ 2018-01-12T06:07:03+02:00
0
https://alanorth.github.io/cgspace-notes/tags/
- 2018-01-11T10:42:35+02:00
+ 2018-01-12T06:07:03+02:00
0