If you ask more effectively, you can provide the version information of MongoDB and pymongo and the log information of MongoDB.
If your mongodb and python programs are running in a CMD window, you can try running these two things in two different CMDs to see if you can avoid crashes.
If you ask more effectively, you can provide the version information of MongoDB and pymongo and the log information of MongoDB.
If your mongodb and python programs are running in a CMD window, you can try running these two things in two different CMDs to see if you can avoid crashes.