content/2015-11.md: Add more notes

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2015-11-29 21:15:11 +02:00
parent abc06d5a7a
commit 8a551c6582
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -105,3 +105,26 @@ $ psql -c 'SELECT * from pg_stat_activity;' | grep cgspace | grep -c idle
- At the time, the current DSpace pool size was 50...
- I reduced the pool back to the default of 30, and reduced the `db.maxidle` settings from 10 to 8
# 2015-11-29
- Still more alerts that CGSpace has been up and down all day
- Current database settings for DSpace:
```
db.maxconnections = 30
db.maxwait = 5000
db.maxidle = 8
db.statementpool = true
```
- And idle connections:
```
$ psql -c 'SELECT * from pg_stat_activity;' | grep cgspace | grep -c idle
49
```
- Perhaps I need to start drastically increasing the connection limits—like to 300—to see if DSpace's thirst can ever be quenched
- On another note, SUNScholar's notes suggest adjusting some other postgres variables: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Optimisations/Database
- This might help with REST API speed (which I mentioned above and still need to do real tests)