[php-maint] Failed to upgrade from deb7u2 to deb7u3

Ondřej Surý ondrej at debian.org
Wed Jul 24 07:19:46 UTC 2013


Hi Clement,

there was a change introduced in sybase part to fix #711980 (
bugs.debian.org/711980).

And this patch:
http://anonscm.debian.org/gitweb/?p=pkg-php/php.git;a=blob;f=debian/patches/fix-segfault-when-using-passwords-longer-than-30-chars.patch;h=2d7adbb42d468d124bf7a133429682b2f376cfe3;hb=refs/heads/master-wheezy

was introduced to fix the problem.

I don't see any obvious problem in the patch, but you find it.

I would rather fix both problems than drop the patch.

Ondrej

On Fri, Jul 19, 2013 at 10:33 PM, Clement Wong <mail at clement.hk> wrote:

> Hi guys,
>
> After I upgraded from deb7u2 to deb7u3, our web servers went down for
> almost a day, the problem seem to come from PDO or php5-sybase, we are
> using PDO to connect to MSSQL server, and any query will try to allocate
> crazy amount of memory even if it is a tiny query.
> I have pages of these log, and I've replaced our domain to test. :)
>
> [Fri Jul 19 10:30:01 2013] [error] [client 87.119.183.106] PHP Fatal
> error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate
> 140221246707320 bytes) in Unknown on line 0, referer:
> https://order.test.com/fi/**orders.php<https://order.test.com/fi/orders.php>
> [Fri Jul 19 10:30:01 2013] [error] [client 87.119.183.106] PHP Fatal
> error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate
> 140221246629864 bytes) in Unknown on line 0, referer:
> https://order.test.com/fi/**orders.php<https://order.test.com/fi/orders.php>
> [Fri Jul 19 10:30:02 2013] [error] [client 87.119.183.106] PHP Fatal
> error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate
> 140221246694264 bytes) in Unknown on line 0, referer:
> https://order.test.com/fi/**orders.php<https://order.test.com/fi/orders.php>
> [Fri Jul 19 10:30:07 2013] [error] [client 83.30.84.94] PHP Fatal error:
>  Allowed memory size of 134217728 bytes exhausted (tried to allocate
> 140221247174360 bytes) in Unknown on line 0, referer:
> https://order.test.com/en/**orders.php?action=status<https://order.test.com/en/orders.php?action=status>
> [Fri Jul 19 10:30:15 2013] [error] [client 95.40.136.82] PHP Fatal error:
>  Allowed memory size of 134217728 bytes exhausted (tried to allocate
> 140221246764120 bytes) in Unknown on line 0
> [Fri Jul 19 10:30:25 2013] [error] [client 10.1.4.17] PHP Fatal error:
>  Allowed memory size of 134217728 bytes exhausted (tried to allocate
> 140221246756744 bytes) in Unknown on line 0, referer:
> https://order.test.com/fi/**orders.php<https://order.test.com/fi/orders.php>
> [Fri Jul 19 10:30:35 2013] [error] [client 10.1.4.17] PHP Fatal error:
>  Allowed memory size of 134217728 bytes exhausted (tried to allocate
> 140221246630056 bytes) in Unknown on line 0, referer:
> https://order.test.com/fi/**orders.php<https://order.test.com/fi/orders.php>
> [Fri Jul 19 10:30:58 2013] [error] [client 83.30.84.94] PHP Fatal error:
>  Allowed memory size of 134217728 bytes exhausted (tried to allocate
> 140221247460344 bytes) in Unknown on line 0, referer:
> https://order.test.com/en/**orders.php?action=status<https://order.test.com/en/orders.php?action=status>
> [Fri Jul 19 10:31:04 2013] [error] [client 83.30.84.94] PHP Fatal error:
>  Allowed memory size of 134217728 bytes exhausted (tried to allocate
> 140221246542728 bytes) in Unknown on line 0, referer:
> https://order.test.com/en/**orders.php<https://order.test.com/en/orders.php>
> [Fri Jul 19 10:31:22 2013] [error] [client 10.1.4.17] PHP Fatal error:
>  Out of memory (allocated 262144) (tried to allocate 139687102539624 bytes)
> in Unknown on line 0, referer: https://order.test.com/fi/**orders.php<https://order.test.com/fi/orders.php>
> [Fri Jul 19 10:31:23 2013] [error] [client 164.126.105.188] PHP Fatal
> error:  Out of memory (allocated 262144) (tried to allocate 139687102539096
> bytes) in Unknown on line 0, referer: https://order.test.com/en/**
> orders.php <https://order.test.com/en/orders.php>
> [Fri Jul 19 10:31:23 2013] [error] [client 164.126.105.188] PHP Fatal
> error:  Out of memory (allocated 262144) (tried to allocate 139687102538936
> bytes) in Unknown on line 0, referer: https://order.test.com/en/**
> orders.php <https://order.test.com/en/orders.php>
> [Fri Jul 19 10:31:24 2013] [error] [client 164.126.105.188] PHP Fatal
> error:  Out of memory (allocated 262144) (tried to allocate 139687102539224
> bytes) in Unknown on line 0, referer: https://order.test.com/en/**
> orders.php <https://order.test.com/en/orders.php>
> [Fri Jul 19 10:31:24 2013] [error] [client 164.126.105.188] PHP Fatal
> error:  Out of memory (allocated 262144) (tried to allocate 139687102531608
> bytes) in Unknown on line 0, referer: https://order.test.com/en/**
> orders.php <https://order.test.com/en/orders.php>
> [Fri Jul 19 10:31:24 2013] [error] [client 164.126.105.188] PHP Fatal
> error:  Out of memory (allocated 262144) (tried to allocate 139687102531608
> bytes) in Unknown on line 0, referer: https://order.test.com/en/**
> orders.php <https://order.test.com/en/orders.php>
> [Fri Jul 19 10:31:58 2013] [error] [client 77.253.200.58] PHP Fatal error:
>  Out of memory (allocated 262144) (tried to allocate 139687102514104 bytes)
> in Unknown on line 0
> [Fri Jul 19 10:32:54 2013] [error] [client 164.126.105.188] PHP Fatal
> error:  Out of memory (allocated 262144) (tried to allocate 139687102577800
> bytes) in Unknown on line 0, referer: https://order.test.com/en/**
> orders.php <https://order.test.com/en/orders.php>
> [Fri Jul 19 10:32:59 2013] [error] [client 164.126.105.188] PHP Fatal
> error:  Out of memory (allocated 262144) (tried to allocate 139687103209832
> bytes) in Unknown on line 0, referer: https://order.test.com/en/**
> orders.php <https://order.test.com/en/orders.php>
> [Fri Jul 19 10:33:13 2013] [error] [client 164.126.105.188] PHP Fatal
> error:  Out of memory (allocated 262144) (tried to allocate 139687100397736
> bytes) in Unknown on line 0, referer: https://order.test.com/en/**
> orders.php <https://order.test.com/en/orders.php>
> [Fri Jul 19 10:33:22 2013] [error] [client 164.126.105.188] PHP Fatal
> error:  Out of memory (allocated 262144) (tried to allocate 139687102813736
> bytes) in Unknown on line 0, referer: https://order.test.com/en/**
> orders.php <https://order.test.com/en/orders.php>
> [Fri Jul 19 10:33:29 2013] [error] [client 164.126.105.188] PHP Fatal
> error:  Out of memory (allocated 262144) (tried to allocate 139687102890712
> bytes) in Unknown on line 0, referer: https://order.test.com/en/**
> orders.php <https://order.test.com/en/orders.php>
> [Fri Jul 19 10:34:16 2013] [error] [client 10.1.4.17] PHP Fatal error:
>  Out of memory (allocated 262144) (tried to allocate 139687103088264 bytes)
> in Unknown on line 0, referer: https://order.test.com/fi/**orders.php<https://order.test.com/fi/orders.php>
> [Fri Jul 19 10:34:20 2013] [error] [client 164.126.105.188] PHP Fatal
> error:  Out of memory (allocated 262144) (tried to allocate 139687102814152
> bytes) in Unknown on line 0, referer: https://order.test.com/en/**
> orders.php <https://order.test.com/en/orders.php>
>
>
> Thanks,
> Clement Wong
>
> ______________________________**_________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.**debian.org<pkg-php-maint at lists.alioth.debian.org>
> http://lists.alioth.debian.**org/cgi-bin/mailman/listinfo/**pkg-php-maint<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint>
>



-- 
Ondřej Surý <ondrej at sury.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20130724/e6837e1a/attachment.html>


More information about the pkg-php-maint mailing list