Skip site navigation (1)Skip section navigation (2)
Date:      06 Dec 2002 09:00:25 +1000
From:      Duncan Anker <d.anker@au.darkbluesea.com>
To:        freebsd-questions@freebsd.org
Subject:   Slightly OT: PHP Fatal error:  Unable to start session mm module in Unknown on line 0
Message-ID:  <1039129224.13429.11.camel@duncan.au.darkbluesea.com>

next in thread | raw e-mail | index | archive | help
I know this is not strictly to do with FreeBSD, but maybe there is a
kernel option or something I'm overlooking :-)

I am getting a lot of these messages:

PHP Fatal error:  Unable to start session mm module in Unknown on line 0

I have scoured Google as much as I can, and have found mostly people
with the problem, and very few solutions. Most of it seems to be a
problem with Debian Linux, which of course doesn't apply to me.

I have investigated some of the solutions and none of them work. The
closest was deleting a semaphore file from /tmp, which seemed to work
briefly. And then it didn't.

Further investigation shows, since it doesn't happen every time PHP is
run, that the problem would seem to be with concurrency - two instances
of PHP can't run at the same time.

I gather this is because it is trying to create a semaphore that already
exists or somesuch. So what this comes down to is should it create
unique semaphores (perhaps using the PID) or should it share them more
effectively.

I suppose I can strip out all the MM stuff, but it's in there in the
first place because I used a whole bunch of tips about making PHP as
optimized as possible. Obviously an inefficient, working PHP is better
than an optimized broken one, but I prefer to fix problems than to try
and work around them and pretend they are not there - they usually come
back to bite you further down the track.

Does anyone have any suggestions?

TIA
Duncan Anker
-- 

The information contained in this email is confidential.
If you are not the intended recipient, you may not disclose or use the
information in this email in any way.
Dark Blue Sea does not guarantee the integrity of any emails or attached
files.
The views or opinions expressed are the author's own and may not reflect
the views or opinions of Dark Blue Sea.
Dark Blue Sea does not warrant that any attachments are free from
viruses or other defects.
You assume all liability for any loss, damage or other consequences
which may arise from opening or using the attachments.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1039129224.13429.11.camel>