APCをVer.3.0.18に更新

APC INFO memory usage

APC(Alternative PHP Cache)をVer.3.0.16からVer.3.0.18に更新した。
キャッシュに64MB割り当ててたんだけど、ほぼフル状態になっていた。
Cache full countは0だったけど、念のため+32MBの96MBにしてみた。
これでしばらく様子を見てみよう。

変更点

APC 3.0.18

* Revert memleak patch (Gopal)
* Fix for bug 13504 (David Fraser)

APC 3.0.17

* Fix for CVE-2008-1488 (Daniel Papasian, Rasmus)
* Fix apc_add() cache expunge bug (Rasmus)
* Added parameter to apc_fetch to determine success/failure when fetching booleans (Shire)
* Fix misc. memleaks (Shire)

更新手順

# pecl upgrade-all
Will upgrade channel://pecl.php.net/apc
downloading APC-3.0.18.tgz …
Starting to download APC-3.0.18.tgz (115,957 bytes)
…………………….done: 115,957 bytes
47 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
1. Use apxs to set compile flags (if using APC with Apache)? : yes

1-1, ‘all’, ‘abort’, or Enter to continue: [Enter入力]
building in /var/tmp/pear-build-root/APC-3.0.18
running: /tmp/pear/temp/APC/configure –with-apxs
checking for grep that handles long lines and -e… /bin/grep
(…略…)
Installing ‘/usr/lib/php5/20060613+lfs/apc.so’
upgrade-all ok: channel://pecl.php.net/APC-3.0.18
configuration option “php_ini” is not set to php.ini location
You should add “extension=apc.so” to php.ini

# /etc/init.d/apache2 restart

完了。

コメント

タイトルとURLをコピーしました