0

After my host enabled suPHP, a previously working script has been timing out after ~3min (it varies, but the script has not run for more then 3, AFAIK).
The odd part is, the script is not throwing any errors that I can see (and yes, full PHP error reporting/logging is enabled and all MYSQL queries have been checked for errors, also) it simply stops. Refreshing the page will load more of the data the script is supposed to process (probably because the MYSQL queries have been cached...), but if there is a lot of data to process it never fully executes. The other oddity is that I can run test scripts for over 10 minutes on the same host w/ set_time_limit(0); / etc.

Anyone else had to deal with this, or know what is causing the timeout and how to fix it (assuming that dropping suPHP is not an option). There was also a simultaneous update from PHP 5.2.x to 5.3.x, but I doubt that is causing the issue. :/

4

1 に答える 1

0

メモリが不足すると、これが発生するのを見てきました-スクリプトはエラーなしで終了します。ループがある場合は、メモリ関数を使用してメモリ ステータスをダンプしてみてください。また、phpinfo() を使用して、メモリの最大許容量を確認してください。

于 2010-08-01T22:25:32.793 に答える