Please enable JS

SVEN BOESIGER'S WEBLOG


MongoDB: Too many open files under Ubuntu 15.04

/ Sven Boesiger / MongoDB, Ubuntu

Lately I had troubles with MongoDB after my database exceeded 2TB and started to constantly complaining about “too many open files“. In order to fix this issue I appended the following lines to “/lib/systemd/system/mongodb.service”: [Service] # Other directives omitted # (file size) LimitFSIZE=infinity # (cpu time) LimitCPU=infinity # (virtual memory size) LimitAS=infinity # (open files) […]

READ MORE