mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-12-26 23:14:29 +01:00
Update notes for 2021-04-06
This commit is contained in:
parent
00dd46906f
commit
0ef42412f1
@ -299,8 +299,17 @@ $ psql -c 'SELECT * FROM pg_locks pl LEFT JOIN pg_stat_activity psa ON pl.pid =
|
||||
4582
|
||||
```
|
||||
|
||||
- I don't know what the hell is going on
|
||||
- While looking at the logs I see that MEL is trying to log into CGSpace's REST API and delete items:
|
||||
- I don't know what the hell is going on, but the PostgreSQL connections and locks are way higher than ever before:
|
||||
|
||||
![PostgreSQL connections week](/cgspace-notes/2021/04/postgres_connections_cgspace-week.png)
|
||||
![PostgreSQL locks week](/cgspace-notes/2021/04/postgres_locks_cgspace-week.png)
|
||||
![Tomcat database pool](/cgspace-notes/2021/04/jmx_tomcat_dbpools-week.png)
|
||||
|
||||
- Otherwise, the number of DSpace sessions is completely normal:
|
||||
|
||||
![DSpace sessions](/cgspace-notes/2021/04/jmx_dspace_sessions-week.png)
|
||||
|
||||
- While looking at the nginx logs I see that MEL is trying to log into CGSpace's REST API and delete items:
|
||||
|
||||
```console
|
||||
34.209.213.122 - - [06/Apr/2021:03:50:46 +0200] "POST /rest/login HTTP/1.1" 401 727 "-" "MEL"
|
||||
@ -308,6 +317,7 @@ $ psql -c 'SELECT * FROM pg_locks pl LEFT JOIN pg_stat_activity psa ON pl.pid =
|
||||
```
|
||||
|
||||
- I see a few of these per day going back several months
|
||||
- I sent a message to Salem and Enrico to ask if they know
|
||||
- Also annoying, I see tons of what look like penetration testing requests from Qualys:
|
||||
|
||||
```console
|
||||
|
@ -24,7 +24,7 @@ Perhaps one of the containers crashed, I should have looked closer but I was in
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2021-04/" />
|
||||
<meta property="article:published_time" content="2021-04-01T09:50:54+03:00" />
|
||||
<meta property="article:modified_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="article:modified_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
@ -54,9 +54,9 @@ Perhaps one of the containers crashed, I should have looked closer but I was in
|
||||
"@type": "BlogPosting",
|
||||
"headline": "April, 2021",
|
||||
"url": "https://alanorth.github.io/cgspace-notes/2021-04/",
|
||||
"wordCount": "1789",
|
||||
"wordCount": "1824",
|
||||
"datePublished": "2021-04-01T09:50:54+03:00",
|
||||
"dateModified": "2021-04-05T19:36:44+03:00",
|
||||
"dateModified": "2021-04-06T22:33:43+03:00",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Alan Orth"
|
||||
@ -428,13 +428,26 @@ $ psql -c 'SELECT * FROM pg_locks pl LEFT JOIN pg_stat_activity psa ON pl.pid =
|
||||
$ psql -c 'SELECT * FROM pg_locks pl LEFT JOIN pg_stat_activity psa ON pl.pid = psa.pid;' | wc -l
|
||||
4582
|
||||
</code></pre><ul>
|
||||
<li>I don’t know what the hell is going on</li>
|
||||
<li>While looking at the logs I see that MEL is trying to log into CGSpace’s REST API and delete items:</li>
|
||||
<li>I don’t know what the hell is going on, but the PostgreSQL connections and locks are way higher than ever before:</li>
|
||||
</ul>
|
||||
<p><img src="/cgspace-notes/2021/04/postgres_connections_cgspace-week.png" alt="PostgreSQL connections week">
|
||||
<img src="/cgspace-notes/2021/04/postgres_locks_cgspace-week.png" alt="PostgreSQL locks week">
|
||||
<img src="/cgspace-notes/2021/04/jmx_tomcat_dbpools-week.png" alt="Tomcat database pool"></p>
|
||||
<ul>
|
||||
<li>Otherwise, the number of DSpace sessions is completely normal:</li>
|
||||
</ul>
|
||||
<p><img src="/cgspace-notes/2021/04/jmx_dspace_sessions-week.png" alt="DSpace sessions"></p>
|
||||
<ul>
|
||||
<li>While looking at the nginx logs I see that MEL is trying to log into CGSpace’s REST API and delete items:</li>
|
||||
</ul>
|
||||
<pre><code class="language-console" data-lang="console">34.209.213.122 - - [06/Apr/2021:03:50:46 +0200] "POST /rest/login HTTP/1.1" 401 727 "-" "MEL"
|
||||
34.209.213.122 - - [06/Apr/2021:03:50:48 +0200] "DELETE /rest/items/95f52bf1-f082-4e10-ad57-268a76ca18ec/metadata HTTP/1.1" 401 704 "-" "-"
|
||||
</code></pre><ul>
|
||||
<li>I see a few of these per day going back several months</li>
|
||||
<li>I see a few of these per day going back several months
|
||||
<ul>
|
||||
<li>I sent a message to Salem and Enrico to ask if they know</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Also annoying, I see tons of what look like penetration testing requests from Qualys:</li>
|
||||
</ul>
|
||||
<pre><code class="language-console" data-lang="console">2021-04-04 06:35:17,889 INFO org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=FF1E051BCA7D81CC5A807D85380D81E5:ip_addr=64.39.108.48:failed_login:no DN found for user "'><qss a=X158062356Y1_2Z>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2021-04-05T19:36:44+03:00" />
|
||||
<meta property="og:updated_time" content="2021-04-06T22:33:43+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -3,19 +3,19 @@
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/2021-04/</loc>
|
||||
<lastmod>2021-04-05T19:36:44+03:00</lastmod>
|
||||
<lastmod>2021-04-06T22:33:43+03:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
|
||||
<lastmod>2021-04-05T19:36:44+03:00</lastmod>
|
||||
<lastmod>2021-04-06T22:33:43+03:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||
<lastmod>2021-04-05T19:36:44+03:00</lastmod>
|
||||
<lastmod>2021-04-06T22:33:43+03:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
||||
<lastmod>2021-04-05T19:36:44+03:00</lastmod>
|
||||
<lastmod>2021-04-06T22:33:43+03:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||
<lastmod>2021-04-05T19:36:44+03:00</lastmod>
|
||||
<lastmod>2021-04-06T22:33:43+03:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/2021-03/</loc>
|
||||
<lastmod>2021-04-05T19:36:44+03:00</lastmod>
|
||||
|
BIN
static/2021/04/jmx_dspace_sessions-week.png
Normal file
BIN
static/2021/04/jmx_dspace_sessions-week.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
BIN
static/2021/04/jmx_tomcat_dbpools-week.png
Normal file
BIN
static/2021/04/jmx_tomcat_dbpools-week.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.6 KiB |
BIN
static/2021/04/postgres_connections_cgspace-week.png
Normal file
BIN
static/2021/04/postgres_connections_cgspace-week.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.8 KiB |
BIN
static/2021/04/postgres_locks_cgspace-week.png
Normal file
BIN
static/2021/04/postgres_locks_cgspace-week.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.3 KiB |
Loading…
Reference in New Issue
Block a user