Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Jellyfin
  3. Any way to check in the app what is using all this ram?

Any way to check in the app what is using all this ram?

Scheduled Pinned Locked Moved Jellyfin
22 Posts 5 Posters 7.3k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jdaviescoatesJ jdaviescoates

    @girish I know very little about Jellyfin other than it's a powerful media app. Perhaps it's downloads and then processing large amounts of video? 🤷

    N Offline
    N Offline
    natzilla
    wrote on last edited by
    #8

    @jdaviescoates Jellyfin has cron jobs to remove transcoded cache or recently activity that is no longer used. I don't believe it has to do with the media, but I feel it will be hard to locate the problem.

    1 Reply Last reply
    0
    • girishG girish

      That seems like an extraordinarily large amount of RAM for a single app! If you open a web terminal to jellyfin , you can use tools like top/ps to see which process is using so much memory.

      N Offline
      N Offline
      natzilla
      wrote on last edited by
      #9

      @girish It looks like there might be a miss representation on the graphs? d9e8cbad-1aa4-45e9-8302-1543d420ffcc-image.png
      12f1d5df-1b78-4eee-a258-7859cec9777f-image.png
      My performance appears to be ok for moment on it. so my correlation might be off in terms of my issue, but I think here it might be not picking up the correct ram usages. What do you think?

      girishG 1 Reply Last reply
      0
      • N natzilla

        @girish It looks like there might be a miss representation on the graphs? d9e8cbad-1aa4-45e9-8302-1543d420ffcc-image.png
        12f1d5df-1b78-4eee-a258-7859cec9777f-image.png
        My performance appears to be ok for moment on it. so my correlation might be off in terms of my issue, but I think here it might be not picking up the correct ram usages. What do you think?

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #10

        @natzilla Can you post the output of docker stats on the server ? Just the jellyfin container output should be enough. Maybe something going wrong with the parsing.

        N 1 Reply Last reply
        0
        • girishG girish

          @natzilla Can you post the output of docker stats on the server ? Just the jellyfin container output should be enough. Maybe something going wrong with the parsing.

          N Offline
          N Offline
          natzilla
          wrote on last edited by
          #11

          @girish Here you are

          CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
          2058a37598b0 7d771f27-4c9e-48ff-b0ff-3c742305adb3 2.28% 27.12GiB / 29.12GiB 93.14% 1.01GB / 263GB 132GB / 65.5GB 56

          girishG 1 Reply Last reply
          0
          • nebulonN nebulon referenced this topic on
          • N natzilla

            @girish Here you are

            CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
            2058a37598b0 7d771f27-4c9e-48ff-b0ff-3c742305adb3 2.28% 27.12GiB / 29.12GiB 93.14% 1.01GB / 263GB 132GB / 65.5GB 56

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #12

            @natzilla Was trying to check if we hit some parsing error in the code. Can you give me the output of docker stats --format "{{ json . }}" --no-stream --no-trunc | grep 2058a37598b0 ?

            N 1 Reply Last reply
            0
            • girishG girish

              @natzilla Was trying to check if we hit some parsing error in the code. Can you give me the output of docker stats --format "{{ json . }}" --no-stream --no-trunc | grep 2058a37598b0 ?

              N Offline
              N Offline
              natzilla
              wrote on last edited by
              #13

              @girish as requested

              {"BlockIO":"171GB / 83.4GB","CPUPerc":"0.14%","Container":"2058a37598b0","ID":"2058a37598b013a36a5a3d05a362e96dc4ad212dec1d5db162e372979bc47c38","MemPerc":"84.77%","MemUsage":"24.68GiB / 29.12GiB","Name":"7d771f27-4c9e-48ff-b0ff-3c742305adb3","NetIO":"1.27GB / 410GB","PIDs":"57"}

              girishG 1 Reply Last reply
              1
              • N natzilla

                @girish as requested

                {"BlockIO":"171GB / 83.4GB","CPUPerc":"0.14%","Container":"2058a37598b0","ID":"2058a37598b013a36a5a3d05a362e96dc4ad212dec1d5db162e372979bc47c38","MemPerc":"84.77%","MemUsage":"24.68GiB / 29.12GiB","Name":"7d771f27-4c9e-48ff-b0ff-3c742305adb3","NetIO":"1.27GB / 410GB","PIDs":"57"}

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #14

                @natzilla So, the values in the graph come from the json you posted. Specifically "MemUsage":"24.68GiB / 29.12GiB" . (memory used / memory max) . This sort of matches what's displayed in the graph.

                N 1 Reply Last reply
                0
                • girishG girish

                  @natzilla So, the values in the graph come from the json you posted. Specifically "MemUsage":"24.68GiB / 29.12GiB" . (memory used / memory max) . This sort of matches what's displayed in the graph.

                  N Offline
                  N Offline
                  natzilla
                  wrote on last edited by
                  #15

                  @girish ok, it must really be using that much then. Seems pretty crazy, but I will check with Jellfin devs regarding this.

                  1 Reply Last reply
                  0
                  • robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by
                    #16

                    what host are you running your VPS on?

                    Conscious tech

                    N 1 Reply Last reply
                    0
                    • robiR robi

                      what host are you running your VPS on?

                      N Offline
                      N Offline
                      natzilla
                      wrote on last edited by
                      #17

                      @robi Cloudron and all the apps run on a R720XD

                      robiR 1 Reply Last reply
                      0
                      • N natzilla

                        @robi Cloudron and all the apps run on a R720XD

                        robiR Offline
                        robiR Offline
                        robi
                        wrote on last edited by
                        #18

                        @natzilla I was asking who the provider was, as sometimes they have a virtualization platform that can cause this as a way to reclaim memory for the underlying host from hungry VMs, etc.

                        Conscious tech

                        N 1 Reply Last reply
                        0
                        • robiR robi

                          @natzilla I was asking who the provider was, as sometimes they have a virtualization platform that can cause this as a way to reclaim memory for the underlying host from hungry VMs, etc.

                          N Offline
                          N Offline
                          natzilla
                          wrote on last edited by
                          #19

                          @robi I'm not hosting it in the cloud. Sorry I should have made that clear.

                          robiR 1 Reply Last reply
                          0
                          • N natzilla

                            @robi I'm not hosting it in the cloud. Sorry I should have made that clear.

                            robiR Offline
                            robiR Offline
                            robi
                            wrote on last edited by
                            #20

                            @natzilla ok, so it's on a bare metal server with no virtualization layer in between.

                            Conscious tech

                            N 1 Reply Last reply
                            0
                            • robiR robi

                              @natzilla ok, so it's on a bare metal server with no virtualization layer in between.

                              N Offline
                              N Offline
                              natzilla
                              wrote on last edited by
                              #21

                              @robi You are correct, poweredge r720xd

                              robiR 1 Reply Last reply
                              0
                              • N natzilla

                                @robi You are correct, poweredge r720xd

                                robiR Offline
                                robiR Offline
                                robi
                                wrote on last edited by
                                #22

                                @natzilla DELLicious. Thanks for ruling out the middleware.

                                Definitely points to an upstream issue not cleaning up.

                                Conscious tech

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Bookmarks
                                • Search