mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-25 16:08:19 +01:00
content/2015-11.md: Add more notes
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
abc06d5a7a
commit
8a551c6582
@ -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...
|
- 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
|
- 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user