设置PHP-FPM的性能参数,减少内存占用,优化PHP性能
对于2H2G或者以下的小鸡,个人配置如下↓ ``` pm = dynamic pm.max_children = 35 pm.start_servers = 5 pm.min_spare_servers = 5 pm.max_spare_servers = 15 pm.process_idle_timeout = 20s pm.max_requests = 1000 requ...
对于2H2G或者以下的小鸡,个人配置如下↓ ``` pm = dynamic pm.max_children = 35 pm.start_servers = 5 pm.min_spare_servers = 5 pm.max_spare_servers = 15 pm.process_idle_timeout = 20s pm.max_requests = 1000 requ...