我使用apache 2.4与php作为fpm。每当我重新加载apache(优雅重启)时,正在运行的php脚本就会被杀死。然后,用户会看到错误500并记录以下内容:
Connection reset by peer: [client xx.xx.xx.xx:52240] FastCGI: comm with server "/usr/lib/cgi-bin/php5-fcgi" aborted: read failed
FastCGI: incomplete headers (0 bytes) received from server "/usr/lib/cgi-bin/php5-fcgi"
有没有办法重新加载apache而不会打扰"运行php进程?