Windows(C#)上的MongoDB故障排除(怎么办?) [英] MongoDB troubleshooting on Windows (C#) (What to do?)

查看:74
本文介绍了Windows(C#)上的MongoDB故障排除(怎么办?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 7(32位)上使用MongoDB遇到麻烦.我对添加/删除数据进行了一些测试.因此,经过一段时间(我不知道有多少,可能是10分钟的不间断请求),MongoDB服务器仍然可以工作,但无法回答!从控制台外壳程序,我尝试了命令"show collections",但它卡住了!此时的存储大小仅为160 MB.麻烦是昨天,不是以前,而是时不时.而且只有在重启MongoDB之后,才能在下一次出现此类问题之前正常工作.帮我请检查一下什么,配置文件等.最后,MongoDB可以在64位计算机上运行,​​但是我担心,因为我不想每10-60分钟重新启动一次!!!我使用官方的C#驱动程序.

I have trouble with MongoDB on Windows 7 (32 bit). I make some tests with adding/deleting data. So after some time (i do not know how much, maybe 10 minutes of non-stopping requests) MongoDB server still works but not answers! From console shell I tried command "show collections", but it stucks! The size of storage at this moment was only 160 MBs. This trouble was yesterday and it was before not always, but from time to time. And only after restarting MongoDB works fine before next such trouble. Help me please what to check, profile, etc. Finally MongoDB will work on 64 bit machines, but I am afraid, because I do not want to restart it every 10-60 minutes!!! I use official C# driver.

谢谢您的建议!!!!!!!!!!!!!!!!!!!!!

Thank you for advices!!!!!!!!!!!!!!!!!!!!

已关闭

推荐答案

您可以观看有关在IP + 1000上运行mongodb的一些信息),因此默认情况下为 http://localhost:28017 .

You could watch some information about working mongodb on ip + 1000), so by default is http://localhost:28017.

检查与mongo服务器的打开连接数.

Check amount of opened connections to mongo server.

这篇关于Windows(C#)上的MongoDB故障排除(怎么办?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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