[phpa] Re: Max Shared Memory Size with OpenBSD
- From: "Nick Lindridge" <nick@xxxxxxxxxxxxxxxxxxxxx>
- To: phpa@xxxxxxxxxxxxx
- Date: Fri, 12 Apr 2002 19:32:45 +0100 (BST)
>
> 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?
Your kernel was probably built with a 6mb limit for the shm segments. I'm
not familiar with openbsd configuration, but perhaps you produce a new
kernel. Allowing multiple shm segments is a future enhancement that's on my
todo list, but as the other os's have quite large max segment sizes (e.g.
32M for linux is common) and as openbsd builds are a fairly recent
addition, supporting multiple segments hasn't been a high priority.
------------------------------------------------------------------------
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
- References:
- [phpa] Max Shared Memory Size with OpenBSD
- From: Claus
Other related posts:
- » [phpa] Max Shared Memory Size with OpenBSD
- » [phpa] Re: Max Shared Memory Size with OpenBSD
- [phpa] Max Shared Memory Size with OpenBSD
- From: Claus