Package: php-apc Version: 3.1.3p1-2 Severity: normal Running the CLI cron job of Magento depends on the same cache mechanism as the web scripts do, so we run them with APC enabled.
Upgraded from Lenny today, and pretty soon our cron jobs started emitting errror messages like this: [Mon May 9 20:30:01 2011] [apc-warning] Potential cache slam averted for key 'dc7_CONFIG_GLOBAL_LOCK' in /some/path/Zend/Cache/Backend/Apc.php on line 112. I'm not totally sure what is going here, but this little script fails in a matter that is not comforting: <?php error_reporting(-1); DEFINE('TEST_ONE', 1); DEFINE('TEST_TWO', 2); echo 'Setting foo to ' . TEST_ONE . PHP_EOL; apc_store('foo', TEST_ONE); echo ' Getting foo: ' . apc_fetch('foo') . PHP_EOL; echo 'Setting foo to ' . TEST_TWO . PHP_EOL; apc_store('foo', TEST_TWO); echo ' Getting foo: ' . apc_fetch('foo') . PHP_EOL; if (apc_fetch('foo') !== TEST_TWO) { echo 'Foo was not the expected value' . PHP_EOL; echo sprintf('"%s" != "%s"', apc_fetch('foo'), TEST_TWO) . PHP_EOL; } ?> For now, I've decided to go the PECL route, downloading and installing APC 3.1.8, using the Debian packaged pecl in the php-pear package. However, I want to stick with the Debian provided APC package, but this version is not working out for me right now. Will there be an upgrade to a later version for Squeeze ? -- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages php-apc depends on: ii libapache2-mod-php5 [ph 5.3.3-7+squeeze1 server-side, HTML-embedded scripti ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii php5-cli [phpapi-200906 5.3.3-7+squeeze1 command-line interpreter for the p php-apc recommends no packages. Versions of packages php-apc suggests: ii php5-gd 5.3.3-7+squeeze1 GD module for php5 -- Configuration Files: /etc/php5/conf.d/apc.ini changed: extension=apc.so [APC] apc.enable_cli = 1 apc.shm_size = 128 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org