[php-maint] Bug#577009: php5-cgi: php-cgi uses 500+ mb memory
Olaf van der Spek
olaf at xwis.net
Thu Apr 8 21:05:27 UTC 2010
Package: php5-cgi
Version: 5.3.1-5
Severity: serious
Justification: Memory leaks might affect the entire system
Hi,
I'm not sure why php is using so much memory. The system has 8 gb real and 4 gb swap and the OOM killer has been invoked several times already.
/etc/php5/cgi/php.ini:
memory_limit = 128M
top:
14092 www-data 20 0 589m 466m 17m S 3 5.8 9:36.17 php-cgi
14094 www-data 20 0 571m 449m 17m S 3 5.6 9:58.46 php-cgi
14091 www-data 20 0 569m 446m 17m S 11 5.6 10:37.29 php-cgi
15371 www-data 20 0 210m 86m 16m S 5 1.1 2:15.79 php-cgi
$ dpkg -l|grep php5
ii php5-cgi 5.3.1-5 server-side, HTML-embedded scripting language (CGI binary)
ii php5-cli 5.3.1-5 command-line interpreter for the php5 scripting language
ii php5-common 5.3.1-5 Common files for packages built from the php5 source
ii php5-gd 5.3.1-5 GD module for php5
ii php5-mcrypt 5.3.1-5 MCrypt module for php5
ii php5-mysql 5.3.1-5 MySQL module for php5
ii php5-suhosin 0.9.29-1+b1 advanced protection module for php5
ii php5-xcache 1.3.0-6 Fast, stable PHP opcode cacher
Greetings,
Olaf
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-3-amd64 (SMP w/8 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 php5-cgi depends on:
ii libbz2-1.0 1.0.5-4 high-quality block-sorting file co
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libcomerr2 1.41.11-1 common error description library
ii libdb4.8 4.8.26-1 Berkeley v4.8 Database Libraries [
ii libgssapi-krb5-2 1.8+dfsg~alpha1-7 MIT Kerberos runtime libraries - k
ii libk5crypto3 1.8+dfsg~alpha1-7 MIT Kerberos runtime libraries - C
ii libkrb5-3 1.8+dfsg~alpha1-7 MIT Kerberos runtime libraries
ii libmagic1 5.04-1 File type determination library us
ii libpcre3 7.8-3 Perl 5 Compatible Regular Expressi
ii libssl0.9.8 0.9.8n-1 SSL shared libraries
ii libxml2 2.7.7.dfsg-1 GNOME XML library
ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap
ii php5-common 5.3.1-5 Common files for packages built fr
ii tzdata 2010f-2 time zone and daylight-saving time
ii ucf 3.0025 Update Configuration File: preserv
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
php5-cgi recommends no packages.
Versions of packages php5-cgi suggests:
pn php-pear <none> (no description available)
-- no debconf information
More information about the pkg-php-maint
mailing list