My first ever app in production state - strange (to me) warning (MongoDB - Ubuntu)












0















I finally got my first ever project into production.



I've got a VPS with OpenVZ6 (RHEL6, 2.6.32, Ubuntu 16.04).



I'm trying to use the MongoDB guide for production. I've got past all the warnings and I prepared it for production, yet I still get one strange (to me) warning.



2019-01-09T07:44:21.072-0500 I STORAGE  [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2019-01-09T07:44:21.072-0500 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
2019-01-09T07:44:21.072-0500 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1536M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),


I tried to check that link and I saw this:



With the WiredTiger storage engine, using XFS is strongly recommended for data 
bearing nodes to avoid performance issues that may occur when using EXT4 with WiredTiger.


Now I don't know what I have to do. What is this XFS? Do I have to install anything, change some MongoDB file?



Basically, my question is: what does that mean and what can I do to stop getting that warning?



Thanks.










share|improve this question























  • Have you done some reading on the subject? For example the first Google result I found: scalegrid.io/blog/… -- you may want to think about changing the file system for that host.

    – slhck
    Jan 9 at 13:09











  • I really did and I didn't really got what it's all about. I kind of got it, that's why I specified the kernel, linux version and everything si you could help me if I can do this. (for example, I was told I can't change the kernel)

    – Andrei Daniel
    Jan 9 at 13:11
















0















I finally got my first ever project into production.



I've got a VPS with OpenVZ6 (RHEL6, 2.6.32, Ubuntu 16.04).



I'm trying to use the MongoDB guide for production. I've got past all the warnings and I prepared it for production, yet I still get one strange (to me) warning.



2019-01-09T07:44:21.072-0500 I STORAGE  [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2019-01-09T07:44:21.072-0500 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
2019-01-09T07:44:21.072-0500 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1536M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),


I tried to check that link and I saw this:



With the WiredTiger storage engine, using XFS is strongly recommended for data 
bearing nodes to avoid performance issues that may occur when using EXT4 with WiredTiger.


Now I don't know what I have to do. What is this XFS? Do I have to install anything, change some MongoDB file?



Basically, my question is: what does that mean and what can I do to stop getting that warning?



Thanks.










share|improve this question























  • Have you done some reading on the subject? For example the first Google result I found: scalegrid.io/blog/… -- you may want to think about changing the file system for that host.

    – slhck
    Jan 9 at 13:09











  • I really did and I didn't really got what it's all about. I kind of got it, that's why I specified the kernel, linux version and everything si you could help me if I can do this. (for example, I was told I can't change the kernel)

    – Andrei Daniel
    Jan 9 at 13:11














0












0








0








I finally got my first ever project into production.



I've got a VPS with OpenVZ6 (RHEL6, 2.6.32, Ubuntu 16.04).



I'm trying to use the MongoDB guide for production. I've got past all the warnings and I prepared it for production, yet I still get one strange (to me) warning.



2019-01-09T07:44:21.072-0500 I STORAGE  [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2019-01-09T07:44:21.072-0500 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
2019-01-09T07:44:21.072-0500 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1536M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),


I tried to check that link and I saw this:



With the WiredTiger storage engine, using XFS is strongly recommended for data 
bearing nodes to avoid performance issues that may occur when using EXT4 with WiredTiger.


Now I don't know what I have to do. What is this XFS? Do I have to install anything, change some MongoDB file?



Basically, my question is: what does that mean and what can I do to stop getting that warning?



Thanks.










share|improve this question














I finally got my first ever project into production.



I've got a VPS with OpenVZ6 (RHEL6, 2.6.32, Ubuntu 16.04).



I'm trying to use the MongoDB guide for production. I've got past all the warnings and I prepared it for production, yet I still get one strange (to me) warning.



2019-01-09T07:44:21.072-0500 I STORAGE  [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2019-01-09T07:44:21.072-0500 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
2019-01-09T07:44:21.072-0500 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1536M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),


I tried to check that link and I saw this:



With the WiredTiger storage engine, using XFS is strongly recommended for data 
bearing nodes to avoid performance issues that may occur when using EXT4 with WiredTiger.


Now I don't know what I have to do. What is this XFS? Do I have to install anything, change some MongoDB file?



Basically, my question is: what does that mean and what can I do to stop getting that warning?



Thanks.







linux ubuntu mongodb






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 9 at 12:58









Andrei DanielAndrei Daniel

31




31













  • Have you done some reading on the subject? For example the first Google result I found: scalegrid.io/blog/… -- you may want to think about changing the file system for that host.

    – slhck
    Jan 9 at 13:09











  • I really did and I didn't really got what it's all about. I kind of got it, that's why I specified the kernel, linux version and everything si you could help me if I can do this. (for example, I was told I can't change the kernel)

    – Andrei Daniel
    Jan 9 at 13:11



















  • Have you done some reading on the subject? For example the first Google result I found: scalegrid.io/blog/… -- you may want to think about changing the file system for that host.

    – slhck
    Jan 9 at 13:09











  • I really did and I didn't really got what it's all about. I kind of got it, that's why I specified the kernel, linux version and everything si you could help me if I can do this. (for example, I was told I can't change the kernel)

    – Andrei Daniel
    Jan 9 at 13:11

















Have you done some reading on the subject? For example the first Google result I found: scalegrid.io/blog/… -- you may want to think about changing the file system for that host.

– slhck
Jan 9 at 13:09





Have you done some reading on the subject? For example the first Google result I found: scalegrid.io/blog/… -- you may want to think about changing the file system for that host.

– slhck
Jan 9 at 13:09













I really did and I didn't really got what it's all about. I kind of got it, that's why I specified the kernel, linux version and everything si you could help me if I can do this. (for example, I was told I can't change the kernel)

– Andrei Daniel
Jan 9 at 13:11





I really did and I didn't really got what it's all about. I kind of got it, that's why I specified the kernel, linux version and everything si you could help me if I can do this. (for example, I was told I can't change the kernel)

– Andrei Daniel
Jan 9 at 13:11










1 Answer
1






active

oldest

votes


















0














The warning is about the file system; it tells you that your current file system (ext4) may not perform as well as another (XFS) for the typical use case of MongoDB, which is reading and storing a lot of small data:




When running MongoDB in production on Linux, you should use [...] the XFS or EXT4 filesystem. If possible, use XFS as it generally performs better with MongoDB.




There are a few performance comparisons out there, like this one.



Whether you should choose one over the other depends on your hardware performance and performance requirements. You should ideally test the system under load and see which one performs better.



You may also decide to ignore the warning and just move on, if you think that performance is good enough.



I should add: if you are manging a production server, but are currently having difficulties understanding what the warning means, I'd recommend being very careful and double-checking with system administrators or DevOps experts. You can screw up a lot if you're not properly managing a production system, from slow performance to critical security issues.



Make sure you read the MongoDB security checklist.






share|improve this answer
























  • Got it. As I understand I have to change my whole VPS' file system to XFS. (am I right?). If yes, would that be okay or not?

    – Andrei Daniel
    Jan 9 at 17:10











  • That would be the solution, but I am not sure if a VPS would actually make that possible. Depends on the provider. In fact I'd say you should be fine leaving it as is.

    – slhck
    Jan 9 at 18:19











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1392283%2fmy-first-ever-app-in-production-state-strange-to-me-warning-mongodb-ubunt%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














The warning is about the file system; it tells you that your current file system (ext4) may not perform as well as another (XFS) for the typical use case of MongoDB, which is reading and storing a lot of small data:




When running MongoDB in production on Linux, you should use [...] the XFS or EXT4 filesystem. If possible, use XFS as it generally performs better with MongoDB.




There are a few performance comparisons out there, like this one.



Whether you should choose one over the other depends on your hardware performance and performance requirements. You should ideally test the system under load and see which one performs better.



You may also decide to ignore the warning and just move on, if you think that performance is good enough.



I should add: if you are manging a production server, but are currently having difficulties understanding what the warning means, I'd recommend being very careful and double-checking with system administrators or DevOps experts. You can screw up a lot if you're not properly managing a production system, from slow performance to critical security issues.



Make sure you read the MongoDB security checklist.






share|improve this answer
























  • Got it. As I understand I have to change my whole VPS' file system to XFS. (am I right?). If yes, would that be okay or not?

    – Andrei Daniel
    Jan 9 at 17:10











  • That would be the solution, but I am not sure if a VPS would actually make that possible. Depends on the provider. In fact I'd say you should be fine leaving it as is.

    – slhck
    Jan 9 at 18:19
















0














The warning is about the file system; it tells you that your current file system (ext4) may not perform as well as another (XFS) for the typical use case of MongoDB, which is reading and storing a lot of small data:




When running MongoDB in production on Linux, you should use [...] the XFS or EXT4 filesystem. If possible, use XFS as it generally performs better with MongoDB.




There are a few performance comparisons out there, like this one.



Whether you should choose one over the other depends on your hardware performance and performance requirements. You should ideally test the system under load and see which one performs better.



You may also decide to ignore the warning and just move on, if you think that performance is good enough.



I should add: if you are manging a production server, but are currently having difficulties understanding what the warning means, I'd recommend being very careful and double-checking with system administrators or DevOps experts. You can screw up a lot if you're not properly managing a production system, from slow performance to critical security issues.



Make sure you read the MongoDB security checklist.






share|improve this answer
























  • Got it. As I understand I have to change my whole VPS' file system to XFS. (am I right?). If yes, would that be okay or not?

    – Andrei Daniel
    Jan 9 at 17:10











  • That would be the solution, but I am not sure if a VPS would actually make that possible. Depends on the provider. In fact I'd say you should be fine leaving it as is.

    – slhck
    Jan 9 at 18:19














0












0








0







The warning is about the file system; it tells you that your current file system (ext4) may not perform as well as another (XFS) for the typical use case of MongoDB, which is reading and storing a lot of small data:




When running MongoDB in production on Linux, you should use [...] the XFS or EXT4 filesystem. If possible, use XFS as it generally performs better with MongoDB.




There are a few performance comparisons out there, like this one.



Whether you should choose one over the other depends on your hardware performance and performance requirements. You should ideally test the system under load and see which one performs better.



You may also decide to ignore the warning and just move on, if you think that performance is good enough.



I should add: if you are manging a production server, but are currently having difficulties understanding what the warning means, I'd recommend being very careful and double-checking with system administrators or DevOps experts. You can screw up a lot if you're not properly managing a production system, from slow performance to critical security issues.



Make sure you read the MongoDB security checklist.






share|improve this answer













The warning is about the file system; it tells you that your current file system (ext4) may not perform as well as another (XFS) for the typical use case of MongoDB, which is reading and storing a lot of small data:




When running MongoDB in production on Linux, you should use [...] the XFS or EXT4 filesystem. If possible, use XFS as it generally performs better with MongoDB.




There are a few performance comparisons out there, like this one.



Whether you should choose one over the other depends on your hardware performance and performance requirements. You should ideally test the system under load and see which one performs better.



You may also decide to ignore the warning and just move on, if you think that performance is good enough.



I should add: if you are manging a production server, but are currently having difficulties understanding what the warning means, I'd recommend being very careful and double-checking with system administrators or DevOps experts. You can screw up a lot if you're not properly managing a production system, from slow performance to critical security issues.



Make sure you read the MongoDB security checklist.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 9 at 13:29









slhckslhck

160k47444466




160k47444466













  • Got it. As I understand I have to change my whole VPS' file system to XFS. (am I right?). If yes, would that be okay or not?

    – Andrei Daniel
    Jan 9 at 17:10











  • That would be the solution, but I am not sure if a VPS would actually make that possible. Depends on the provider. In fact I'd say you should be fine leaving it as is.

    – slhck
    Jan 9 at 18:19



















  • Got it. As I understand I have to change my whole VPS' file system to XFS. (am I right?). If yes, would that be okay or not?

    – Andrei Daniel
    Jan 9 at 17:10











  • That would be the solution, but I am not sure if a VPS would actually make that possible. Depends on the provider. In fact I'd say you should be fine leaving it as is.

    – slhck
    Jan 9 at 18:19

















Got it. As I understand I have to change my whole VPS' file system to XFS. (am I right?). If yes, would that be okay or not?

– Andrei Daniel
Jan 9 at 17:10





Got it. As I understand I have to change my whole VPS' file system to XFS. (am I right?). If yes, would that be okay or not?

– Andrei Daniel
Jan 9 at 17:10













That would be the solution, but I am not sure if a VPS would actually make that possible. Depends on the provider. In fact I'd say you should be fine leaving it as is.

– slhck
Jan 9 at 18:19





That would be the solution, but I am not sure if a VPS would actually make that possible. Depends on the provider. In fact I'd say you should be fine leaving it as is.

– slhck
Jan 9 at 18:19


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1392283%2fmy-first-ever-app-in-production-state-strange-to-me-warning-mongodb-ubunt%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀