470,848 Members | 1,817 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

Script termination and reload after 5 minutes

Hi!

Strange problem on a lamp installation: A script runs longer than 5
minutes and sends no output to the browser until it is finished. When
called at customer site it gets stopped after exactly 5 minutes and is
reloaded automatically 4 times, then it gives up. This is logged in
Apache access log.

I have no clue what causes the reload after 5 minutes of "no data
received". Could be the browser, could be the proxy. I even do not have
a problem with the behaviour, you could avoid that by sending something
to the browser periodically.

BUT: The script gets stopped completely after the 5 minute period. That
is what I dont like... No PHP log entry, no apache log entry about that.
Just like killed. "ignore_user_abort" is enabled in PHP configuration.

Any ideas what causes the script termination and how that can be avoided?

Configuration details:

RedHat AS
Apache 1.3.34
PHP 4.4.1 (Apache module)
Zend Optimizer 2.6.0

Best regards
Keith
Mar 17 '06 #1
1 1879
Keith Sauvant wrote:
Hi!

Strange problem on a lamp installation: A script runs longer than 5
minutes and sends no output to the browser until it is finished. When
called at customer site it gets stopped after exactly 5 minutes and is
reloaded automatically 4 times, then it gives up. This is logged in
Apache access log.

I have no clue what causes the reload after 5 minutes of "no data
received". Could be the browser, could be the proxy. I even do not have
a problem with the behaviour, you could avoid that by sending something
to the browser periodically.

BUT: The script gets stopped completely after the 5 minute period. That
is what I dont like... No PHP log entry, no apache log entry about that.
Just like killed. "ignore_user_abort" is enabled in PHP configuration.

Any ideas what causes the script termination and how that can be avoided?

Configuration details:

RedHat AS
Apache 1.3.34
PHP 4.4.1 (Apache module)
Zend Optimizer 2.6.0

Best regards
Keith


What are your timeout settings in your php.ini?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Mar 17 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by hupjack | last post: by
1 post views Thread by Roel | last post: by
2 posts views Thread by Ola Fjelddahl | last post: by
9 posts views Thread by ALuPin | last post: by
9 posts views Thread by Yaro | last post: by
1 post views Thread by p_bouchard | last post: by
risk32
8 posts views Thread by risk32 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.