EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: pheobus on AlmaLinux9
From: Pierrick M Hanlet via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Cc: James G Smedinghoff <smedinghoff at fnal.gov>
Date: Thu, 31 Aug 2023 16:20:42 +0000
Greetings,
We are migrating our controls network to Alma Linux 9.2 and are now having issues with Pheobus,
namely that it crashes due to "insufficient memory for the Java Runtime Environment to continue".
We are using v4.7.2-SNAPSHOT.  We've done a number of tests, and the summary of results are:

WORKS OK:
SLF7 + openjdk-11.0.17.0.8-2       on VM with 3GB, 3 CPU
SLF7 + openjdk-11.0.17.0.8-2       on VM with 2GB, 2 CPU
Alma 9 + openjdk-11.0.20.0.8-3    on VM with 3GB, 3 CPU displaying on Mac + XQuartz
This one is strange.  It works on a Mac but not on MS Windows.  The only obvious difference seen with 'xdpyinfo' is that XQuartz
on the Mac has a WINDOWS-DRI extension which Cygwin-X does not have.


DOESN'T WORK: fails with "There is insufficient memory for the Java Runtime Environment to continue."
Alma 9 + openjdk-11.0.20.0.8-3    on VM with 3GB,  3 CPU displaying on Windows+Cygwin-X and on another linux box with x-forwarding
Alma 9 + openjdk-17.0.8.0.7-2     on VM with 3GB,  3 CPU displaying on Windows+Cygwin-X and on another linux box with x-forwarding
Alma 9 + openjdk-11.0.20.0.8-3    on VM with 16GB, 3 CPU displaying on Windows+Cygwin-X
A screenshot of what happens immediately before Pheobus crashes after attempting to open a 3rd bob file:


Is there some configuration that we need that we are not providing?  Our java options are:
NOTE: Picked up JDK_JAVA_OPTIONS:  -DCA_DISABLE_REPEATER=true -Dnashorn.args=--no-deprecation-warning -Djdk.gtk.verbose=false -Dprism.forceGPU=true -Dlogback.configurationFile=/home/train/epics-tools/setup/settings/logback.xml -Dorg.csstudio.javafx.rtplot.update_counter=false
2023-08-31 11:13:13 SEVERE [org.phoebus.product.Launcher] Default charset is US-ASCII instead of UTF-8.
2023-08-31 11:13:13 SEVERE [org.phoebus.product.Launcher] Add    -D"file.encoding=UTF-8"    to java command line or JAVA_TOOL_OPTIONS
2023-08-31 11:13:13 INFO [org.phoebus.product.Launcher] Loading settings from /usr/local/epics/Config/CSS/Phoebus/settings.ini
2023-08-31 11:13:13 INFO [java.util.prefs] Created user preferences directory.
2023-08-31 11:13:13 WARNING [javafx] Unsupported JavaFX configuration: classes were loaded from 'unnamed module @6a906827'
2023-08-31 11:13:15 SEVERE [org.phoebus.framework.preferences] No default setting for preference org.phoebus.applications.alarm.logging.ui/rawFiltering
2023-08-31 11:13:15 WARNING [org.phoebus.ui.application.PhoebusApplication] Cannot load state from /export/home1/hanlet/.phoebus/memento, no such file
2023-08-31 11:13:25 SEVERE [org.phoebus.framework.preferences] No default setting for preference org.phoebus.applications.update/gitlab_api_url
2023-08-31 11:13:25 SEVERE [org.phoebus.framework.preferences] No default setting for preference org.phoebus.applications.update/gitlab_project_id
2023-08-31 11:13:25 SEVERE [org.phoebus.framework.preferences] Reading Preferences: Java system property or Environment variable'$(arch)' is not defined
2023-08-31 11:13:25 SEVERE [org.phoebus.framework.preferences] No default setting for preference org.phoebus.applications.update/gitlab_token
2023-08-31 11:13:25 SEVERE [org.phoebus.framework.preferences] Reading Preferences: Java system property or Environment variable'$(arch)' is not defined
2023-08-31 11:13:50 SEVERE [org.phoebus.ui.application.PhoebusApplication] UI Freezeup

I know little about java, so I don't know how severe the SEVERE warnings are.

Attached is the logging.properties file.


Many thanks,
Pierrick

-- 
Pierrick Hanlet
Fermi National Accelerator
Accelerator Front End Controls
+1-630-840-5555 -- lab
+1-312-687-4980 -- mobile

"Whether you think you can or think you can't, you're right" -- Henry Ford
# java.util.logging configuration
#
# Read in Launcher via LogManager

handlers = java.util.logging.ConsoleHandler

# Levels: SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL
# General level 'FINE' to enable logging, which is then fine-tuned below
.level = INFO

java.util.logging.ConsoleHandler.level = WARNING
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
# 1: date, 2: source, 3: logger, 4: level, 5: message, 6:thrown
# Adding the logger name [%3$s] can be useful to determine which logger to _disable_,
#
java.util.logging.SimpleFormatter.format=%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$s [%3$s] %5$s%6$s%n
#
# but otherwise the source is more useful to locate the originating code.
# java.util.logging.SimpleFormatter.format=%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$s [%2$s] %5$s%6$s%n

# Throttle messages for certain packages
# Raise back up from 'WARNING' to debug

# Core java and general 3rd party libs
sun.net.www.protocol.http.HttpURLConnection.level = CONFIG
javafx.scene.control.level = WARNING
javafx.css.level = WARNING
javafx.scene.focus.level = WARNING
javafx.scene.input.level = WARNING
javafx.scene.layout.level = WARNING
com.sun.javafx.webkit.level = WARNING
com.sun.webkit.level = WARNING
javafx.scene.web.WebEngine.level = WARNING
javax.mail.level = WARNING
javax.activation.level = WARNING
com.sun.mail.smtp.level = WARNING
com.sun.speech.freetts.Voice.level = WARNING
com.sun.speech.freetts.en.PartOfSpeechTagger.level = WARNING
com.sun.speech.freetts.relp.AudioOutput.level = WARNING
com.sun.jersey.level = WARNING
com.cosylab.epics.caj.level = WARNING
org.epics.pvaccess.client.level = WARNING
org.apache.kafka.level = WARNING

# Core packages 
org.phoebus.framework.rdb.level = WARNING
org.phoebus.framework.workbench.level = WARNING
org.phoebus.security.level = WARNING
org.phoebus.ui.javafx.BufferUtil.level = WARNING
org.phoebus.ui.docking.level = WARNING
org.phoebus.ui.autocomplete.level = WARNING
org.phoebus.ui.undo.level = WARNING
org.phoebus.pv.level = WARNING
org.phoebus.ui.application.PhoebusApplication.level = WARNING
org.phoebus.ui.application.ApplicationLauncherService.level = WARNING

# Applications
org.phoebus.applications.filebrowser.level = WARNING
org.phoebus.applications.pvtree.level = WARNING
org.phoebus.applications.viewer3d.level = WARNING
org.phoebus.archive.reader.level = WARNING
org.csstudio.javafx.rtplot.level = CONFIG
org.csstudio.trends.databrowser3.level = WARNING
org.csstudio.display.builder.level = WARNING
org.csstudio.display.builder.model.level = WARNING
org.csstudio.display.builder.representation.level = WARNING
org.csstudio.display.builder.editor.level = WARNING
org.csstudio.display.builder.runtime.level = WARNING
org.phoebus.applications.alarm.level = INFO
org.phoebus.applications.email.level = WARNING
org.csstudio.scan.level = WARNING


Replies:
Re: pheobus on AlmaLinux9 Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: EPICS Collaboration Meeting at ICALEPCS 2023 White, Karen S. via Tech-talk
Next: PVA gateway status PV monitoring Ha, Kiman via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: EPICS Collaboration Meeting at ICALEPCS 2023 White, Karen S. via Tech-talk
Next: Re: pheobus on AlmaLinux9 Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 01 Sep 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·