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. Discuss
  3. Troubleshooting performance spikes and script-induced app restarts on Cloudron?

Troubleshooting performance spikes and script-induced app restarts on Cloudron?

Scheduled Pinned Locked Moved Discuss
2 Posts 2 Posters 11 Views 2 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.
  • A Offline
    A Offline
    asil87
    wrote last edited by
    #1

    I've been using Cloudron for a while now to manage a handful of production apps (mostly Nextcloud and a few custom LAMP instances), and for the most part, it’s been incredibly stable. However, I’ve recently run into a strange issue where specific background execution tasks seem to be causing my apps to hit their OOM (Out of Memory) limits and restart unexpectedly. It’s particularly frustrating because the RAM usage doesn't look that high in the dashboard graphs, but the "Events" log shows the app being killed right when my external automation kicks in.

    I’ve already tried bumping up the memory limit in the app settings, but it feels like there’s a conflict between the Cloudron supervisor and how I'm handling these script injections. I actually tried a roblox modified approach to my execution flow to see if a more modular script handler would lower the overhead, but I’m still seeing these intermittent "heartbeat" failures during the handshake process.

    Has anyone else here dealt with apps restarting due to external script calls or automated cron tasks? I’m trying to figure out if I need to move this logic into a separate worker container or if there’s a way to tune the internal OOM killer to be less aggressive during peak execution windows. I’d really appreciate any advice on how to keep the environment from crashing whenever the background task load spikes, as it’s making my automated backups and data syncs a bit of a gamble.

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

      Not knowing what your scripts do, it's difficult.

      If they do many things, can you slow them down and serialize them or chunk them into smaller pieces that need less memory to run?

      Conscious tech

      1 Reply Last reply
      1

      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