diff --git a/content/posts/2019-04.md b/content/posts/2019-04.md index 6789d52fe..2c9ee1a30 100644 --- a/content/posts/2019-04.md +++ b/content/posts/2019-04.md @@ -621,4 +621,28 @@ $ ./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](/cgspace-notes/2019/04/visualvm-solr-indexing-solr-settings.png) +## 2019-04-14 + +- Change DSpace Test (linode19) to use the Java GC tuning from the Solr 4.14.4 startup script: + +``` +GC_TUNE="-XX:NewRatio=3 \ + -XX:SurvivorRatio=4 \ + -XX:TargetSurvivorRatio=90 \ + -XX:MaxTenuringThreshold=8 \ + -XX:+UseConcMarkSweepGC \ + -XX:+UseParNewGC \ + -XX:ConcGCThreads=4 -XX:ParallelGCThreads=4 \ + -XX:+CMSScavengeBeforeRemark \ + -XX:PretenureSizeThreshold=64m \ + -XX:+UseCMSInitiatingOccupancyOnly \ + -XX:CMSInitiatingOccupancyFraction=50 \ + -XX:CMSMaxAbortablePrecleanTime=6000 \ + -XX:+CMSParallelRemarkEnabled \ + -XX:+ParallelRefProcEnabled" +``` + +- I need to remember to check the Munin JVM graphs in a few days +- It might be placebo, but the site *does* feel snappier... + diff --git a/docs/2015-11/index.html b/docs/2015-11/index.html index b18761cee..345a73be3 100644 --- a/docs/2015-11/index.html +++ b/docs/2015-11/index.html @@ -65,8 +65,7 @@ $ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspac - - + diff --git a/docs/2015-12/index.html b/docs/2015-12/index.html index 15ea71a3f..54314505c 100644 --- a/docs/2015-12/index.html +++ b/docs/2015-12/index.html @@ -67,8 +67,7 @@ Replace lzop with xz in log compression cron jobs on DSpace Test—it uses less - - + diff --git a/docs/2016-01/index.html b/docs/2016-01/index.html index f478f4f10..011265343 100644 --- a/docs/2016-01/index.html +++ b/docs/2016-01/index.html @@ -57,8 +57,7 @@ Update GitHub wiki for documentation of maintenance tasks. - - + diff --git a/docs/2016-02/index.html b/docs/2016-02/index.html index 6c6571d1e..8407ed13d 100644 --- a/docs/2016-02/index.html +++ b/docs/2016-02/index.html @@ -71,8 +71,7 @@ Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE&r - - + diff --git a/docs/2016-03/index.html b/docs/2016-03/index.html index fb98d30c7..090fb3823 100644 --- a/docs/2016-03/index.html +++ b/docs/2016-03/index.html @@ -57,8 +57,7 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja - - + diff --git a/docs/2016-04/index.html b/docs/2016-04/index.html index 864db2e38..68d6c3682 100644 --- a/docs/2016-04/index.html +++ b/docs/2016-04/index.html @@ -61,8 +61,7 @@ Also, I noticed the checker log has some errors we should pay attention to: - - + diff --git a/docs/2016-05/index.html b/docs/2016-05/index.html index 3bb40bdb8..fd23c8cac 100644 --- a/docs/2016-05/index.html +++ b/docs/2016-05/index.html @@ -65,8 +65,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period! - - + diff --git a/docs/2016-06/index.html b/docs/2016-06/index.html index c12cb008b..83024aeb2 100644 --- a/docs/2016-06/index.html +++ b/docs/2016-06/index.html @@ -63,8 +63,7 @@ Working on second phase of metadata migration, looks like this will work for mov - - + diff --git a/docs/2016-07/index.html b/docs/2016-07/index.html index b28038ca3..a668e33c5 100644 --- a/docs/2016-07/index.html +++ b/docs/2016-07/index.html @@ -79,8 +79,7 @@ In this case the select query was showing 95 results before the update - - + diff --git a/docs/2016-08/index.html b/docs/2016-08/index.html index 35de48b72..fff6bb724 100644 --- a/docs/2016-08/index.html +++ b/docs/2016-08/index.html @@ -73,8 +73,7 @@ $ git rebase -i dspace-5.5 - - + diff --git a/docs/2016-09/index.html b/docs/2016-09/index.html index c09ba1912..5eae43258 100644 --- a/docs/2016-09/index.html +++ b/docs/2016-09/index.html @@ -65,8 +65,7 @@ $ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=or - - + diff --git a/docs/2016-10/index.html b/docs/2016-10/index.html index e01f7d156..824153a64 100644 --- a/docs/2016-10/index.html +++ b/docs/2016-10/index.html @@ -73,8 +73,7 @@ I exported a random item’s metadata as CSV, deleted all columns except id - - + diff --git a/docs/2016-11/index.html b/docs/2016-11/index.html index 6002be36f..0343c2752 100644 --- a/docs/2016-11/index.html +++ b/docs/2016-11/index.html @@ -57,8 +57,7 @@ Add dc.type to the output options for Atmire’s Listings and Reports module - - + diff --git a/docs/2016-12/index.html b/docs/2016-12/index.html index 8c5148765..757a8c5b5 100644 --- a/docs/2016-12/index.html +++ b/docs/2016-12/index.html @@ -81,8 +81,7 @@ Another worrying error from dspace.log is: - - + diff --git a/docs/2017-01/index.html b/docs/2017-01/index.html index b720a848c..b69eede00 100644 --- a/docs/2017-01/index.html +++ b/docs/2017-01/index.html @@ -57,8 +57,7 @@ I asked on the dspace-tech mailing list because it seems to be broken, and actua - - + diff --git a/docs/2017-02/index.html b/docs/2017-02/index.html index 2a5b08e8a..6c3de9d11 100644 --- a/docs/2017-02/index.html +++ b/docs/2017-02/index.html @@ -85,8 +85,7 @@ Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name - - + diff --git a/docs/2017-03/index.html b/docs/2017-03/index.html index f21dfde5a..770bf2c8a 100644 --- a/docs/2017-03/index.html +++ b/docs/2017-03/index.html @@ -89,8 +89,7 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg - - + diff --git a/docs/2017-04/index.html b/docs/2017-04/index.html index ac0665e39..a0d63ba86 100644 --- a/docs/2017-04/index.html +++ b/docs/2017-04/index.html @@ -75,8 +75,7 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p "ImageMagick PDF Th - - + diff --git a/docs/2017-05/index.html b/docs/2017-05/index.html index 7267a2010..84b2e3f9f 100644 --- a/docs/2017-05/index.html +++ b/docs/2017-05/index.html @@ -45,8 +45,7 @@ - - + diff --git a/docs/2017-06/index.html b/docs/2017-06/index.html index 527c09987..89039617c 100644 --- a/docs/2017-06/index.html +++ b/docs/2017-06/index.html @@ -45,8 +45,7 @@ - - + diff --git a/docs/2017-07/index.html b/docs/2017-07/index.html index 263d0413c..2c0f762af 100644 --- a/docs/2017-07/index.html +++ b/docs/2017-07/index.html @@ -69,8 +69,7 @@ We can use PostgreSQL’s extended output format (-x) plus sed to format the - - + diff --git a/docs/2017-08/index.html b/docs/2017-08/index.html index fda706089..d42853713 100644 --- a/docs/2017-08/index.html +++ b/docs/2017-08/index.html @@ -89,8 +89,7 @@ Then I cleaned up the author authorities and HTML characters in OpenRefine and s - - + diff --git a/docs/2017-09/index.html b/docs/2017-09/index.html index 89e842449..87fe12171 100644 --- a/docs/2017-09/index.html +++ b/docs/2017-09/index.html @@ -65,8 +65,7 @@ Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account - - + diff --git a/docs/2017-10/index.html b/docs/2017-10/index.html index 04b3e192a..edcb76baf 100644 --- a/docs/2017-10/index.html +++ b/docs/2017-10/index.html @@ -69,8 +69,7 @@ Add Katherine Lutz to the groups for content submission and edit steps of the CG - - + diff --git a/docs/2017-11/index.html b/docs/2017-11/index.html index ac126a37b..e4e24f10b 100644 --- a/docs/2017-11/index.html +++ b/docs/2017-11/index.html @@ -89,8 +89,7 @@ COPY 54701 - - + diff --git a/docs/2017-12/index.html b/docs/2017-12/index.html index 8a3707240..6f8b65672 100644 --- a/docs/2017-12/index.html +++ b/docs/2017-12/index.html @@ -59,8 +59,7 @@ The list of connections to XMLUI and REST API for today: - - + diff --git a/docs/2018-01/index.html b/docs/2018-01/index.html index 2db958b5a..e8e2351e8 100644 --- a/docs/2018-01/index.html +++ b/docs/2018-01/index.html @@ -197,8 +197,7 @@ Danny wrote to ask for help renewing the wildcard ilri.org certificate and I adv - - + diff --git a/docs/2018-02/index.html b/docs/2018-02/index.html index 835cc029e..891ca7822 100644 --- a/docs/2018-02/index.html +++ b/docs/2018-02/index.html @@ -59,8 +59,7 @@ I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-pl - - + diff --git a/docs/2018-03/index.html b/docs/2018-03/index.html index 38775048b..dc09d1e34 100644 --- a/docs/2018-03/index.html +++ b/docs/2018-03/index.html @@ -53,8 +53,7 @@ Export a CSV of the IITA community metadata for Martin Mueller - - + diff --git a/docs/2018-04/index.html b/docs/2018-04/index.html index b4dd03743..eb4b98f51 100644 --- a/docs/2018-04/index.html +++ b/docs/2018-04/index.html @@ -55,8 +55,7 @@ Catalina logs at least show some memory errors yesterday: - - + diff --git a/docs/2018-05/index.html b/docs/2018-05/index.html index 26d92a3a1..86892c1b4 100644 --- a/docs/2018-05/index.html +++ b/docs/2018-05/index.html @@ -67,8 +67,7 @@ Also, I switched it to use OpenJDK instead of Oracle Java, as well as re-worked - - + diff --git a/docs/2018-06/index.html b/docs/2018-06/index.html index e0eb7cb54..70c4664a8 100644 --- a/docs/2018-06/index.html +++ b/docs/2018-06/index.html @@ -95,8 +95,7 @@ sys 2m7.289s - - + diff --git a/docs/2018-07/index.html b/docs/2018-07/index.html index 9ec646d2d..d4aad914f 100644 --- a/docs/2018-07/index.html +++ b/docs/2018-07/index.html @@ -73,8 +73,7 @@ There is insufficient memory for the Java Runtime Environment to continue. - - + diff --git a/docs/2018-08/index.html b/docs/2018-08/index.html index 9eb841847..8b841a7f0 100644 --- a/docs/2018-08/index.html +++ b/docs/2018-08/index.html @@ -81,8 +81,7 @@ I ran all system updates on DSpace Test and rebooted it - - + diff --git a/docs/2018-09/index.html b/docs/2018-09/index.html index 2d9e59819..a4fcb6e1b 100644 --- a/docs/2018-09/index.html +++ b/docs/2018-09/index.html @@ -59,8 +59,7 @@ I’m testing the new DSpace 5.8 branch in my Ubuntu 18.04 environment and I - - + diff --git a/docs/2018-10/index.html b/docs/2018-10/index.html index d75bb9b44..aeedb8518 100644 --- a/docs/2018-10/index.html +++ b/docs/2018-10/index.html @@ -55,8 +55,7 @@ I created a GitHub issue to track this #389, because I’m super busy in Nai - - + diff --git a/docs/2018-11/index.html b/docs/2018-11/index.html index 3f2cb38f0..e29aa1329 100644 --- a/docs/2018-11/index.html +++ b/docs/2018-11/index.html @@ -69,8 +69,7 @@ Today these are the top 10 IPs: - - + diff --git a/docs/2018-12/index.html b/docs/2018-12/index.html index 616a79fc9..63ac4e4f3 100644 --- a/docs/2018-12/index.html +++ b/docs/2018-12/index.html @@ -69,8 +69,7 @@ I noticed that there is another issue with PDF thumbnails on CGSpace, and I see - - + diff --git a/docs/2019-01/index.html b/docs/2019-01/index.html index ff12506f0..ec8af1c6b 100644 --- a/docs/2019-01/index.html +++ b/docs/2019-01/index.html @@ -81,8 +81,7 @@ I don’t see anything interesting in the web server logs around that time t - - + diff --git a/docs/2019-02/index.html b/docs/2019-02/index.html index 3ecbe813e..a936b7ddf 100644 --- a/docs/2019-02/index.html +++ b/docs/2019-02/index.html @@ -109,8 +109,7 @@ sys 0m1.979s - - + diff --git a/docs/2019-03/index.html b/docs/2019-03/index.html index e461767c4..edfb4c22b 100644 --- a/docs/2019-03/index.html +++ b/docs/2019-03/index.html @@ -75,8 +75,7 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca - - + diff --git a/docs/2019-04/index.html b/docs/2019-04/index.html index 369a8a80f..e536e050c 100644 --- a/docs/2019-04/index.html +++ b/docs/2019-04/index.html @@ -38,7 +38,7 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace - + @@ -81,9 +81,9 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace "@type": "BlogPosting", "headline": "April, 2019", "url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-04\/", - "wordCount": "3655", + "wordCount": "3724", "datePublished": "2019-04-01T09:00:43\x2b03:00", - "dateModified": "2019-04-11T14:23:30\x2b03:00", + "dateModified": "2019-04-13T12:15:55\x2b03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -101,8 +101,7 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace - - + @@ -890,6 +889,33 @@ $ ./delete-metadata-values.py -i /tmp/2019-04-11-delete-6-subjects.csv -db dspac
+GC_TUNE="-XX:NewRatio=3 \
+ -XX:SurvivorRatio=4 \
+ -XX:TargetSurvivorRatio=90 \
+ -XX:MaxTenuringThreshold=8 \
+ -XX:+UseConcMarkSweepGC \
+ -XX:+UseParNewGC \
+ -XX:ConcGCThreads=4 -XX:ParallelGCThreads=4 \
+ -XX:+CMSScavengeBeforeRemark \
+ -XX:PretenureSizeThreshold=64m \
+ -XX:+UseCMSInitiatingOccupancyOnly \
+ -XX:CMSInitiatingOccupancyFraction=50 \
+ -XX:CMSMaxAbortablePrecleanTime=6000 \
+ -XX:+CMSParallelRemarkEnabled \
+ -XX:+ParallelRefProcEnabled"
+
+
+