0
We started a project with mongodb, at the time testing the Wiredtiger engine. This engine proved to be more interesting due to compressing the data much more than mmapv1. However, sometimes mongodb simply falls. Thus, we tested mmapv1, which, despite not compressing both the data and Wired, solved the problem of falls: mongodb did not fall anymore. Thus, we ended up opting for the use of mmapv1 itself.
For curiosity: who chose the wiredtiger engine,
- had no problems of mongodb falling frequently?
- If so, as you have resolved?
I have been running a Mongodb installation (3.4) with Wiredtiger for about a year. In that year the only times the bank was out were in scheduled maintenance of hardware or electrical maintenance (the infrastructure is proper). Did you ever dig deeper into the database logs to verify the cause of the crash? Which version did you use?
– Jorge C. Bernhard Tautz
Jorge, at the time the version we tested of Mongo was 3.4.2. And as for checking log, it didn’t save anything in log when it stopped. The service simply drops. Out of curiosity, which filesystem you use in the OS: Ext4 or XFS ?
– Paulo Luvisoto
It is Ext4. I didn’t ask about the log because it wrote something at the time of the stop, but before that, how many connections were open before the bank went down? you had a lot of writing? a lot of reading? he was using a lot of processor? These are things that can tell you why you fell.
– Jorge C. Bernhard Tautz