pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29044



Synopsis: php4-apc has runtime failures

Responsible-Changed-From-To: pkg-manager->kim
Responsible-Changed-By: kim%netbsd.org@localhost
Responsible-Changed-When: Mon, 24 Jan 2005 05:55:19 +0000
Responsible-Changed-Why:

Hi Timo!

Most likely you didn't increase the SHMMAXPGS value in your kernel,
and it is too low for the default shared memory segment APC wants
to create.

I recommend reading the "CONFIGURING APC" section in the INSTALL
document that comes with APC (/usr/pkg/share/doc/php-apc/INSTALL).

You can either edit your php.ini file to set apc.shm_size to some
lower value (on i386 default SHMMAXPGS of 2048 you have only 8MB
to use), or create a custom kernel with higher SHMMAXPGS (for the
default 30MB requested by APC, set SHMMAXPGS to 7680 or higher).

I am using the following in my kernel config:

options         SYSVSHM         # System V-like memory sharing
# Increase SHMMAXPGS for the benefit of Alternative PHP Cache (APC)
options         SHMMAXPGS=16384 # 2048 pages is the default

Regards,
+ Kim


State-Changed-From-To: open->feedback
State-Changed-By: kim%netbsd.org@localhost
State-Changed-When: Mon, 24 Jan 2005 05:55:19 +0000
State-Changed-Why:
Wait for feedback.






Home | Main Index | Thread Index | Old Index