Hi everyone, I've installed eAccelerator 0.9.5.3 for PHP (installed as an Apache module). I have noticed that when I use my TYPO3 application, I am getting memory leak errors in Apache's error log. These errors only appear after I restart Apache, and not whilst I am browsing the PHP pages. If I disable eAccelerator I do not get these memory leaks: Hi everyone, I've installed eaccelerator 0.9.5.3 for PHP (installed as an Apache module). I have noticed that when I use my TYPO3 application, I am getting memory leak errors in Apache's error log. These errors only appear after I restart Apache, and not whilst I am browsing the PHP pages: [Tue Feb 24 15:45:02 2009] [notice] SIGHUP received. Attempting to restart [Tue Feb 24 15:45:03 2009] [notice] Digest: generating secret for digest authentication ... [Tue Feb 24 15:45:03 2009] [notice] Digest: done [Tue Feb 24 15:45:04 2009] [notice] Apache/2.2.10 (Unix) mod_ssl/ 2.2.10 OpenSSL/0.9.8i PHP/5.2.8 configured -- resuming normal operations [Tue Feb 24 15:45:24 2009] Script: '/home/apache2/htdocs/TYPO3/ index.php' /home/eaccelerator-0.9.5.3/optimize.c(452) : Freeing 0x20004E02D18 (16 bytes), script=/home/apache2/htdocs/TYPO3/index.php Last leak repeated 98 times === Total 99 memory leaks detected === [Tue Feb 24 15:45:46 2009] Script: '/home/apache2/htdocs/TYPO3/typo3/ mod.php' /home/eaccelerator-0.9.5.3/optimize.c(452) : Freeing 0x20001F4D638 (16 bytes), script=/home/apache2/htdocs/TYPO3/typo3/mod.php === Total 1 memory leaks detected === [Tue Feb 24 15:45:55 2009] Script: '/home/apache2/htdocs/TYPO3/typo3/ sysext/lowlevel/config/index.php' /home/eaccelerator-0.9.5.3/optimize.c(452) : Freeing 0x80533AA0 (16 bytes), script=/home/apache2/htdocs/TYPO3/typo3/sysext/lowlevel/config/ index.php === Total 1 memory leaks detected === [Tue Feb 24 15:45:59 2009] Script: '/home/apache2/htdocs/TYPO3/typo3/ mod/tools/em/index.php' /home/eaccelerator-0.9.5.3/optimize.c(452) : Freeing 0x20002309A40 (16 bytes), script=/home/apache2/htdocs/TYPO3/typo3/mod/tools/em/ index.php Last leak repeated 17 times === Total 18 memory leaks detected === [Tue Feb 24 15:45:56 2009] Script: '/home/apache2/htdocs/TYPO3/typo3/ sysext/lowlevel/dbint/index.php' /home/eaccelerator-0.9.5.3/optimize.c(452) : Freeing 0x2000205D360 (16 bytes), script=/home/apache2/htdocs/TYPO3/typo3/sysext/lowlevel/ dbint/index.php Last leak repeated 10 times === Total 11 memory leaks detected === [Tue Feb 24 15:46:10 2009] Script: '/home/apache2/htdocs/TYPO3/typo3/ mod.php' /home/eaccelerator-0.9.5.3/optimize.c(452) : Freeing 0x20001FF98D0 (16 bytes), script=/home/apache2/htdocs/TYPO3/typo3/mod.php Last leak repeated 3 times === Total 4 memory leaks detected === [Tue Feb 24 15:46:35 2009] Script: '/home/apache2/htdocs/TYPO3/typo3/ alt_db_navframe.php' /home/eaccelerator-0.9.5.3/optimize.c(452) : Freeing 0x8053A9B0 (16 bytes), script=/home/apache2/htdocs/TYPO3/typo3/alt_db_navframe.php === Total 1 memory leaks detected === [Tue Feb 24 15:46:36 2009] Script: '/home/apache2/htdocs/TYPO3/typo3/ alt_clickmenu.php' /home/eaccelerator-0.9.5.3/optimize.c(452) : Freeing 0x20001FF4798 (16 bytes), script=/home/apache2/htdocs/TYPO3/typo3/alt_clickmenu.php Last leak repeated 1 time === Total 2 memory leaks detected === [Tue Feb 24 15:46:58 2009] Script: '/home/apache2/htdocs/TYPO3/typo3/ alt_shortcut.php' /home/eaccelerator-0.9.5.3/optimize.c(452) : Freeing 0x20001FC0D48 (16 bytes), script=/home/apache2/htdocs/TYPO3/typo3/alt_shortcut.php Last leak repeated 1 time === Total 2 memory leaks detected === [Tue Feb 24 15:46:35 2009] Script: '/home/apache2/htdocs/TYPO3/typo3/ sysext/cms/layout/db_layout.php' /home/eaccelerator-0.9.5.3/optimize.c(452) : Freeing 0x200020BCF38 (16 bytes), script=/home/apache2/htdocs/TYPO3/typo3/sysext/cms/layout/ db_layout.php Last leak repeated 10 times === Total 11 memory leaks detected === [Tue Feb 24 15:46:45 2009] Script: '/home/apache2/htdocs/TYPO3/typo3/ mod.php' /home/eaccelerator-0.9.5.3/optimize.c(452) : Freeing 0x200021E4970 (16 bytes), script=/home/apache2/htdocs/TYPO3/typo3/mod.php Last leak repeated 7 times === Total 8 memory leaks detected === [Tue Feb 24 15:47:00 2009] Script: '/home/apache2/htdocs/TYPO3/typo3/ db_list.php' /home/eaccelerator-0.9.5.3/optimize.c(452) : Freeing 0x20001FA2560 (16 bytes), script=/home/apache2/htdocs/TYPO3/typo3/db_list.php === Total 1 memory leaks detected === [Tue Feb 24 16:09:36 2009] [notice] SIGHUP received. Attempting to restart [Tue Feb 24 16:09:36 2009] [notice] Digest: generating secret for digest authentication ... [Tue Feb 24 16:09:36 2009] [notice] Digest: done [Tue Feb 24 16:09:37 2009] [notice] Apache/2.2.10 (Unix) mod_ssl/ 2.2.10 OpenSSL/0.9.8i PHP/5.2.8 configured -- resuming normal operations [Tue Feb 24 16:14:06 2009] Script: '/home/apache2/htdocs/TYPO3/typo3/ sysext/lowlevel/dbint/index.php' /home/eaccelerator-0.9.5.3/optimize.c(452) : Freeing 0x200020B30C0 (16 bytes), script=/home/apache2/htdocs/TYPO3/typo3/sysext/lowlevel/ dbint/index.php === Total 1 memory leaks detected === [Tue Feb 24 16:14:12 2009] Script: '/home/apache2/htdocs/TYPO3/typo3/ mod/user/ws/index.php' /home/eaccelerator-0.9.5.3/optimize.c(452) : Freeing 0x200020315C8 (16 bytes), script=/home/apache2/htdocs/TYPO3/typo3/mod/user/ws/ index.php Last leak repeated 6 times === Total 7 memory leaks detected === [Tue Feb 24 16:15:41 2009] [notice] SIGHUP received. Attempting to restart [Tue Feb 24 16:15:42 2009] [notice] Digest: generating secret for digest authentication ... [Tue Feb 24 16:15:42 2009] [notice] Digest: done [Tue Feb 24 16:15:43 2009] [notice] Apache/2.2.10 (Unix) mod_ssl/ 2.2.10 OpenSSL/0.9.8i PHP/5.2.8 configured -- resuming normal operations My config is as follows: extension=eaccelerator.so eaccelerator.shm_size="0" eaccelerator.cache_dir="/tmp/eaccelerator" eaccelerator.enable="1" eaccelerator.log_file = "/home/apache2/logs/eaccelerator_log" eaccelerator.optimizer="1" eaccelerator.check_mtime="1" eaccelerator.debug="0" eaccelerator.filter="" eaccelerator.shm_max="0" eaccelerator.shm_ttl="3600" eaccelerator.shm_prune_period="180" eaccelerator.shm_only="0" eaccelerator.compress="1" eaccelerator.compress_level="9" - Running on zLinux s390x, SLES10 Sp2 64bit - PHP 5.2.8 Can anyone advise on what to do? Are these serious faults? Do I need to report them to PHP? Any help is much appreciated. kind regards Jp -- View this message in context: http://www.nabble.com/Is-eAccelerator-causing-these-memory-leaks--tp22203445p22203445.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php