Add notes for 2017-12-24

This commit is contained in:
2017-12-24 13:59:25 +02:00
parent 0652179a0f
commit c243f1d7fe
3 changed files with 44 additions and 8 deletions

View File

@ -650,3 +650,18 @@ $ schedtool -D -e ionice -c2 -n7 nice -n19 dspace filter-media -i 10568/89287
```
- The final code for the JNDI work in the Ansible infrastructure scripts is here: https://github.com/ilri/rmg-ansible-public/commit/1959d9cb7a0e7a7318c77f769253e5e029bdfa3b
## 2017-12-24
- Linode alerted that CGSpace was using high CPU this morning around 6 AM
- I'm playing with reading all of a month's nginx logs into goaccess:
```
# find /var/log/nginx -type f -newermt "2017-12-01" | xargs zcat --force | goaccess --log-format=COMBINED -
```
- I can see interesting things using this approach, for example:
- 50.116.102.77 checked our status almost 40,000 times so far this month—I think it's the CGNet uptime tool
- Also, we've handled 2.9 million requests this month from 172,000 unique IP addresses!
- Total bandwidth so far this month is 640GiB
- The user that made the most requests so far this month is 45.5.184.196 (267,000 requests)