User shinyprox takes whole cpu from ./kswapd0 process

As from the title, this process from shinyproxy takes the whole CPU, freezing the server. The only solution I found is to kill the process, which restarts randomly from hours to a few days later.

NOTE: I even tried to turn off the docker instance of shinyproxy, but that didn’t change anything, and the issue persists. I do not understand how that was possible.

Do you have some ideas to find the root cause of that, and possibly solve it?

Thank you!!
Corrado.

systeminfo:


java -version

openjdk version “11.0.17” 2022-10-18
OpenJDK Runtime Environment (build 11.0.17+8-post-Ubuntu-1ubuntu218.04)
OpenJDK 64-Bit Server VM (build 11.0.17+8-post-Ubuntu-1ubuntu218.04, mixed mode, sharing)


cat Dockerfile

FROM openjdk:11-jre

RUN mkdir -p /opt/shinyproxy/
RUN wget https://www.shinyproxy.io/downloads/shinyproxy-2.4.3.jar -O /opt/shinyproxy/shinyproxy.jar
COPY application.yml /opt/shinyproxy/application.yml
COPY logo.png /opt/shinyproxy/logo.png

WORKDIR /opt/shinyproxy/
CMD [“java”, “-jar”, “/opt/shinyproxy/shinyproxy.jar”]


cat application.yaml

proxy:
title: Unit of Biostatistics, Epidemiology, and Public Health’s Shiny Proxy - University of Padova
logo-url: file:///opt/shinyproxy/logo.png
port: 8080
container-log-path: ./logs/container-logs
heartbeat-rate: 10000
heartbeat-timeout: 60000
authentication: simple
admin-groups: admins
users:

  • name: XXXXXXX
    password: XXXXXXX
    groups: XXXXXXX

  • name: XXXXXXX
    password: XXXXXXX
    groups: XXXXXXX

  • name: XXXXXXX
    password: XXXXXXX
    groups: XXXXXXX
    docker:
    internal-networking: true
    container-network: sp-ubep-net
    specs:

  • id: covid19ita-devel
    display-name: CoViD19ita Development
    description: Examples and experiments for the covid19ita Shiny app
    container-cmd: [“R”, “-e”, “options(‘shiny.port’=3838,shiny.host=‘0.0.0.0’);covid19ita.devel::run_app()”]
    container-image: covid19ita-devel
    access-groups: [ubep, admins]
    container-volumes: ["/srv/azero-data:/volume"]
    container-network: “${proxy.docker.container-network}”

  • id: susy3dpp
    display-name: SusySafe 3D-Enhanced Registry
    description: Application to explore the 3D-enhanced version of the SusySafe registry
    container-cmd: [“R”, “-e”, “options(‘shiny.port’=3838,shiny.host=‘0.0.0.0’);susy3dapp::run_app()”]
    container-image: susy3dapp
    access-groups: [ubep, admins, zeta]
    container-network: “${proxy.docker.container-network}”

support:
mail-to-address: XXXXXXX
mail-from-address: XXXXXXX

spring:
mail:
host: smtp.gmail.com
# TLS: 587 SSL: 465 Plain: 25
port: 465
username: XXXXXXX
password: XXXXXXX
properties:
# For StartTLS
#mail.smtp.starttls.enable: true
# For SSL
mail.smtp.socketFactory.class: javax.net.ssl.SSLSocketFactory

server:

useForwardHeader: false

servlet:
context-path: /sp

logging:
file: /logs/shinyproxy.log