[php-maint] Bug#559193: php5-mysql: High Memory Usage

Mostafa Ghadamyari m.ghadam at gmail.com
Wed Dec 2 16:35:39 UTC 2009


Package: php5-mysql
Version: 5.2.6.dfsg.1-1+lenny4
Severity: normal

After I install php5-mysql, Apache server uses about 80mb memory.
MySQL Server uses about 100mb memory and the php5-mysql uses another 100mb
of memory in Apache2 server.
When I remove the php5-mysql package and restart my system, Apache2 server
use just 18mb memory.
I have configured MySQL Server to use less memory (30mb) (optimizing
/etc/mysql/my.cnf) and reboot my system, but php5-mysql loads 100mb of
memory on Apache server in this situtaion too.
I have checked it on 3 another systems and the same result occurs.
I have tested it on ubuntu and the same problem occurs.
I have tested it on Lighttpd server and the same result occurs.
I am using the latest version on Apache2  :  apache2 (2.2.9-10+lenny6)

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-128.1.1.el5.028stab062.3 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages php5-mysql depends on:
ii  libapache2-mod-php 5.2.6.dfsg.1-1+lenny4 server-side, HTML-embedded
scripti
ii  libc6              2.7-18                GNU C Library: Shared libraries
ii  libmysqlclient15of 5.0.51a-24+lenny2     MySQL database client library
ii  php5-common        5.2.6.dfsg.1-1+lenny4 Common files for packages built
fr

php5-mysql recommends no packages.

php5-mysql suggests no packages.

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20091202/af09558b/attachment.htm>


More information about the pkg-php-maint mailing list