Re: [PHP4BETA] Re: yet another Session oddness/bug?

From: Date: Thu, 30 Mar 2000 00:52:13 +0000
Subject: Re: [PHP4BETA] Re: yet another Session oddness/bug?
References: 1 2 3 4 5 6  Groups: php.version4 
Request: Send a blank email to php-version4+get-12854@lists.php.net to get a copy of this message
On Wed, Mar 29, 2000 at 04:26:48PM -0800, waltb wrote: > > > 3) This one could be related to other problems, but > > > I have seen cases where I get multiple lines of > > > errors in the php error logs. > > > [30-Mar-2000 03:52:54] PHP Warning: Failed to write session data. > > > Please check that the current setting of session.save_path is correct > > > (/tmp) in Unknown on line 0 > > > [30-Mar-2000 03:52:54] PHP Warning: Failed to write session data. > > > Please check that the current setting of session.save_path is correct > > > (/tmp) in Unknown on line 0 > > > [30-Mar-2000 03:52:55] PHP Warning: Failed to write session data. > > > Please check that the current setting of session.save_path is correct > > > (/tmp) in Unknown on line 0 > > > [30-Mar-2000 03:52:55] PHP Warning: Failed to write session data. > > > Please check that the current setting of session.save_path is correct > > > (/tmp) in Unknown on line 0 > > > > I've just committed a few changes which should detail why these error > > messages have been emitted. > > > > If you are running 4.0RC1, please apply the attached patch. > > > > ok I updated my cvs tree and ran some tests, > here is the new error messages in phperrors.log Ah, I hoped to see some kind of error message. Your earlier email contained "Failed to write session data" messages. This indicates that the session file could not be opened. The additional error checks will print more useful information. > here is my script again The script looks ok. Make sure that your server OS isn't sabotating you. I played with OpenBSD a little bit and the generic kernel blocks TCP connections, because some kernel map was full after a few thousand requests. Can you please try to reproduce the bug in the following way: Download http_load from http://www.acme.com/software/http_load Create a file called url containing this: http://yourserver/yourscript.php?PHPSESSID=justatest Run http_load -parallel 10 -seconds 600 url 2>/dev/null The program will output the number of fetches. Exactly the same number should be in /tmp/sess_justatest. - Sascha

« previous php.version4 (#12854) next »