After better understanding I was easily able to confirm the actual issue. Sorry once more for the useless noise Vasya.
When getting to the end of execution normally I see small mem fottprint: 3392 www-data /usr/bin/php-cgi 4516 2884 6581 12460 When killed by "Maximum execution time" the big foot print stays: 3504 www-data /usr/bin/php-cgi 783068 4137636 4140345 4147292 I'm not sure if that was clear before, I also found that this happens only if the process is killed while "IN" the Imagick constructor. As soon as it leaves the constructor the memory is freed and thereby not left around later. I confirmed that up to the latest release being Zesty with php 7.0.15-1ubuntu4. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1677578 Title: php-fcgi: max_execution_time causes memory leaks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1677578/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
