ID: 25876 Comment by: onno at triptic dot nl Reported By: golden at riscom dot com Status: Feedback Bug Type: Session related Operating System: freebsd 4.8 PHP Version: 4.3.3 New Comment:
our problems also started about 5 days after the upgrade Previous Comments: ------------------------------------------------------------------------ [2004-12-27 18:44:50] bugs dot php dot net at spacedump dot pp dot se I have the same problem and added 'php_admin_value session.save_handler files' to a couple of virtualhosts in my apache configuration. The problem seem to dissapear then. (Of course since the child changes it settings to the ones in the virtual host definition (i suppose)) (Maybe do some fancy thing that sets this to it's default value when the child gets the request?) ------------------------------------------------------------------------ [2004-12-27 18:17:30] mbi at euro-ip dot net I agree with mak123. We updated to PHP 4.3.10 on dec. 17, after the news spread about the security issues in the serialize function. Everything went without a problem, after about a week things started to get itchy. Every now and then this damn error comes up. There has been no notable change to the configuration of the affected machines in the meantime. At first, everything looked allright again, but after about an hour the same damn error returned on all sites using file based sessions. Looking at the changelog of 4.3.10 the following line comes to mind: - Crash when using unknown/unsupported session.save_handler and/or session.serialize_handler. So, instead of figuring out what all the code in session.c is supposed to do, I replaced this one with a 4.3.9 version and recompiled the 4.3.10 package. This is running now for about 20 minutes on a heavily loaded machine, until now, no problems (knock on wood). If this fixes the problem, it seems clear to me that the alterations of session.c caused it. I will keep you informed. ------------------------------------------------------------------------ [2004-12-27 16:47:04] mak123 at poczta dot onet dot pl strange - I face this problem about week after upgrading to php.4.3.10 (apache 1.3.33, rh.es.3). first few days without any error ... meanwhile no updates, tripwire shows no changes in any system files... ------------------------------------------------------------------------ [2004-12-27 16:39:49] onno at triptic dot nl Didn't look at this thread well enough the first time also: ini_set('session.save_handler', 'files'); seemed to have solved all of my problems. it's still a major bug though. thanks ------------------------------------------------------------------------ [2004-12-27 16:09:31] onno at triptic dot nl I should probably mention that more sites use this machine, and I don't know in which way they are using sessions that might give conflicts or something. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/25876 -- Edit this bug report at http://bugs.php.net/?id=25876&edit=1