网络服务器无响应

网络服务器无响应

我需要一些有关我们正在运行的新 Apache2.4 和 PHP-FPM 服务器的帮助。网站偶尔会变得无响应。我们刚刚转移到 PHP-FPM,旧服务器没有这个问题。

Checking the FPM log we're getting a lot of the following errors just before the site goes unresponsive
WARNING: pid 2897506, fpm_request_check_timed_out(), line 265: [pool www] child 3752421, script 'FILE PATH  Executing too slow   
WARNING: pid 2897506, fpm_request_check_timed_out(), line 265: [pool www] child 3750981, script 'FILE PATH  Executing too slow   
WARNING: pid 2897506, fpm_request_check_timed_out(), line 265: [pool www] child 3749995, script 'FILE PATH  Executing too slow   
WARNING: pid 2897506, fpm_request_check_timed_out(), line 265: [pool www] child 3749599, script 'FILE PATH  Executing too slow   
WARNING: pid 2897506, fpm_request_check_timed_out(), line 265: [pool www] child 3748928, script 'FILE PATH  Executing too slow   
WARNING: pid 2897506, fpm_request_check_timed_out(), line 265: [pool www] child 3747019, script 'FILE PATH  Executing too slow   
WARNING: pid 2897506, fpm_request_check_timed_out(), line 265: [pool www] child 3744773, script 'FILE PATH  Executing too slow   
WARNING: pid 2897506, fpm_request_check_timed_out(), line 265: [pool www] child 3731142, script 'FILE PATH  Executing too slow   
WARNING: pid 2897506, fpm_request_check_timed_out(), line 265: [pool www] child 3731131, script 'FILE PATH  Executing too slow   
WARNING: pid 2897506, fpm_request_check_timed_out(), line 265: [pool www] child 3731015, script 'FILE PATH  Executing too slow   
WARNING: pid 2897506, fpm_request_check_timed_out(), line 265: [pool www] child 3730870, script 'FILE PATH  Executing too slow   
WARNING: pid 2897506, fpm_request_check_timed_out(), line 265: [pool www] child 3730867, script 'FILE PATH  Executing too slow  

有人能指出我正确的方向吗?FPM 对我来说是一个新概念,我想确保我已正确配置它。

停机期间最近的 slowlog 错误

[池 www] pid 596016 script_filename =脚本路径

[0x00007f3389814410] __construct()脚本路径

[0x00007f33898142f0]获取实例()脚本路径

[0x00007f3389814220]加载用户()脚本路径

[0x00007f3389814140] 检查有效用户()脚本路径

[池 www] pid 617256

脚本文件名 =脚本路径

[0x00007f33898142f0]会话启动()脚本路径

[0x00007f33898141d0] 包含或评估脚本路径

[池 www] pid 617257

脚本文件名 =脚本路径

[0x00007f33898132f0]会话启动()脚本路径

[0x00007f33898131d0] 包含或评估脚本路径

[池 www] pid 617258

脚本文件名 =脚本路径

[0x00007f33898132f0]会话启动()脚本路径

[0x00007f33898131d0] 包含或评估脚本路径

[池 www] pid 617285

脚本文件名 =脚本路径

[0x00007f33898142f0]会话启动()脚本路径

[0x00007f33898141d0] 包含或评估脚本路径

相关内容