mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-10 17:15:46 +01:00
content/2015-11.md: Add more notes
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
e1e88c0fc2
commit
abc06d5a7a
@ -94,3 +94,14 @@ datid | datname | pid | usesysid | usename | application_name | client_addr
|
|||||||
$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all
|
$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all
|
||||||
8.415
|
8.415
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- Monitoring e-mailed in the evening to say CGSpace was down
|
||||||
|
- Idle connections in PostgreSQL again:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ psql -c 'SELECT * from pg_stat_activity;' | grep cgspace | grep -c idle
|
||||||
|
66
|
||||||
|
```
|
||||||
|
|
||||||
|
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user