mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2022-04-13
This commit is contained in:
@ -31,4 +31,28 @@ sys 3m43.037s
|
||||
|
||||
- Start a full harvest on AReS
|
||||
|
||||
## 2022-04-13
|
||||
|
||||
- UptimeRobot mailed to say that CGSpace was down
|
||||
- I looked and found the load at 44...
|
||||
- There seem to be a lot of locks from the XMLUI:
|
||||
|
||||
```console
|
||||
$ psql -c 'SELECT * FROM pg_locks pl LEFT JOIN pg_stat_activity psa ON pl.pid = psa.pid;' | grep -o -E '(dspaceWeb|dspaceApi)' | sort | uniq -c | sort -n
|
||||
3173 dspaceWeb
|
||||
```
|
||||
|
||||
- Looking at the top IPs in nginx's access log one IP in particular stands out:
|
||||
|
||||
```console
|
||||
941 66.249.66.222
|
||||
1224 95.108.213.28
|
||||
2074 157.90.209.76
|
||||
3064 66.249.66.221
|
||||
95743 185.192.69.15
|
||||
```
|
||||
|
||||
- 185.192.69.15 is in the UK
|
||||
- I added a block for that IP in nginx and the load went down...
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user