Mongodb修补程序KB2731284 [英] Mongodb hotfix KB2731284

查看:124
本文介绍了Mongodb修补程序KB2731284的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在windows server 2008 R2上安装了MongoDb,但未安装hotfix KB2731284,但是我无法轻松地重新启动服务器.

I installed MongoDb on a windows server 2008 R2 and the hotfix KB2731284 is not installed, but I cannot restart the server easily.

hotfix描述中,我收到此消息您运行的应用程序使用FlushViewOfFile()函数从页面内存池中清除内存映射文件." (请参见 https://support.microsoft.com/en-us/kb/2731284)

In the hotfix description, I got this message "You run an application that uses the FlushViewOfFile() function to clean up memory-mapped files from the paged memory pool." (see https://support.microsoft.com/en-us/kb/2731284)

我的问题是,何时调用功能FlushViewOfFile()?我的应用程序只是写在一个集合中并从中获取数据.我是否有冒犯某些错误行为的风险?

My question is, when the funtion FlushViewOfFile() is called? My application is just writing in a collection and get data from it. Do I risk to get some wrong behaviors?

推荐答案

我认为您可以在不应用此修补程序的情况下运行MongoDb,但我不建议这样做.长期以来,您可能会遇到问题.他们在MongoDB中提供了一些修复程序来解决该问题.

I think you can run MongoDb without applying the Hotfix, but I would not recommend it. In long time you may run into problems. They have included some fixes in MongoDB to workaround the problem.

可以在此处另请参见.

在Windows上,内存映射文件"刷新是同步操作.当要求OS虚拟内存管理器刷新内存映射文件时,它将向OS中的文件缓存管理器发出同步写入请求.这会在具有高磁盘IO延迟的Windows系统上导致大量的I/O停顿,而在Linux上,这些写操作是异步的.

On Windows, Memory Mapped File flushes are synchronous operations. When the OS Virtual Memory Manager is asked to flush a memory mapped file, it makes a synchronous write request to the file cache manager in the OS. This causes large I/O stalls on Windows systems with high Disk IO latency, while on Linux the same writes are asynchronous.

对于像Azure持久性存储(10ms)这样的高延迟磁盘驱动器,问题变得尤为严重.此行为导致非常长的bg刷新时间,将磁盘IOPS限制为100.在低延迟存储(本地存储和AWS)上,问题并不明显.

The problem becomes critical on high-latency disk drives like Azure persistent storage (10ms). This behavior results in very long bg flush times, capping disk IOPS at 100. On low latency storage (local storage and AWS) the problem is not that visible.

在Windows 7和Windows Server 2008 R2上应用此修补程序时,您可以获得更好的文件分配性能,这与MongoDB有关

On Windows 7 and Windows Server 2008 R2 when applying the hotfix you get a better file allocation performance what is relevant for MongoDB

这篇关于Mongodb修补程序KB2731284的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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