Each cstore (and storage, and IIRC reporter-store and qstore) backend uses a Postgres connection, so one thing to note is that the total number of database connections that Evergreen at its peak (by summing up cstore, storage, etc. max_children values) does not exceed the max_connections value you set in PostgreSQL's configuration file.
In turn, each connection consumes some shared memory and system semaphores on the database server, so if you bump up max_connections, you may need to bump up OS parameters like kernel.shmmax.
Additional notes for documentation purposes:
Each cstore (and storage, and IIRC reporter-store and qstore) backend uses a Postgres connection, so one thing to note is that the total number of database connections that Evergreen at its peak (by summing up cstore, storage, etc. max_children values) does not exceed the max_connections value you set in PostgreSQL's configuration file.
In turn, each connection consumes some shared memory and system semaphores on the database server, so if you bump up max_connections, you may need to bump up OS parameters like kernel.shmmax.