Linux kernel version for mongoDB 3.2

76 views
Skip to first unread message

thomas....@prowebce.com

unread,
Feb 5, 2016, 7:01:28 AM2/5/16
to mongodb-user
Hi everybody,

I have to install MongoDB 3.2 in production with replication. This will not be a very big database, less than 1T. At my work ours servers are centos 6 on openVZ containers. The problem is that the last kernel available with openVZ is 2.6.32 based and MongoDB recommandes the linux kernel version 2.6.36 or later.

Is there anyone who already have installed the MongoDB 3.2 in kernel older than 2.6.36 and do you think it is very important to have 2.6.36 or later ? 


Thanks,

Thomas

Stephen Steneker

unread,
Feb 6, 2016, 6:11:04 PM2/6/16
to mongodb-user
On Friday, 5 February 2016 23:01:28 UTC+11, thomas.jalabert wrote:
I have to install MongoDB 3.2 in production with replication. This will not be a very big database, less than 1T. At my work ours servers are centos 6 on openVZ containers. The problem is that the last kernel available with openVZ is 2.6.32 based and MongoDB recommandes the linux kernel version 2.6.36 or later.

Is there anyone who already have installed the MongoDB 3.2 in kernel older than 2.6.36 and do you think it is very important to have 2.6.36 or later ? 

Hi Thomas,

The MongoDB production notes recommend the 2.6.36 Linux kernel as a general minimum, but there is a table below with distro-specific suggestions.

The RHEL/CentOS kernel versions can be somewhat misleading as these distros use older baseline kernel versions and backport newer fixes using their own subversioning scheme. The minimum RHEL 6 kernel recommendation is  2.6.32-71.

I assume you are asking because of the OpenVZ startup warning in MongoDB; this only warns that kernels older than RHEL6 have known issues. For some background on the warning, see discussion on SERVER-1121 and linked issues.

Regards,
Stephen

thomas....@prowebce.com

unread,
Feb 8, 2016, 6:23:44 AM2/8/16
to mongodb-user
Hi Stephen,

Thank you very much for you answer. It was very useful.
you are right, our proxmox kernel version is 2.6.32-37-pve, and it corresponds at the 2.6.32-147 --> our kernel is younger than 2.6.32-71 so we can install mongoDB on openVZ container.

Have a good day,
Thomas
Reply all
Reply to author
Forward
0 new messages