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
[Connection pool mode](/cloudlinux_os_components/#connection-pool-mode):
@@ -6944,6 +6945,20 @@ Controls how many crashes of its worker processes a control process will detect
6944
6945
6945
6946
---
6946
6947
6948
+
#### **lsapi_backend_oom_score_adj**
6949
+
6950
+
**Syntax**: lsapi_backend_oom_score_adj [number]
6951
+
6952
+
**Default**: lsapi_backend_oom_score_adj 0
6953
+
6954
+
**Context**: httpd.conf, virtualhost
6955
+
6956
+
**Description**: This option can be used to apply **oom_score_adj** values for PHP processes created by mod_lsapi. Value is an integer in the -1000 to 1000 range. The lower the value, the lower the chance that the process will be killed.
6957
+
When your server becomes low on free memory and an OOM killer is invoked then desirable that lsphp processes are sacrificed to free up memory. To do this, you need to set oom_score_adj to a large value.
6958
+
For more information on setting value **oom_score_adj**, see the page [https://man7.org/linux/man-pages/man5/proc.5.html](https://man7.org/linux/man-pages/man5/proc.5.html)
0 commit comments