Debian Bug report logs -
#644435
php5 uses cca 33% more memory than php5 package running on other systems
Reported by: Tomas Srnka <tomas.srnka@relbit.com>
Date: Wed, 5 Oct 2011 19:54:01 UTC
Severity: normal
Tags: sid, squeeze
Fixed in version 5.4.0~rc5-1
Done: Ondřej Surý <ondrej@sury.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#644435; Package php5.
(Wed, 05 Oct 2011 19:54:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Tomas Srnka <tomas.srnka@relbit.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Wed, 05 Oct 2011 19:54:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: php5
Severity: normal
Tags: squeeze sid
Hi,
I was testing a simple script for memory usage and I found out that debian is using circa 33% more memory than other systems. This means that running huge php software (like magento) is painful under debian.
The testing files are:
http://srnka.info/download/php5-test/adding.txt
http://srnka.info/download/php5-test/vartest.txt
Please, rename them to .php and run vartest.php.
Here are results running the scripts on various systems (all of them are 64bitssystems):
CentOS 6: Time 0.069308042526245<br/>Memory: 14.61 MB
MacOS X 10.6: Time 0.073976039886475<br/>Memory: 14.61 MB
Ubuntu 11.04: Time 0.066581010818481<br/>Memory: 11.28 MB
Debian Squeeze: Time 0.075584888458252<br/>Memory: 21.98 MB
Gentoo: Time 0.11691498756409<br/>Memory: 14.62 MB
Debian Wheezy: Time 0.065372943878174<br/>Memory: 21.97 MB
I tried to use Ubuntu's (11.04) php runtime under Debian, however the results are the same as for Debian, so this bug might not be directly inside PHP package.
-- System Information:
Debian Release: 6.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35.13-relbit-1 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Information forwarded
to debian-bugs-dist@lists.debian.org, tomas.srnka@relbit.com, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#644435; Package php5.
(Mon, 09 Apr 2012 09:54:33 GMT) (full text, mbox, link).
Acknowledgement sent
to OndÅej Surý <ondrej@debian.org>:
Extra info received and forwarded to list. Copy sent to tomas.srnka@relbit.com, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Mon, 09 Apr 2012 09:54:36 GMT) (full text, mbox, link).
Message #10 received at 644435@bugs.debian.org (full text, mbox, reply):
Package: php5
Severity: normal
Hi,
this bug got probably fixed when we disabled suhosin from the package. Could you retest with
php5 in sid (>= 5.4.0)?
O.
-- System Information:
Debian Release: 6.0.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (300, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Reply sent
to OndÅej Surý <ondrej@sury.org>:
You have taken responsibility.
(Mon, 09 Apr 2012 10:51:12 GMT) (full text, mbox, link).
Notification sent
to Tomas Srnka <tomas.srnka@relbit.com>:
Bug acknowledged by developer.
(Mon, 09 Apr 2012 10:51:16 GMT) (full text, mbox, link).
Message #15 received at 644435-done@bugs.debian.org (full text, mbox, reply):
Version: 5.4.0~rc5-1
php5 (5.4.0~rc5-1) experimental; urgency=low
* Imported Upstream version 5.4.0~rc5
* Update patches for new release
* Disable suhosin patch
-- Ondřej Surý <ondrej@debian.org> Thu, 19 Jan 2012 19:23:36 +0100
--
Ondřej Surý <ondrej@sury.org>
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#644435; Package php5.
(Mon, 09 Apr 2012 14:09:28 GMT) (full text, mbox, link).
Acknowledgement sent
to tomas.srnka@relbit.com:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Mon, 09 Apr 2012 14:09:28 GMT) (full text, mbox, link).
Message #20 received at 644435@bugs.debian.org (full text, mbox, reply):
Hi,
it works fine, thanks for fixing the bug.
Debian SID:
Time 0.042034149169922
Memory: 14.22 MB
Best regards,
Tomas
On 2012-04-09 11:43, Ondřej Surý wrote:
> Package: php5
> Severity: normal
>
> Hi,
>
> this bug got probably fixed when we disabled suhosin from the
> package. Could you retest with
> php5 in sid (>= 5.4.0)?
>
> O.
>
> -- System Information:
> Debian Release: 6.0.4
> APT prefers stable-updates
> APT policy: (500, 'stable-updates'), (500, 'stable'), (300,
> 'unstable'), (200, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 08 May 2012 07:37:14 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 02:06:43 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.