Cannot allocate memory: fork: Unable to fork new process?

前端 未结 3 2192
臣服心动
臣服心动 2021-02-13 18:21

We have our hosting in aws. Recently after moving our blog from wordpress to aws, we are experiencing noticeable delay in server response

3条回答
  •  天涯浪人
    2021-02-13 19:09

    Changed Apache's prefork MPM into the httpd.conf These are the values I ended up using:

    StartServers 1

    MinSpareServers 1

    MaxSpareServers 5

    ServerLimit 16

    MaxClients 16

    MaxRequestsPerChild 0

    ListenBacklog 100

    Then, try to desactivate some modules php with sudo a2dismod name_of_module

提交回复
热议问题