PHP 4.0 Bug #7674: session gc fails causing premature EOF

From: Date: Tue, 07 Nov 2000 06:23:40 +0000
Subject: PHP 4.0 Bug #7674: session gc fails causing premature EOF
Groups: php.dev 
Request: Send a blank email to php-dev+get-37330@lists.php.net to get a copy of this message
From: anothy@cosym.net Operating system: Solaris 2.6 PHP version: 4.0.3pl1 PHP Bug Type: *Session related Bug description: session gc fails causing premature EOF 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. -- Edit Bug report at: http://bugs.php.net/?id=7674&edit=1

« previous php.dev (#37330) next »