Php Apache2服务器有5秒延迟
我有一个我无法解决的问题。前端和后端服务器之间的一些通信(约10-20%)已中断。有人能给我一个建议吗 前端PHP------curl------>后端PHPPhp Apache2服务器有5秒延迟,php,curl,apache2,Php,Curl,Apache2,我有一个我无法解决的问题。前端和后端服务器之间的一些通信(约10-20%)已中断。有人能给我一个建议吗 前端PHP------curl------>后端PHP 前端发送请求,请求立即到达Apache服务器 在后端日志中,操作的开始有5秒的延迟 后端日志显示操作很快 例子: 前端卷曲日志: 16:30:00.00 - Runtime: 5.2454 后端apache访问日志: 16:30:00.01 - /backend/.... 后端日志: 16:30:05.01 - Runt
- 前端发送请求,请求立即到达Apache服务器
- 在后端日志中,操作的开始有5秒的延迟
- 后端日志显示操作很快
- 前端卷曲日志:
16:30:00.00 - Runtime: 5.2454
- 后端apache访问日志:
16:30:00.01 - /backend/....
- 后端日志:
16:30:05.01 - Runtime: 0.2254
<?php startTime PHP/MySQL/Redis/etc write to the log: currentTime, currentTime-startTime ?>
- 前端日志:
<?php .... startTime send curl request to Backend IP write to the log: currentTime, currentTime-startTime ... ?>
- 后端日志:
16:30:05.01 - Runtime: 0.2254
<?php startTime PHP/MySQL/Redis/etc write to the log: currentTime, currentTime-startTime ?>
- Debian 6.0.3
- Apache/2.2.16
- PHP 5.3.3
- MySQL版本14.14发行版5.1.49
- Redis服务器2.4.2
foo@example.com
,mysql已经在您连接的IP上进行了反向dns查找,以查看它是否为example.com。