kaxil opened a new pull request, #65036:
URL: https://github.com/apache/airflow/pull/65036

   Adds an FAQ entry documenting gunicorn with rolling worker restarts as the 
recommended solution for API server memory growth.
   
   The API server's `DBDagBag` caches serialized DAG objects in an unbounded 
dict that grows as DAG versions accumulate. Users hitting this in production 
(see #60804, #64326) may not know that gunicorn worker recycling (added in 
#60940) already handles this by periodically restarting workers and releasing 
all accumulated memory.
   
   The new FAQ entry:
   - Explains the problem (serialized DAG cache growth) and links to the 
existing dag version inflation FAQ
   - Documents the gunicorn + `worker_refresh_interval` configuration
   - Notes that worker recycling handles memory growth from any source, not 
just the DAG cache


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to