PHP Restarts on Long Script

Discussion in 'General OpenLiteSpeed Discussion' started by Trever Jones, Dec 17, 2017.

  1. Trever Jones

    Trever Jones New Member

    I've noticed on long running php scripts that after a period of time, they will restart. I thought it might be a timeout issue, but the script is outputting to the browser every couple of seconds, but at a certain spot, I'll see that it just starts over, like a new php process was started. I'm wondering if there is a setting that could be causing this in either php.ini or openlitespeed. I know that in php I have it set for no timeout.

    I'm using openlitespeed 1.4.27, PHP 5.6.32 (litespeed) (built: Oct 31 2017 11:37:09).
     
  2. lskagan

    lskagan Administrator

    There are PHP timeouts also on the External App level. Please check the timeout setting under External App and increase that.
     
  3. Trever Jones

    Trever Jones New Member

    Thank you, I've increased the retry timeout to 120 from 0 to see if that resolves the issue. Only other timeout I found there was the initial timeout which doesn't seem to be the issue since I am getting responses.
     

Share This Page