> How many cgi-bin processes do you have and what memory do they consume?
8 php-cgi processes: 2 backend, 3 workers per backend. And here's the memory usage after I set max_execution_time to 600: 4567 www-data /usr/bin/php-cgi 0 48 1587 6496 4569 www-data /usr/bin/php-cgi 0 48 1587 6496 4571 www-data /usr/bin/php-cgi 0 48 1587 6496 4568 www-data /usr/bin/php-cgi 0 4848 6760 14488 4572 www-data /usr/bin/php-cgi 0 5488 7042 13996 4570 www-data /usr/bin/php-cgi 0 9012 10894 18592 4565 www-data /usr/bin/php-cgi 0 8988 11695 21976 4566 www-data /usr/bin/php-cgi 0 10368 12776 21860 No matter how many times I run the script, memory usage of single process never gets above 30 MB. If I let php kill script because of max_execution_time, it leaks 30-100 MB and never frees it up. -- 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
