在X-WAF部署中,需要创建一个新的nginx配置文件。但测试nginx配置时发现错误,nginx无法启动。root@VM-0-6-ubuntu:~# /usr/local/openresty/nginx/sbin/nginx -tnginx: [emerg] no "events" section in configuration
ngi
我的web应用程序是php原生的,没有框架或任何东西,我的服务器是32 no的内存,当网站上有巨大的流量时,它太慢了(2秒页面加载变成了50秒)。ab -n 20000 -c 1000 mywebsite.comapr_socket_connect(): No connection could be made because the target machine actively refused it. 有没有办法把更多的内存分配给php或者别的什么?