From 65a2a89597dbd4052808a0d13f380e80495b750c Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 18 Aug 2021 16:24:40 +0300 Subject: [PATCH] Add notes for 2021-08-18 --- content/posts/2021-08.md | 5 +++++ docs/2019-04/index.html | 6 +++--- docs/2021-08/index.html | 14 +++++++++++--- docs/categories/index.html | 2 +- docs/categories/notes/index.html | 2 +- docs/categories/notes/page/2/index.html | 2 +- docs/categories/notes/page/3/index.html | 2 +- docs/categories/notes/page/4/index.html | 2 +- docs/categories/notes/page/5/index.html | 2 +- docs/index.html | 2 +- docs/page/2/index.html | 2 +- docs/page/3/index.html | 2 +- docs/page/4/index.html | 2 +- docs/page/5/index.html | 2 +- docs/page/6/index.html | 2 +- docs/page/7/index.html | 2 +- docs/page/8/index.html | 2 +- docs/posts/index.html | 2 +- docs/posts/page/2/index.html | 2 +- docs/posts/page/3/index.html | 2 +- docs/posts/page/4/index.html | 2 +- docs/posts/page/5/index.html | 2 +- docs/posts/page/6/index.html | 2 +- docs/posts/page/7/index.html | 2 +- docs/posts/page/8/index.html | 2 +- docs/sitemap.xml | 12 ++++++------ 26 files changed, 47 insertions(+), 34 deletions(-) diff --git a/content/posts/2021-08.md b/content/posts/2021-08.md index fd4a00bc9..0e2019f6b 100644 --- a/content/posts/2021-08.md +++ b/content/posts/2021-08.md @@ -343,5 +343,10 @@ $ curl -X POST 'https://cgspace.cgiar.org/explorer/api/search/scroll/DXF1ZXJ5QW5 - This uses the Elasticsearch scroll ID to page through results - The second query doesn't need the request body because it is saved for 1 day as part of the first request +- Attempt to re-do my tests with VisualVM from 2019-04 + - I found that I can't connect to the Tomcat JMX port using SSH forwarding (visualvm gives an error about localhost already being monitored) + - Instead, I had to create a SOCKS proxy with SSH (ssh -D 8096), then set that up as a proxy in the VisualVM network settings, and then add the JMX connection + - See: https://dzone.com/articles/visualvm-monitoring-remote-jvm + - I have to spend more time on this... diff --git a/docs/2019-04/index.html b/docs/2019-04/index.html index 780d2db80..e95cdd63d 100644 --- a/docs/2019-04/index.html +++ b/docs/2019-04/index.html @@ -34,7 +34,7 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace - + @@ -76,7 +76,7 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace "url": "https://alanorth.github.io/cgspace-notes/2019-04/", "wordCount": "6778", "datePublished": "2019-04-01T09:00:43+03:00", - "dateModified": "2020-04-13T15:30:24+03:00", + "dateModified": "2021-08-18T15:29:31+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -751,7 +751,7 @@ $ ./delete-metadata-values.py -i /tmp/2019-04-11-delete-6-subjects.csv -db dspac

Java GC during Solr indexing Solr 4.10.4 settings

2019-04-14

GC_TUNE="-XX:NewRatio=3 \
     -XX:SurvivorRatio=4 \
diff --git a/docs/2021-08/index.html b/docs/2021-08/index.html
index e86bd65df..5a4092317 100644
--- a/docs/2021-08/index.html
+++ b/docs/2021-08/index.html
@@ -18,7 +18,7 @@ I decided to upgrade linode20 from Ubuntu 18.04 to 20.04
 
 
 
-
+
 
 
 
@@ -42,9 +42,9 @@ I decided to upgrade linode20 from Ubuntu 18.04 to 20.04
   "@type": "BlogPosting",
   "headline": "August, 2021",
   "url": "https://alanorth.github.io/cgspace-notes/2021-08/",
-  "wordCount": "2512",
+  "wordCount": "2585",
   "datePublished": "2021-08-01T09:01:07+03:00",
-  "dateModified": "2021-08-17T10:59:14+03:00",
+  "dateModified": "2021-08-18T09:17:20+03:00",
   "author": {
     "@type": "Person",
     "name": "Alan Orth"
@@ -485,6 +485,14 @@ $ curl -X POST 'https://cgspace.cgiar.org/explorer/api/search/scroll/DXF1ZXJ5QW5
 
  • The second query doesn’t need the request body because it is saved for 1 day as part of the first request
  • +
  • Attempt to re-do my tests with VisualVM from 2019-04 +
      +
    • I found that I can’t connect to the Tomcat JMX port using SSH forwarding (visualvm gives an error about localhost already being monitored)
    • +
    • Instead, I had to create a SOCKS proxy with SSH (ssh -D 8096), then set that up as a proxy in the VisualVM network settings, and then add the JMX connection
    • +
    • See: https://dzone.com/articles/visualvm-monitoring-remote-jvm
    • +
    • I have to spend more time on this…
    • +
    +
  • diff --git a/docs/categories/index.html b/docs/categories/index.html index bc7ccd702..f56014333 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index f16967d52..17a51dbc0 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index 02623c2c7..b2a339b27 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index c9b4a2ed1..84c79c1ef 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index 822cff75a..f668909c7 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/5/index.html b/docs/categories/notes/page/5/index.html index fc2c3ffa9..cdb0bc815 100644 --- a/docs/categories/notes/page/5/index.html +++ b/docs/categories/notes/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.html b/docs/index.html index 974e860a7..070f47fa3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index 0845eacf1..031bbeefb 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 8c51526ff..9fb58389f 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index cf09c8732..145e2714a 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index d144afaf8..d8aeb47a5 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index 52b8b3a3c..62cc428b0 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index 533521b28..2559252c2 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/8/index.html b/docs/page/8/index.html index 41364f8ef..47378a07a 100644 --- a/docs/page/8/index.html +++ b/docs/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index 27ba0c63a..24857c1ae 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index b1b322367..7b63f8eff 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index 3ecfb7945..06f899478 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index 254ca2509..aa6072582 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index 36791dd7a..73e30723d 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index 9279b7b32..c5c862555 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index 6675f162c..0e60e0557 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/8/index.html b/docs/posts/page/8/index.html index ceba23947..611ed14b3 100644 --- a/docs/posts/page/8/index.html +++ b/docs/posts/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 7299f9eda..42a14837d 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -3,19 +3,19 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> https://alanorth.github.io/cgspace-notes/2021-08/ - 2021-08-17T10:59:14+03:00 + 2021-08-18T09:17:20+03:00 https://alanorth.github.io/cgspace-notes/categories/ - 2021-08-17T10:59:14+03:00 + 2021-08-18T15:29:31+03:00 https://alanorth.github.io/cgspace-notes/ - 2021-08-17T10:59:14+03:00 + 2021-08-18T15:29:31+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2021-08-17T10:59:14+03:00 + 2021-08-18T15:29:31+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2021-08-17T10:59:14+03:00 + 2021-08-18T15:29:31+03:00 https://alanorth.github.io/cgspace-notes/2021-07/ 2021-08-01T16:19:05+03:00 @@ -111,7 +111,7 @@ 2020-04-13T15:30:24+03:00 https://alanorth.github.io/cgspace-notes/2019-04/ - 2020-04-13T15:30:24+03:00 + 2021-08-18T15:29:31+03:00 https://alanorth.github.io/cgspace-notes/2019-03/ 2020-07-24T21:57:55+03:00