Script termination and reload after 5 minutes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Keith Sauvant

    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_ab ort" 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
  • Jerry Stuckle

    #2
    Re: Script termination and reload after 5 minutes

    Keith Sauvant wrote:[color=blue]
    > 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_ab ort" 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[/color]

    What are your timeout settings in your php.ini?


    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    Working...