Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: can't start new thread #4568

Open
Waylon-Firework opened this issue Sep 2, 2024 · 2 comments
Open

RuntimeError: can't start new thread #4568

Waylon-Firework opened this issue Sep 2, 2024 · 2 comments

Comments

@Waylon-Firework
Copy link

[root@iZuf68hx5ixwng3gfelqm6Z ~]# docker logs -f flagsmith
Traceback (most recent call last):
  File "/app/manage.py", line 17, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/task_processor/management/commands/runprocessor.py", line 83, in handle
    thread.start()
  File "/usr/lib/python3.11/threading.py", line 964, in start
    _start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread
@Waylon-Firework
Copy link
Author

I fixed the issue by adding the "privileged: true" to the docker-compose.

I don't know the reason for this error.

@matthewelwell
Copy link
Contributor

Hi @Waylon-Firework , in future please use the templates provided when creating issues. The information given here is not sufficient for us to be able to investigate this. Please provide further details about how to reproduce. Specifically, we need information about your deployment environment, and a copy of your docker-compose file. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants