nosql - mongodb运行了一会儿就自动闪退是什么情况?
習慣沉默
習慣沉默 2017-05-02 09:23:35
0
1
739

RT,我写了一个爬虫抓取一些json数据然后写入mongodb存储,前面写了三万多条数据都正常(我检查过数据库里面,写入成功了),但是突然那个服务端的cmd窗口就闪退了。我线程设置的是10,电脑配置i5 4210,内存8G,是不是配置低了,还是我这种存储方式有问题,需要用到连接池?

習慣沉默
習慣沉默

reply all(1)
左手右手慢动作

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!