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

Why I am getting 'ERROR reincarnated worker...' without any error specifics? #711

Open
igalci opened this issue Dec 12, 2022 · 2 comments
Open

Comments

@igalci
Copy link

igalci commented Dec 12, 2022

I have a function that works fine manually, but in DjangoQ it returns ERROR reincarnated worker Process-1:534 after death over and over again without giving me any specifics of what the error was?

So my question is, in what case will DjangoQ just destory the worker and not specify what error caused it?

More context, I run Django-Q in an AWS EC2, and my only suspicion is that my EC2 runs out of memory or resources during this task, and DjangoQ has no chance to explain what the error was.

Can anyone confirm? is running out of memory a reason DjangoQ will just quit like above without showing any exceptions?

@tudoanh
Copy link

tudoanh commented Feb 26, 2023

Can you resolve this issue?

@igalci
Copy link
Author

igalci commented Feb 27, 2023

Yes, this happens when the instance runs out of memory. It just shuts down the process without any explicit errors. Make sure you keep the functions efficient and below the MAX memory usage.

This was my case.

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