Mongo DB Startup Errors

I installed mongodb-bin, mongo-compass and mongodb-tools from AUR using pacman without any issues. The database runs using the mongosh on CLI. Error messages were generated though the database runs. I’m seeking help in resolving specific errors:

The server generated these startup warnings when booting

Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem

For customers running the current memory allocator, we suggest changing the contents of the following sysfsFile:
We suggest setting the contents of sysfsFile to 0.

Your system has glibc support for rseq built in, which is not yet supported by tcmalloc-google and has critical performance implications. Please set the environment variable GLIBC_TUNABLES=glibc.pthread.rseq=0

vm.max_map_count is too low

We suggest setting swappiness to 0 or 1, as swapping can cause performance problems.

Any help appreciated.
Thanks

John

So … do you want to follow the directions?

https://wiki.archlinux.org/title/Swap#Swappiness

Environment variables can be set on the command line as needed.

For generalized environment variables you can use something like /etc/environment

This does not appear to actually list a file?

Pacman does not support the AUR. Did you mean Pamac? :wink:

Who’s “we”? What “system”? You have a server running Manjaro that includes AUR packages for your customers? :thinking:

Disclaimer: Neither Arch nor Manjaro officially supports the AUR.