Update notes for 2018-01-22

This commit is contained in:
Alan Orth 2018-01-22 17:10:19 +02:00
parent ae90d6bd0e
commit 88e124859a
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 22 additions and 10 deletions

View File

@ -539,7 +539,7 @@ db.url = jdbc:postgresql://localhost:5432/dspacetest?ApplicationName=dspaceDefau
- 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):
- Ooh, I just saw 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.
@ -993,3 +993,8 @@ $ ./rest-find-collections.py 10568/1 | wc -l
308
$ ./rest-find-collections.py 10568/1 | grep -i untitled
```
- Looking at the [Tomcat connector docs](https://tomcat.apache.org/tomcat-7.0-doc/config/http.html) I think we really need to increase `maxThreads`
- The default is 200, which can easily be taken up by bots considering that Google and Bing each browse with fifty (50) connections each sometimes!
- Before I increase this I want to see if I can measure and graph this, and then benchmark
- I still want to bump up `acceptorThreadCount` from 1 to 2 as well, as the documentation says this should be increased on multi-core systems

View File

@ -92,7 +92,7 @@ Danny wrote to ask for help renewing the wildcard ilri.org certificate and I adv
<meta property="article:published_time" content="2018-01-02T08:35:54-08:00"/>
<meta property="article:modified_time" content="2018-01-20T11:15:07&#43;02:00"/>
<meta property="article:modified_time" content="2018-01-22T15:38:33&#43;02:00"/>
@ -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": "5530",
"wordCount": "5612",
"datePublished": "2018-01-02T08:35:54-08:00",
"dateModified": "2018-01-20T11:15:07&#43;02:00",
"dateModified": "2018-01-22T15:38:33&#43;02:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -850,7 +850,7 @@ cache_alignment : 64
<li>I don&rsquo;t see a setting for <code>maxSpareThreads</code> in the docs so that might be an error</li>
<li>Looks like in Tomcat 8.5 the default URIEncoding for Connectors is UTF-8, so we don&rsquo;t need to specify that manually anymore: <a href="https://tomcat.apache.org/tomcat-8.5-doc/config/http.html">https://tomcat.apache.org/tomcat-8.5-doc/config/http.html</a></li>
<li></li>
<li>Ooh, I just the <code>acceptorThreadCount</code> setting (in Tomcat 7 and 8.5):</li>
<li>Ooh, I just saw the <code>acceptorThreadCount</code> setting (in Tomcat 7 and 8.5):</li>
</ul>
<pre><code>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.
@ -1356,6 +1356,13 @@ $ docker exec dspace_db psql -U dspace -f /tmp/update-sequences.sql dspace
$ ./rest-find-collections.py 10568/1 | grep -i untitled
</code></pre>
<ul>
<li>Looking at the <a href="https://tomcat.apache.org/tomcat-7.0-doc/config/http.html">Tomcat connector docs</a> I think we really need to increase <code>maxThreads</code></li>
<li>The default is 200, which can easily be taken up by bots considering that Google and Bing each browse with fifty (50) connections each sometimes!</li>
<li>Before I increase this I want to see if I can measure and graph this, and then benchmark</li>
<li>I still want to bump up <code>acceptorThreadCount</code> from 1 to 2 as well, as the documentation says this should be increased on multi-core systems</li>
</ul>

View File

@ -4,7 +4,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/2018-01/</loc>
<lastmod>2018-01-20T11:15:07+02:00</lastmod>
<lastmod>2018-01-22T15:38:33+02:00</lastmod>
</url>
<url>
@ -144,7 +144,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2018-01-20T11:15:07+02:00</lastmod>
<lastmod>2018-01-22T15:38:33+02:00</lastmod>
<priority>0</priority>
</url>
@ -155,7 +155,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2018-01-20T11:15:07+02:00</lastmod>
<lastmod>2018-01-22T15:38:33+02:00</lastmod>
<priority>0</priority>
</url>
@ -167,13 +167,13 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/post/</loc>
<lastmod>2018-01-20T11:15:07+02:00</lastmod>
<lastmod>2018-01-22T15:38:33+02:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2018-01-20T11:15:07+02:00</lastmod>
<lastmod>2018-01-22T15:38:33+02:00</lastmod>
<priority>0</priority>
</url>