mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2018-01-22
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user