[phpa] Max Shared Memory Size with OpenBSD

I recently installed PHPACA on an OpenBSD 3.0 web server with 128MB of RAM=
=20
(default kernel).  The OpenBSD notes say that one can set the phpa.shm_size=
=20
up to 8MB however I don't seem to be able to go past 6MB.  7 and 8MB=20
produce the following error message:  "[warn] shm - Unable to get shm -=20
Cannot allocate memory (pid 1161)".  Anybody knows why this is?

Thanks,
   Claus

=B7=B7=B7 PHPACA version: 0.2.0 =B7=B7=B7 PHPA version: 1.2p4 =B7=B7=B7 PHP=
 version: 4.1.2 =B7=B7=B7

; PHP Accelerator settings in php.ini:
phpa.registration_keys_file =3D /var/www/conf/phpa.keys
phpa.show_registration_warnings =3D on
phpa =3D on
phpa.tweaks =3D on
phpa.cache_dir =3D /tmp
phpa.file_perms =3D 400
phpa.shm_size =3D 6
phpa.shm_key =3D 0xc0deb00
phpa.shm_perms =3D 664
phpa.shm_release_at_exit =3D on
phpa.shm_logging =3D on
phpa.shm_stats_check_period =3D 5m
phpa.shm_ttl =3D 12h
phpa.shm_max_processes =3D 512

shminfo:
         shmmax: 8388608 (max shared memory segment size)
         shmmin:       1 (min shared memory segment size)
         shmmni:      32 (max number of shared memory identifiers)
         shmseg:       8 (max shared memory segments per process)
         shmall:    2048 (max amount of shared memory in pages)

------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: