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

前端 未结 3 2209
臣服心动
臣服心动 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:01

    I've face that problem either while hosting a java app with jenkins, mysql & tomcat on ubuntu on an vm of AWS.

    First steps I used to solve the problem with restarting a vm.

    AWS doesn't give swap memory on a harddrive by default, so you'd better to make it with your hands. How to do this you can find here. Need to mention: the solution with swap zone (have no idea why) haven't work for me, I had to create a swap file.

    Good luck to you!

提交回复
热议问题