-
Notifications
You must be signed in to change notification settings - Fork 1.2k
set ulimit for server according to redhat spec #10040
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
Conversation
after applying the changes, run it works. but what should be the best value ? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #10040 +/- ##
=========================================
Coverage 15.13% 15.13%
- Complexity 11261 11268 +7
=========================================
Files 5408 5408
Lines 473842 473890 +48
Branches 57771 57787 +16
=========================================
+ Hits 71696 71704 +8
- Misses 394145 394182 +37
- Partials 8001 8004 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
@weizhouapache I think the best value is installation dependant. If it works on debian-likes, there is nothing to do there. This was reported by a user on centos7 and does not pertain to the default value but to the mechs of changing it that didn't work. We can change the value before merging to contain the default. I hadn't looked at that yet. It was just a guestimate. |
it looks like there is no such file for debian/ubuntu. we can skip it for now (better to have). currently the value for rhel is 4096 which is too small. |
weizhouapache
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code lgtm
not tested yet
the only concern is the value of open file descriptors
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11761 |
|
@blueorangutan test keepEnv |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-11874)
|
|
ping @vishesh92 , I think this is ready (if you agree) |
|
We also need to set |
Co-authored-by: Vishesh <[email protected]>
Co-authored-by: dahn <[email protected]>
|
@blueorangutan package |
|
@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11840 |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-11939)
|
vishesh92
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm. didn't test.
|
Tested. after the change |
|
is setting for |
|
I think none of the sessions are needed @weizhouapache , just the facility for operators to do it. The old method/file did not work with systemd, hence the new one. |
thanks @DaanHoogland the file name |
ai, you are right. I'll create a rename PR soon. |
* 4.20: VR: apply iptables rules when add/remove static routes (#10064) Certificate and VM hostname validation improvements (#10051) set ulimit for server according to redhat spec (#10040) kvm-storage: provide isVMMigrate information to storage plugins (#10093) Allow config drive deletion of migrated VM, on host maintenance (#10045) linstor: improve heartbeat check with also asking linstor (#10105) server: simplify role change validation (#9173) UI: create VPC network offering with conserve mode (#10082) server: fix typo removeaccessvpn in VirtualRouterElement (#10086) UI: remove duplicated Instance Name in Public IP details page (#10087) UI: Fixes in the Usage UI (#10000) SAML2: add cookie with HttpOnly too #10013 (#10047) ui: Allow font-awesome icon usage and optimise icon size inconsistency (#9744)
Description
This PR fixes #9872
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?
Also see original ticket, set the contents of
/etc/systemd/system/cloudstack-management.service.d/filelimit.conf