php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7674 session gc fails causing premature EOF
Submitted: 2000-11-07 07:23 UTC Modified: 2000-11-27 08:50 UTC
From: anothy at cosym dot net Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.3pl1 OS: Solaris 2.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: anothy at cosym dot net
New email:
PHP Version: OS:

 

 [2000-11-07 07:23 UTC] anothy at cosym dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-08 00:51 UTC] 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-27 08:50 UTC] sniper@php.net
No feedback -> considered fixed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 15:01:33 2024 UTC