PHP 4.0 Bug #7674 Updated: session gc fails causing premature EOF
| From: | sniper@php.net | Date: | Mon, 27 Nov 2000 13:50:21 +0000 |
| Subject: | PHP 4.0 Bug #7674 Updated: session gc fails causing premature EOF | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39258@lists.php.net to get a copy of this message | ||
ID: 7674
Updated by: sniper
Reported By: anothy@cosym.net
Status: Closed
Bug Type: *Session related
Assigned To:
Comments:
No feedback -> considered fixed.
Previous Comments:
---------------------------------------------------------------------------
[2000-11-08 00:51:21] sniper@php.net
I think this is fixed already. Please try latest snapshot from http://snaps.php.net
And that bug which left empty session files is fixed already.
--Jani
---------------------------------------------------------------------------
[2000-11-07 07:23:39] anothy@cosym.net
i'm using php compiled as a module into Apache 1.3.14.
every so often, a php script would return an immediate EOF, resulting in a "document contains
no data" error on Netscape and IE. a refresh returned the correct page. this problem was
seemingly random, and not reproducable.
seperatly, i noticed that session temp files (sess_*) were not being cleaned up at all. rough
observation indicated the EOF error ocuring roughly at the rate defined in session.gc_probability in
php.ini. changing this value to 90 resulted in nearly every request for a document resulting in an
immediate EOF, setting it to 0 results in normal operation (aside from no temp files being removed).
i have mysql support and am using the system regexp.
i believe this is the cause of the bug described in bug #7571.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7674