服务器实例池被破坏 [英] server instance pool was destroyed

查看:68
本文介绍了服务器实例池被破坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写了一个日志服务,nodejs + mongo(mongoose),然后运行了一段时间(7、8小时),将出现服务器实例池被销毁"错误,poolsize设置为2000.

I Wrote a log service, nodejs + mongo (mongoose), then run for a period of time (7, 8 hours), there will be "server instance pool was destroyed" error, poolsize set to 2000.

推荐答案

当您不小心在客户端数据库上调用'close()',然后尝试访问查询集合时,就会发生这种情况

this happens when you accidentally call 'close()' on your client database and then try to access a collection for a query

这篇关于服务器实例池被破坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆