MongoDB Locking Issue

Hello, I send my requests to the MongoDB server through Prisma, and everything works very normally during the day without any issues. But mostly at night, around midnight to noon (Iran time), this problem occurs where MongoDB seems to lock up and does not perform any operations. I have tested this both with mongosh and Mongo Compass, but the problem still exists. Also, I have not set any specific event or task to run at night, and I don’t do anything special during that time. I am also fairly sure that memory and CPU usage are not low.
3 Replies
Prisma AI Help
You decided to hold for human wisdom. We'll chime in soon! Meanwhile, #ask-ai is there if you need a quick second opinion.
Nurul
Nurul4w ago
Hey! Does this happen in latest prisma version - 6.13.0?
RezaNajafian
RezaNajafianOP2w ago
I don’t think it’s a Prisma issue — I just asked a bunch of questions because there’s nowhere for MongoDB help and nobody’s helping. Do you know which cache extension is better and more practical? I’m using a single MongoDB server as a single-node replica set for Prisma. find works fine, but update, delete, and replace operations hang until I restart MongoDB. The oplog is almost full. How can I prevent Prisma writes from hanging in this setup?

Did you find this page helpful?