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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Linkwarden
  3. chrome-headless zombie processes

chrome-headless zombie processes

Scheduled Pinned Locked Moved Linkwarden
7 Posts 5 Posters 597 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.
  • fbartelsF Offline
    fbartelsF Offline
    fbartels
    App Dev
    wrote on last edited by fbartels
    #1

    Hi,
    I am currently debugging a wordpress installation which seems to drag my server down. While debugging i noticed that i had quite some zombie processes which seem to originate from the Linkwarden app. Has anybody else observed something similar?

    You can see if you have any by running ps -eo pid,ppid,stat,comm | grep '^.* Z'?

    1 Reply Last reply
    0
    • necrevistonnezrN Offline
      necrevistonnezrN Offline
      necrevistonnezr
      wrote on last edited by necrevistonnezr
      #2

      Yep, the same here, 126 zombie processes:

      ps -eo pid,ppid,stat,comm | grep '^.* Z'
      1284559  573613 Z    chrome
      2434952 2434670 Z    chrome-headless
      2434953 2434670 Z    chrome-headless
      2439391 2434670 Z    chrome-headless
      2439392 2434670 Z    chrome-headless
      2448245 2434670 Z    chrome-headless
      2448246 2434670 Z    chrome-headless
      2535715 2434670 Z    chrome-headless
      2535716 2434670 Z    chrome-headless
      2540346 2434670 Z    chrome-headless
      2540347 2434670 Z    chrome-headless
      2544561 2434670 Z    chrome-headless
      2544562 2434670 Z    chrome-headless
      2549203 2434670 Z    chrome-headless
      2549204 2434670 Z    chrome-headless
      2553805 2434670 Z    chrome-headless
      2553806 2434670 Z    chrome-headless
      2558888 2434670 Z    chrome-headless
      2558889 2434670 Z    chrome-headless
      2563340 2434670 Z    chrome-headless
      2563341 2434670 Z    chrome-headless
      2568025 2434670 Z    chrome-headless
      2568026 2434670 Z    chrome-headless
      2572565 2434670 Z    chrome-headless
      2572566 2434670 Z    chrome-headless
      2576961 2434670 Z    chrome-headless
      2576962 2434670 Z    chrome-headless
      2581375 2434670 Z    chrome-headless
      2581376 2434670 Z    chrome-headless
      2621371 2434670 Z    chrome-headless
      2621373 2434670 Z    chrome-headless
      2667593 2434670 Z    chrome-headless
      2667594 2434670 Z    chrome-headless
      2672464 2434670 Z    chrome-headless
      2672465 2434670 Z    chrome-headless
      2676666 2434670 Z    chrome-headless
      2676667 2434670 Z    chrome-headless
      2684143 2434670 Z    chrome-headless
      2684144 2434670 Z    chrome-headless
      2688747 2434670 Z    chrome-headless
      2688748 2434670 Z    chrome-headless
      2693221 2434670 Z    chrome-headless
      2693222 2434670 Z    chrome-headless
      2697664 2434670 Z    chrome-headless
      2697665 2434670 Z    chrome-headless
      2702339 2434670 Z    chrome-headless
      2702340 2434670 Z    chrome-headless
      2706915 2434670 Z    chrome-headless
      2706916 2434670 Z    chrome-headless
      2711296 2434670 Z    chrome-headless
      2711297 2434670 Z    chrome-headless
      2715849 2434670 Z    chrome-headless
      2715850 2434670 Z    chrome-headless
      2721351 2434670 Z    chrome-headless
      2721352 2434670 Z    chrome-headless
      2725678 2434670 Z    chrome-headless
      2725679 2434670 Z    chrome-headless
      2730832 2434670 Z    chrome-headless
      2730833 2434670 Z    chrome-headless
      2735034 2434670 Z    chrome-headless
      2735035 2434670 Z    chrome-headless
      2740108 2434670 Z    chrome-headless
      2740109 2434670 Z    chrome-headless
      2744687 2434670 Z    chrome-headless
      2744688 2434670 Z    chrome-headless
      2749550 2434670 Z    chrome-headless
      2749551 2434670 Z    chrome-headless
      2753939 2434670 Z    chrome-headless
      2753940 2434670 Z    chrome-headless
      2758552 2434670 Z    chrome-headless
      2758553 2434670 Z    chrome-headless
      2763169 2434670 Z    chrome-headless
      2763170 2434670 Z    chrome-headless
      2767550 2434670 Z    chrome-headless
      2767551 2434670 Z    chrome-headless
      2771957 2434670 Z    chrome-headless
      2771958 2434670 Z    chrome-headless
      2853959 2434670 Z    chrome-headless
      2853960 2434670 Z    chrome-headless
      2858291 2434670 Z    chrome-headless
      2858292 2434670 Z    chrome-headless
      2863010 2434670 Z    chrome-headless
      2863011 2434670 Z    chrome-headless
      2867235 2434670 Z    chrome-headless
      2867236 2434670 Z    chrome-headless
      2871813 2434670 Z    chrome-headless
      2871814 2434670 Z    chrome-headless
      2876390 2434670 Z    chrome-headless
      2876391 2434670 Z    chrome-headless
      2880780 2434670 Z    chrome-headless
      2880781 2434670 Z    chrome-headless
      2885178 2434670 Z    chrome-headless
      2885179 2434670 Z    chrome-headless
      2889765 2434670 Z    chrome-headless
      2889766 2434670 Z    chrome-headless
      2894335 2434670 Z    chrome-headless
      2894336 2434670 Z    chrome-headless
      2899002 2434670 Z    chrome-headless
      2899003 2434670 Z    chrome-headless
      2903485 2434670 Z    chrome-headless
      2903486 2434670 Z    chrome-headless
      2908861 2434670 Z    chrome-headless
      2908862 2434670 Z    chrome-headless
      2999640 2434670 Z    chrome-headless
      2999641 2434670 Z    chrome-headless
      3004238 2434670 Z    chrome-headless
      3004239 2434670 Z    chrome-headless
      3008485 2434670 Z    chrome-headless
      3008486 2434670 Z    chrome-headless
      3013017 2434670 Z    chrome-headless
      3013018 2434670 Z    chrome-headless
      3017664 2434670 Z    chrome-headless
      3017665 2434670 Z    chrome-headless
      3022012 2434670 Z    chrome-headless
      3022013 2434670 Z    chrome-headless
      3026560 2434670 Z    chrome-headless
      3026561 2434670 Z    chrome-headless
      3031199 2434670 Z    chrome-headless
      3031200 2434670 Z    chrome-headless
      3035771 2434670 Z    chrome-headless
      3035772 2434670 Z    chrome-headless
      3040113 2434670 Z    chrome-headless
      3040114 2434670 Z    chrome-headless
      3044619 2434670 Z    chrome-headless
      3044620 2434670 Z    chrome-headless
      3047759  573613 Z    chrome
      3127211 2434670 Z    chrome-headless
      3127212 2434670 Z    chrome-headless
      

      After stopping the Linkwarden app:

      ps -eo pid,ppid,stat,comm | grep '^.* Z'
      1284559  573613 Z    chrome
      3047759  573613 Z    chrome
      
      1 Reply Last reply
      1
      • robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #3

        How much memory is default?

        Any OOM messages in the logs?

        Conscious tech

        1 Reply Last reply
        0
        • jamesJ Online
          jamesJ Online
          james
          Staff
          wrote on last edited by
          #4

          This might be a known issue: https://github.com/prerender/prerender/issues/539

          necrevistonnezrN 1 Reply Last reply
          0
          • jamesJ james

            This might be a known issue: https://github.com/prerender/prerender/issues/539

            necrevistonnezrN Offline
            necrevistonnezrN Offline
            necrevistonnezr
            wrote on last edited by
            #5

            @james said in chrome-headless zombie processes:

            This might be a known issue: https://github.com/prerender/prerender/issues/539

            That’s an issue from 2018?!

            1 Reply Last reply
            0
            • girishG Do not disturb
              girishG Do not disturb
              girish
              Staff
              wrote on last edited by girish
              #6

              Linkwarden uses playwright internally to create an archive. There's some issues in playwright around this like:

              • https://github.com/microsoft/playwright/issues/34190
              • https://github.com/microsoft/playwright-java/issues/876
              • https://github.com/microsoft/playwright-python/issues/984
              • https://github.com/windmill-labs/windmill/issues/6048

              There is no definitive answer afaict but it seems a workaround is have docker container run dumb init which cleans up the zombies .

              Unrelated: Seem there is MAX_WORKERS (default unlimited). The default app memory limit is 1GB .

              1 Reply Last reply
              0
              • girishG Do not disturb
                girishG Do not disturb
                girish
                Staff
                wrote on last edited by
                #7

                I added dumb-init to the package. I can't reproduce the issue myself, so no idea if this is going to work - https://git.cloudron.io/packages/linkwarden-app/-/merge_requests/55

                1 Reply Last reply
                2

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better đŸ’—

                Register Login
                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