哪个PHP值的超时时间为900秒?

问题描述:

我有一个在Ubuntu 14.10上通过apache 2.4调用的脚本.所有站点都可以正常运行,但是其中一个站点不能在我的一台计算机上运行.页面生成会在900秒(15分钟)后死亡.

I have a script that is called over apache 2.4 on Ubuntu 14.10. All sites work fine but one that doesn't work on one of my computers. The page-generation dies after exactly 900 seconds (15 Minutes).

在我的/etc/php5/apache2/php.ini中没有这样的超时时间.

In my /etc/php5/apache2/php.ini there is no such timeout.

那是什么,它等待900秒才超时?

What could it be, that waits 900 seconds before it timeouts?

这是我的php.ini

我已经安装了php5-ssh2,mysql等其他所有标准的debian Ubuntu

I have installed php5-ssh2, mysql, ... everything standard debian Ubuntu otherwise

它可以与nfs连接吗?
因为在我的整个/etc文件夹中唯一的900值是:

could it be connected with nfs?
Because the only value of 900 in my whole /etc folder is:

find /etc/ -type f -name "*" -exec grep -H "=900" {} \;
/etc/init.d/mountnfs.sh:    TIMEOUT=900

PHP配置中似乎没有任何此类值.

There doesn't seem to be any such value in the PHP configuration.

我也在我的站点中选中了.htaccess.

I also checked .htaccess in my site.

最后,我通过在网站上搜索900的几分之一找到了解决方案:

In the end I found the solution by searching through my site by several fractions of 900:

find . -type f -name "*" -exec egrep -H "=20\*45" {} \;
find . -type f -name "*" -exec egrep -H "=15\*60" {} \;

并最终在代码中找到了这样的限制:

and finally found such a limit inside the code:

./app/controllers/jobs_controller.php: $maxwait=15*60; // wait seconds till quit (15 Minutes)

最大的错误源通常位于屏幕前方30厘米处