r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
9 stars 2 forks source link

MongoDB 8 server warnings #509

Open jeroen opened 2 weeks ago

jeroen commented 2 weeks ago

With MongoDB 8 we see the following warnings on the server:

   The server generated these startup warnings when booting
   2024-10-10T12:22:33.295+00:00: For customers running the current memory allocator, we suggest changing the contents of the following sysfsFile
   2024-10-10T12:22:33.295+00:00: For customers running the current memory allocator, we suggest changing the contents of the following sysfsFile
   2024-10-10T12:22:33.295+00:00: We suggest setting the contents of sysfsFile to 0.
   2024-10-10T12:22:33.295+00:00: 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
   2024-10-10T12:22:33.295+00:00: vm.max_map_count is too low
jeroen commented 1 week ago

Setting this in the mongo container:

    environment:
      GLIBC_TUNABLES: glibc.pthread.rseq=0
jeroen commented 1 week ago

Asked some advice on the other warnings on the mongo community forum. Perhaps we need to switch to another docker image that is maintained by mongo (the default "mongo" image seems maintained by the docker community).