#19213 [Opn]: Adabas odbc Memory leak
| From: | edink@php.net | Date: | Tue, 03 Sep 2002 21:05:44 +0000 |
| Subject: | #19213 [Opn]: Adabas odbc Memory leak | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18333@lists.php.net to get a copy of this message | ||
ID: 19213
Updated by: edink@php.net
Reported By: a.steckenborn@stebosoft.de
Status: Open
Bug Type: Adabas-D related
Operating System: SuSE Linux 8.0
PHP Version: 4.2.2
New Comment:
As a temporary workaround you can set
MaxRequestsPerChild 100
in your apache configuration.
Previous Comments:
------------------------------------------------------------------------
[2002-09-03 13:26:46] a.steckenborn@stebosoft.de
With each connection to our Database over PHP Script the used Memory of
our HTTP childs is growing up.
At the beginning the Memory is around 2000k per Child. After 3 Days
around 50MB per child.
After 5 Days the System is using 300 MB Swap and crashes.
I'm working with this Problem longer than 8 month now, but i cant't
find out what it is.
Before our Webserver was SuSE Linux 6.0. I've updated now to
8.0, newest Apache 1.x newest PHP.
Our Webserver with PHP and Adabas D 11.01 for Customer Database with
small tables.
Seperate Database Machine (SuSE 8.0) for big tables.
We are using
ODBC_Free_Result($res)
and
ODBC_Close ($conn)
in all Scripts
but the used memory will grow around 80k up per result.
I hope that you can help me to fix this bug.
Dear
Albert Steckenborn
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19213&edit=1