Bug #62337 [Fbk->NoF]: Randomly getting exhausted memory
Edit report at https://bugs.php.net/bug.php?id=62337&edit=1
ID: 62337
Updated by: php-bugs@lists.php.net
Reported by: jrbasso at gmail dot com
Summary: Randomly getting exhausted memory
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: SOAP related
Operating System: Linux 3.2.12-3.2.4.amzn1.x86_64
PHP Version: 5.3.14
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2020-10-23 21:21:46] jrbasso at gmail dot com
I'm not getting the error on 7.2 anymore.
------------------------------------------------------------------------
[2020-10-23 12:44:22] cmb@php.net
Does this still happen with any of the actively supported PHP
versions[1]?
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2013-12-05 11:28:19] benoit dot montuelle at gmail dot com
Hello,
We run into a very similar issue on our CentOS 6.4 box (running PHP 5.3.3).
The cause of error (in our case) was a disk partition full error leading to corrupted wsdl cache
file.
In the SoapClient constructor it then tries to allocate 4G of memory and get blocked by php ini
directive.
------------------------------------------------------------------------
[2012-06-16 01:03:10] jrbasso at gmail dot com
Description:
------------
Randomly the SoapClient constructor is trying to allocate huge amounts of memory
and causing the error Error: Allowed memory size of 268435456 bytes exhausted
(tried to allocate 18446744072233156736 bytes)
The amount goes from 2GB to numbers like above.
This started to happen when we switched from 5.3.10 to 5.3.13 (and now 5.3.14).
I am not able to reproduce the error easily, once it do not happens in all the
requests. The constructor is always called with the same parameters.
Soap configuration:
Soap Client enabled
Soap Server enabled
Directive Local Value
soap.wsdl_cache 1
soap.wsdl_cache_dir /tmp
soap.wsdl_cache_enabled 1
soap.wsdl_cache_limit 5
soap.wsdl_cache_ttl 86400
Test script:
---------------
$soap = new SoapClient('https://ics2ws.ic3.com/commerce/1.x/transactionProcessor/CyberSourceTransaction_1.47.wsdl',
array('merchantId' => '???', 'transactionKey' =>
'???'));
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62337&edit=1
Thread (5 messages)