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:
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
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2004-12-27 16:03:04] onno at triptic dot nl
Yeah I know, error didn't appear for more than half an hout, not so
long ago. I quitely hoped it wasn't there anymore until it popped up
again. I assure you it has produced the following error several times:
Fatal error: session_start(): Failed to initialize storage module: user
(path: /tmp) in /usr/www/users/jtag/test.php on line 2
It usually happens a lot of times in a row and in the complete website
as well, so I guess it's a server-state which triggers it. Probably
when more users browse the site, unfortenately I can't tell you when
this happens.
------------------------------------------------------------------------
[2004-12-27 15:51:21] [EMAIL PROTECTED]
Tried many times: no errors/warnings etc.
Works just fine.
------------------------------------------------------------------------
[2004-12-27 15:49:11] mstuhu at web dot de
I think a comment above sounds most plausible to me:
http://bugs.php.net/bug.php?id=25876#c84131
> Please, provide a short but complete reproduce script.
I guess you'd have to ensure that session.save_handler is set to "user"
by another HTTP child right in the moment before PHP execute another
script with session.save_handler being not set or set to file.
It was almost impossible for me to constantly reproduce this on my
shared hosting environment.
------------------------------------------------------------------------
[2004-12-27 15:42:27] onno at triptic dot nl
Same symptoms as techtonik pointed out:
http://www.jtag.com/test.php
only one line of code with session_start()
sometimes gives an error and sometimes does not. I'm getting the idea
that maybe the number of users using a session simultaneously is
involved but I have no way to check this since I don't have any access
to the server-logs. I've checked /tmp: it has plenty of free space and
is writeable by the webserver.
info:
http://www.jtag.com/info.php
Doesn't know how long this will stay 4.3.10 because we requested a
migration back to 4.3.9 already.
------------------------------------------------------------------------
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