You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Allow configuring Nginx file and connection limits #3984
The Nginx server on dstack gateways uses the default distro-provided config, which can have low file and connection limits (worker_rlimit_nofile, worker_connections) insufficient for production use cases. For example, the limits may default to 1024 files and 768 connections, which would cause Nginx to fail handling more concurrent requests.
Solution
Either allow configuring in the gateway configuration, or hardcode higher limits.
Workaround
SSH to the gateway instance, set new limits by hand.
Would you like to help us implement this feature by sending a PR?
Activity
github-actions commentedon Jul 25, 2026
This issue is stale because it has been open for 30 days with no activity.
github-actions commentedon Aug 9, 2026
This issue was closed because it has been inactive for 14 days since being marked as stale. Please reopen the issue if it is still relevant.