Bug #78039 [Fbk->Opn]: Huge memory leak when soap fault

From: Date: Thu, 30 May 2019 21:04:02 +0000
Subject: Bug #78039 [Fbk->Opn]: Huge memory leak when soap fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221054@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78039&edit=1 ID: 78039 User updated by: n0dwis at gmail dot com Reported by: n0dwis at gmail dot com Summary: Huge memory leak when soap fault -Status: Feedback +Status: Open Type: Bug Package: SOAP related Operating System: Alpine Linux PHP Version: 7.2.18 Block user comment: N Private report: N New Comment: I tried but I can't reproduce it in test environment. It's no any leak if I use simple test Soap services. This happen only in our production environment. I understand it hard to figure out the bug, but I can't provide more information. Sorry. Previous Comments: ------------------------------------------------------------------------ [2019-05-20 09:59:56] requinix@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2019-05-20 09:59:31] n0dwis at gmail dot com Description: ------------ When Soap call finished with error memory_get_usage shows increasing memory usage to 30Mb. This memory don't free in next requests. This is short log Before call soap 8MB Soap fault After call soap 46MB Before call soap 46MB Soap fault After call soap 72MB Before call soap 72MB Soap fault After call soap 100MB Before call soap 100MB Soap fault After call soap 128MB And this is log without failing. Memory leak exist too but not so big Before call soap 8MB After call soap 36MB Before call soap 38MB After call soap 38MB Before call soap 38MB After call soap 38MB Before call soap 38MB After call soap 40MB Before call soap 38MB After call soap 40MB Before call soap 40MB After call soap 40MB Before call soap 40MB After call soap 40MB Before call soap 38MB After call soap 40MB Before call soap 38MB After call soap 40MB Before call soap 40MB After call soap 40MB Before call soap 40MB After call soap 40MB Before call soap 38MB After call soap 40M This behaviour is in a php docker container 7.2.9 and 7.2.18 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78039&edit=1

« previous php.bugs (#221054) next »