After Celery deployment, memory usage and network egress has gone up.

manishgotame
HOBBY

15 days ago

After adding celery,

  • My Memory usage is all time high, including the network egress.

So I disabled celery again but the usage is still very high. what is the cause for this? Any help is appreciated.

Solved$10 Bounty

3 Replies

Railway
BOT

15 days ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


14 days ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 14 days ago


idiegea21
HOBBYTop 10% Contributor

13 days ago

heyyyy,

High memory and network egress after adding Celery could mean background tasks or workers are still running even if you disabled it. Check if any Celery processes or containers are still active, and restart your service to fully stop them. Also review logs to see if something else is triggering ongoing traffic.


manishgotame
HOBBY

6 days ago

Thank you! I think you're right. It was probably the case of having some background tasks that kept running for days because I had not set soft_time_limit . After reading your comment and doing some research, I separated the celery into a separate service, added the time limits and made it serverless too. The network egress and the high memory consumption issue has been resolved.


Status changed to Solved uxuz 6 days ago


After Celery deployment, memory usage and network egress has gone up. - Railway Help Station