Experimental Physics and Industrial Control System
|
Hi Pierrick,
Also a side note, x-forwarding doesn't always work well, we have found that tools like VNC work much more reliably for Phoebus.
Tynan
On 8/31/23 18:20, Pierrick M Hanlet via Tech-talk wrote:
> 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".
The text of the message mentions "or process/resource limits reached".
Have you investigated RLIMIT_NPROC?
(although I may be getting confused about OS as you mention both OSX and Windows below)
> 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
>
- References:
- pheobus on AlmaLinux9 Pierrick M Hanlet via Tech-talk
- Re: pheobus on AlmaLinux9 Michael Davidsaver via Tech-talk
- Navigate by Date:
- Prev:
Re: EPICS Ethercat motor driver Torsten Bögershausen via Tech-talk
- Next:
Static Database Access 顾月良 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
<2023>
2024
- Navigate by Thread:
- Prev:
Re: pheobus on AlmaLinux9 Michael Davidsaver 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
<2023>
2024
|
ANJ, 06 Sep 2023 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|