Warning "Unknown: A session is active. You cannot change the session module's ini setting...

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Hi all,

I'm trying to implement a custom session handler that writes session
data to a MySQL database. It works fine about 99% of the time. Trouble
is, at random intervals, I get entries like the following in my

[28-Apr-2006 04:44:25] PHP Warning:  Unknown: A session is active. You
cannot change the session module's ini settings at this time. in
Unknown on line 0

Occasionally, but not always, this warning will be preceded by one of
these fatals:

[28-Apr-2006 11:59:19] PHP Fatal error:  Exception thrown without a
stack frame in Unknown on line 0

Research has pulled up this bug,


While there are indications that this was fixed in 2004, it persists;
the annoying part being that we can't intentionally reproduce the
errors, nor can we come up with any common metrics for the system's
state when the errors are occurring. Worse yet, because we can't
trigger this on demand, we can't determine a way to try and trap for

Has anyone tracked down a definitive cause for this problem?  

My environment is Debian sarge (kernel 2.6.8-1-686-smp) on a PowerEdge
2650 with 4 3.2ghz Xeons, PHP 5.0.3, Apache 1.3.33, and 2 gigs of RAM.
At the present time, upgrading PHP on this box is not really an



Remove mypants to email.

Site Timeline