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

Suggestion: adding function which multi-files can be aware of soft/hard limit #2245

Open
jansu-dev opened this issue Aug 9, 2023 · 1 comment
Labels
type/feature-request Categorizes issue as related to a new feature.

Comments

@jansu-dev
Copy link

Feature Request

Is your feature request related to a problem? Please describe:

Describe the feature you'd like:

Oringinal Problem: https://asktug.com/t/topic/1010766

if user manually config soft/hard limit in other configure files, like /etc/security/limits.d/tidb.conf , instead of /etc/security/limits.d/ which doc has already told, though.
related config can not be aware, however, other databases can do it, like Oracle ...
image

Why the featue is needed:

we wanna TiUP can do it like Oracle.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

@jansu-dev jansu-dev added the type/feature-request Categorizes issue as related to a new feature. label Aug 9, 2023
@chenyz1984
Copy link

chenyz1984 commented Aug 11, 2023

The capacity of reading the soft/hard limit from the file in directory /etc/security/limits.d/ is the Linux OS standard, as descrption in the global soft/hard limit file /etc/security/limits.conf is:

cat /etc/security/limits.conf 

# /etc/security/limits.conf
#
#This file sets the resource limits for the users logged in via PAM.
#It does not affect resource limits of the system services.
#
#Also note that configuration files in /etc/security/limits.d directory,
#which are read in alphabetical order, override the settings in this
#file in case the domain is the same or more specific.
#That means, for example, that setting a limit for wildcard domain here
#can be overridden with a wildcard setting in a config file in the
#subdirectory, but a user specific setting here can be overridden only
#with a user specific setting in the subdirectory.
#
#Each line describes a limit for a user in the form:
#
#<domain>        <type>  <item>  <value>
#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants