Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts/install-ubuntu.bash the installed service file should override the max file descriptors #1004

Open
tburtchell opened this issue Oct 7, 2024 · 1 comment

Comments

@tburtchell
Copy link
Member

The ubuntu service runs out of open file descriptors after running for a couple of days. The service files that we use for the controller and routers both override the number of file handles to 65535.

It would be great if the file installed by this script, ziti-edge-tunnel.service, provides the same change by adding

LimitNOFile=65535

@qrkourier
Copy link
Member

We shouldn't do this in install-ubuntu.bash, but here's the template for ziti-edge-tunnel.service. If an appropriate universal value can be identified it can live there and will be inherited and all new and also existing installations for which the service unit remains unmodified by the user.

If there's not a universally-appropriate default, we can add a drop-in override for the service unit that makes it easy for users to set a limit without departing from the package-managed service unit, which demands conflict resolution during upgrade operations.

As a last resort, there are RedHat and Debian package-manager-specific scriptlets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants