Not ignoring user aborts. Help.
Hello, i have faced problem after moving to Litespeed web server. We have using script who streaming files from remote server to client and sometimes users aborting transfers BUT after closing browser or transload cancel our server still executing request, PHP have setting: ignore_user_abort and it's set to Off it should NOT ignore user abort, but it's seams not working...Before lite speed i have used apache and had no problems with this.
please refer this post:
I think this is similar with your case -- litespeed works in this case but I guess the php script need some modification -- for example, when request a file on remote server, not the whole file, but only a piece of file each time, and send to the client the pieces.
Server dead after php idling - ignoring user abort.
I'm using litespeed on my few project, one of theme sends user lots of data with periodical time, problem: it ignores user abort (browser disconnect):
echo str_replace("testtesttesttesttesttesttesttesttestt esttesttesttesttesttesttesttesttesttesttest<br />\n",128);
user open test.php 30times, uses F5 and ESC, then open test2.php
test2.php never loads for anyone!, all websites on that accunt are frozen, only way to get it back is to set "max php realtime work" but that will kill good working process, periodical restart server or Kill all lsphp.
How to kill php process on browser abort?
how does it work under apache ?
|All times are GMT -7. The time now is 12:36 PM.|