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

前端 未结 3 2212
臣服心动
臣服心动 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 18:54

    I had same problem to fix it there is 2 options:

    1- move from micro instances to small and this was the change that solved the problem (micro instances on amazon tend to have large cpu steal time)

    2- tune the mysql database server configuration and my apache configuration to use a lot less memory.

    tuning guide for a low memory situation such as this one: http://www.narga.net/optimizing-apachephpmysql-low-memory-server/ (But don't use the suggestion of MyISAM tables - horrible...)

    this 2 options will make the problem much much less happening .. I am still looking for better solution to close the process that are done and kill the ones that hang in there .

提交回复
热议问题