OPNsense Forum

English Forums => Zenarmor (Sensei) => Topic started by: dinguz on September 20, 2021, 01:10:58 am

Title: mongodb warning in log file
Post by: dinguz on September 20, 2021, 01:10:58 am
I'm seeing this warning in the mongodb log file:

Code: [Select]
2021-09-20T00:51:34.619+0200 I CONTROL  [initandlisten] ** WARNING: soft rlimits too low. rlimits set to 12157 processes, 233793 files. Number of processes should be at least 116896 : 0.5 times number of files.

This limit can increased by setting a sysctl tunable: kern.maxprocperuid

I'm not sure if this is a limit you'll ever run into, but maybe it's a good idea to set this during install.
Title: Re: mongodb warning in log file
Post by: sy on September 23, 2021, 04:42:43 pm
Hi,

There is a performance trick for MongoDB. It will be added automatically with 1.10 on Sensei. Please check the following:
https://forum.opnsense.org/index.php?topic=24289.0