Hi,

I keep getting segfaults, such as:

[Mon Jan  7 10:02:15 2002] [notice] child pid 20400 exit signal Segmentation
fault (11)

This happens whenever I set session.save_handler to mm in php.ini

The platform:

Linux kernel 2.2.19 on a Rackspace server (Gigahertz athlon, 1 GB RAM)
Apache 1.3.19
PHP-4.1.1

   ./configure --with-apxs=/usr/sbin/apxs --with-config-file-path=/etc/httpd
\
    --enable-inline-optimization --with-exec-dir=/usr/bin --with-zlib \
    --enable-shmop --with-mysql=/usr --with-mm
mm-1.1.3
    ./configure --prefix=/usr

The first time I tried this, I added --disable-shared to the mm configure
options. This resulted in an all-recursive error compiling PHP:

    /usr/lib/libmm.a(mm_global.o): In function `MM_create':
    mm_global.o(.text+0x0): multiple definition of `MM_create'
    Zend/.libs/libZend.al(mm_global.o)(.text+0x0): first defined here
    /usr/lib/libmm.a(mm_global.o): In function `MM_permission':
    mm_global.o(.text+0x2c): multiple definition of `MM_permission'
    ..etc...

When I re-compiled mm with standard options, then PHP compiled fine, but
gradually kept producing more segfaults, until finally no PHP script with
sessions would run.

The server is getting fairly heavy load, often running as many as 300 httpd
processes, each getting very frequent requests.

Any and all help appreciated, because the session usage is killing the
server, and I was hoping mm as a session handler would help.

Thanks,

Rick Morris


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to