MongoDB goes down due to small paging file size

472 views
Skip to first unread message

Vishesh Singhal

unread,
Sep 14, 2015, 4:33:58 PM9/14/15
to mongodb-user
Hi,

We are using MongoDB version 2.4.9 and one of our cluster server is having issues with the MongoDB service as it goes down suddenly and found below error as:

[repl writer worker 5] VirtualProtect for E:/MongoDB/data/db/test.78 chunk 15268 failed with errno:1455 The paging file is too small for this operation to complete. (chunk size is 67108864, address is ee90000000) in mongo::makeChunkWritable, terminating


Environment: Windows Server 2012 Standard (64-bit Operating System)
RAM: 32GB
PageFile Size: 4GB


Can you please confirm me what should be the pagefile size for mongoDB operations.

Regards,
Vishesh

Stephen Steneker

unread,
Sep 15, 2015, 12:15:41 AM9/15/15
to mongodb-user
Hi Vishesh,

What's the total size of your dbpath? It's likely you need a larger page file size to accommodate your deployment:
 http://docs.mongodb.org/master/administration/production-notes/#configure-windows-page-file-for-mmapv1

As mentioned in the production notes, the recommendation is for a fixed page file size of at least 32GB with identical minimum and maximum sizes (since dynamic page sizing is too slow for an active deployment).

I would also recommend upgrading from 2.4.9 to the latest 2.4.x production release (currently 2.4.14) as there have been a number of important stability & security fixes:
 http://docs.mongodb.org/master/release-notes/2.4/

Regards,
Stephen
Reply all
Reply to author
Forward
0 new messages