MongoDB start gives error: Failed to open a WiredTiger cursor

Got this error on MongoDB connection.

WiredTiger error (24) [1663392808:381846][2181:0x7f650de7aa80], file:collection-21134–4134575628632678244.wt, WT_SESSION.open_cursor: _posix_open_file, 715: /var/lib/mongodb/collection-21134–4134575628632678244.wt: handle-open: open: Too many open files Raw: [1663392808:381846][2181:0x7f650de7aa80], file:collection-21134–4134575628632678244.wt, WT_SESSION.open_cursor: _posix_open_file, 715: /var/lib/mongodb/collection-21134–4134575628632678244.wt: handle-open: open: Too many open files

Hello @Swati_Sharma and welcome to the MongoDB Community forums! :wave:

It sounds like your ulimit settings are too low. Check out the documentation around this…

1 Like