Re: [PHP] Is eAccelerator causing these memory leaks?

2009-02-25 Thread jpmad4it

Thanks Shawn. I tried that but the log just reports the following, which I
guess is usual:

EACCELERATOR hit: /path/to/script.php
EACCELERATOR cached: /path/to/script.php

There are no mention of memory leaks, or anything else.

Anyone got any other suggestions?
-- 
View this message in context: 
http://www.nabble.com/Is-eAccelerator-causing-these-memory-leaks--tp22203445p22205819.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



Re: [PHP] Is eAccelerator causing these memory leaks?

2009-02-25 Thread Shawn McKenzie
jpmad4it wrote:
> 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 norma

[PHP] Is eAccelerator causing these memory leaks?

2009-02-25 Thread jpmad4it

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/T