Server IP : 184.154.167.98 / Your IP : 3.14.248.85 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /etc/tuned-profiles-cloudlinux/ |
Upload File : |
# Out-of-memory killer adjustments file. # Applied by tuned on start. # One can apply it any time by running: # # cat /etc/vz/oom-groups.conf > /proc/vz/oom_score_adj # # Format of the file is four space-separated fields: # # command parent uid_filter adj # # 1 command # A mask for matching the task command name. # "foo" matches only "foo", "foo*" matches "foo" and "foobar", # "*" matches any string. # # 2 parent # A mask for parent task command name. # # 3 uid_filter # Task uid filter: # -1 match any task_uid # >= 0 exact match (task_uid == oom_uid) # < -1 match lower uids (task_uid < -oom_uid) # # 4 adj # OOM-score adjustment, a number from -1000 to 1000. # A positive number increases the chances of killing, # while a negative number decreases it (more protection). # -1000 makes a process unkillable till any other process exists. # # Example: # sshd init -500 -100 # A process with the name of sshd, a child of init, with uid < 500, # can use 100 promille (10%) of container's memory without being killed # # NOTE that new distros adjust from inside the CT for important # services, so this setup is only needed for old distros which are not # OOM score adjustment aware. # top priority system services init init 0 -900 udevd init -500 -890 syslogd init -500 -880 rsyslogd init -500 -880 acpid init -500 -850 dbus-daemon init -500 -850 # network and sshd dhclient init 0 -800 NetworkManager init 0 -800 sshd init 0 -800 # low priority system services cron init 0 -700 crond init 0 -700 inetd init 0 -700 xinetd init 0 -700 # mail services dovecot init -500 -600 sendmail init -500 -600 # various services httpd init -500 -500 httpsd init -500 -500 apache init -500 -500 lighttpd init -500 -500 nginx init -500 -500 smbd init -500 -500 nmbd init -500 -500 mysqld init -500 -500 # Cyrus mail cyrus-master init -500 -600 imapd cyrus-master -500 -100 pop3d cyrus-master -500 -100 # PostgreSQL postmaster init -500 -500 postmaster postmaster -500 -100 # Obviously vzctl * 0 -500 # Kill overrun php, lsphp and Phusion Passenger workers first php httpd -1 500 lsphp* lsphp -1 500 * PassengerHel* -1 500 * Passenger*core -1 500 ruby PassengerAgent -1 500 python PassengerAgent -1 500