apache proxy_fcgi - 指定的超时已过期 - 错误调度请求 [英] apache proxy_fcgi - The timeout specified has expired - Error dispatching request

查看:52
本文介绍了apache proxy_fcgi - 指定的超时已过期 - 错误调度请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 PHP 应用程序返回我:

I have an application in PHP which returns me:

[Thu Oct 05 22:10:59.351244 2017] [proxy_fcgi:error] [pid 3733:tid 139869435164416] (70007)The timeout specified has expired: [client IPADDRESS HIDDEN:46777] AH01075: Error dispatching request to : (polling)
[Thu Oct 05 22:16:27.701213 2017] [proxy_fcgi:error] [pid 3732:tid 139869359630080] (70007)The timeout specified has expired: [client IPADDRESS HIDDEN:46988] AH01075: Error dispatching request to : (polling)
[Thu Oct 05 22:21:52.971235 2017] [proxy_fcgi:error] [pid 3733:tid 139869426771712] (70007)The timeout specified has expired: [client IPADDRESS HIDDEN:47055] AH01075: Error dispatching request to : (polling)
[Thu Oct 05 22:25:23.561216 2017] [proxy_fcgi:error] [pid 3732:tid 139869351237376] (70007)The timeout specified has expired: [client IPADDRESS HIDDEN:47115] AH01075: Error dispatching request to : (polling)
[Thu Oct 05 22:30:47.591237 2017] [proxy_fcgi:error] [pid 3733:tid 139869418379008] (70007)The timeout specified has expired: [client IPADDRESS HIDDEN:47321] AH01075: Error dispatching request to : (polling)
[Thu Oct 05 22:39:10.211214 2017] [proxy_fcgi:error] [pid 3733:tid 139869443557120] (70007)The timeout specified has expired: [client IPADDRESS HIDDEN:47407] AH01075: Error dispatching request to : (polling)
[Thu Oct 05 22:39:38.591259 2017] [proxy_fcgi:error] [pid 3733:tid 139869376415488] (70007)The timeout specified has expired: [client IPADDRESS HIDDEN:47412] AH01075: Error dispatching request to : (polling)
[Thu Oct 05 22:45:13.951238 2017] [proxy_fcgi:error] [pid 3733:tid 139869582505728] (70007)The timeout specified has expired: [client IPADDRESS HIDDEN:47615] AH01075: Error dispatching request to : (polling)
[Thu Oct 05 22:50:36.491214 2017] [proxy_fcgi:error] [pid 3732:tid 139869460342528] (70007)The timeout specified has expired: [client IPADDRESS HIDDEN:47668] AH01075: Error dispatching request to : (polling)
[Thu Oct 05 22:54:57.661219 2017] [proxy_fcgi:error] [pid 3733:tid 139869326059264] (70007)The timeout specified has expired: [client IPADDRESS HIDDEN:47726] AH01075: Error dispatching request to : (polling)

我认为上述消息 - 在某种程度上 - 与以下随机错误有关:请注意,XMLHttpRequests(AJAX 调用)来自同一个域,有时不会执行上述错误.但是,通常它们确实会执行?

I think the above messages are - in some way - connected to the following random errors: Note, the XMLHttpRequests (AJAX-call) is coming from the same domain and sometimes does not perform with the errors above. However, normally they do execute?

此消息来自哪个脚本,我该如何解决?我能想到的只有一个脚本可能会超过默认的最大执行时间,但是这个脚本可以运行更长时间,在页面顶部使用 ini_set 以获得最大执行时间?

From what script is this message coming and how can I fix it? There is only one script I can think of which might exceed the default max execution time, however this script is allowed to run longer, using ini_set at the top of the page for the max execution time?

我不知道去哪里寻找以及如何解决这个问题

I have no idea where to look and how to fix this issue

推荐答案

将以下行添加到 httpd.confapache2.conf(取决于您的系统)文件:

Add the following lines into httpd.conf or apache2.conf (depending on your system) file:

Timeout 600
ProxyTimeout 600

并重启apache

sudo /etc/init.d/apache2 restart

这篇关于apache proxy_fcgi - 指定的超时已过期 - 错误调度请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆