Graham Dumpleton
grahamd at dscpl.com.au
Fri Jul 14 23:00:12 EDT 2006
On 14/07/2006, at 6:40 PM, Michael Kleiber wrote: > Hi, > > I need to use mpm-prefork because of sqlite and thread safety. I > also want to use sessions but it appears that Sessions do not work > with the preforking apache unless more than one server is started > and therefore more than one session mutex is created at startup. What do you mean by starting "more than one server"? Do you mean Apache child processes? What Apache configuration are you using that you might be trying to control this. > The error log gives me the following when using only on server: > [Fri Jul 14 10:22:50 2006] [notice] child pid 13198 exit signal > Floating point exception (8) > > and I only get a blank page. > > I just figured the solution out while writing the mail - just > wanting to let everybody know in case the same problem comes up again. Other people have no problems with sessions when using prefork. You more than likely have some problem with your machine configuration in respect of mutex locks or some other area. What version of mod_python are you using? What command line options did you use when you ran "configure" to build it, or did you use a RPM version? Also, what sort of data are you trying to put into the session object? Do you have multiple independent instances of Apache running on the same box with both running mod_python? Graham
|