Hi Jim
I have a scala process that writes a lot of data to mongo. Periodically, the database interface (shell) will freeze up.
How much data are you writing? If I have to guess, I would think that the issue has nothing to do with locking. Rather, you’re writing more data than what your hardware can handle. WiredTiger would need to write all that data into disk, so it is possible that the stalls you’re observing is WiredTiger waiting for the disk to finish writing.
If this is correct, you should see:
iostat
used
column in mongostatIf you have further question, could you post:
db.serverCmdLineOpts()
iostat
and mongostat
during this stall periodBest regards
Kevin