Skip to content

Eating resources and stalling #589

@holmgrendev

Description

@holmgrendev

Describe the bug

m3u-editor stalls when trying to sync, eating all the systems resources and a manual intervention is needed to stop it.

m3u- editor is not accessible during this and no other container is reachable, not even the virtual machine is accessible.

To Reproduce

Steps to reproduce the behavior:

  1. Schedule sync of a playlist once a day at 01:00

Expected behavior

Playlist should sync and then go idle

Actual behavior

Playlist starts to sync, eating almost all resources, while nothing is happening and fails(?) sync after manual intervention.

Notifications says:

  • "Error processing "x EPG"" <- due to issues with the provider, not m3u-editor.
  • "Playlist Synced"
  • "Series Sync Completed".

See screenshot for all notifications from that sync

To stop this behavior, a manual intervention such as this has to be done:

  • Rebooting virtual machine or
  • restarting Docker container or
  • Increasing RAM

Screenshots

  • After first RAM-hogging i rebooted the machine.
  • During second hogging, i increased the ram
  • Third, probably just went on for 1-2 hours
  • Fourth, (See last 24 hours for detailed) I first increased the ram, it went down. After decrease, it went up again. Tried increasing again and it went down permanent (for now).

Last week:
Image

Last 24 hours:
Image

Image

docker-compose.yml contents

services:
  m3u-editor:
    image: sparkison/m3u-editor:latest
    container_name: m3u-editor
    restart: always

    environment:
      - TZ=City/Country   # Redacted for this bug report
      - APP_URL=http://example.com # Redacted for this bug report

    volumes:
      - /path/to/data:/var/www/config   # /path/to/data redacted for this bug report

    ports:
      - 36400:36400

Container/Host Logs

No logs except the start up logs that occurred after this issue.

I checked the logs before restart and it said something like this after increasing the RAM:

Series sync error after HH:ii:ss

No stack trace or anything, everything else seemed normal

Additional context

I think it started when the provider started to have issues with the EPG

Version: v0.8.19
Docker: 29.1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions