Skip to content

Docker: memory leak #1457

@rajeeshknambiar

Description

@rajeeshknambiar

How to reproduce the behaviour

Follow the instructions to run doccano using docker, as instructed at https://doccano.github.io/doccano/getting-started/docker, and after a while, container is stopped due to potential memory leak.

Your Environment

  • Operating System: Ubuntu 16.04 (base OS), not sure about docker version
  • Python Version Used: 3.8 (in docker), 3.5 (in base OS)
  • RAM: 4 GB
  • When you install doccano: Installation and running doccano works fine; but following message is found in docker logs -f doccano:
WARNING/MainProcess] /usr/local/lib/python3.8/site-packages/celery/fixups/django.py:203: UserWarning: Using settings.DEBUG leads to a memory leak, never use this setting in production environments!

After a while, doccano is stopped with following message in log:

/doccano/tools/run.sh: fork: Cannot allocate memory

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions