You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using BullMQ 2 without any problems for a few months now. Earlier today, I updated to BullMQ 3.2 and quickly started running out of memory on my worker machines. After digging around a bit, I noticed that the output of ps -ef shows hundreds of these lines:
Digging around the Issues section, it seems that this might be related to the fact that I'm using sandboxed workers. 🤷🏻♂️
I'm happy to provide more information but, candidly, I'm still getting my bearings with the problem itself. Any chance this is something others are experiencing recently?
The text was updated successfully, but these errors were encountered:
There are no changes related to sandboxed workers between v2 and v3, maybe it is a coincidence and the error was in v2 too but you did not noticed it until now?
Thank you for the response. As I was looking at the various commits on this repo, I came to the conclusion that this must be something in my own code...
Turns out, I had added a new worker yesterday and didn't properly handle errors within that specific sandboxed worker. For whatever reason, that caused thousands of child process to pile up. Once I commented out yesterday's new worker, everything went back to normal.
Closing this issue for now -- apologies for the scramble!
It would be interesting to see which code produces such behavior anyway, so if you can give a short example of what would produce all those processes I can look deeper into it.
I've been using BullMQ 2 without any problems for a few months now. Earlier today, I updated to BullMQ 3.2 and quickly started running out of memory on my worker machines. After digging around a bit, I noticed that the output of
ps -ef
shows hundreds of these lines:/usr/bin/node /home//***********/releases/20221110041353516/node_modules/bullmq/dist/cjs/classes/master.js
Digging around the Issues section, it seems that this might be related to the fact that I'm using sandboxed workers. 🤷🏻♂️
I'm happy to provide more information but, candidly, I'm still getting my bearings with the problem itself. Any chance this is something others are experiencing recently?
The text was updated successfully, but these errors were encountered: