Friday, August 2, 2024
1 change · saas-17.2
Enhancements to existing features
This update adds separate memory limit settings for gevent workers, which handle long-running real-time connections and can need more database resources than regular workers. It helps administrators tune server capacity more accurately, reducing the risk of instability when those workers use extra memory.
Original PR description
The Gevent worker has specific memory requirements. These workers require more cursors than regular HTTP workers, which can be managed using the `--db_maxconn_gevent` flag. However, increasing the number of cursors also increases memory usage. Therefore, it is beneficial to introduce options to customize memory limits specifically for gevent workers. This PR introduces `--limit-memory-soft-gevent` and `--limit-memory- hard-gevent` options to customize memory limits for gevent workers. task-4045580