Bug #76879 [Asn]: test openssl/tests/stream_server_reneg_limit consumes 20G of RAM

From: Date: Mon, 01 Oct 2018 13:13:44 +0000
Subject: Bug #76879 [Asn]: test openssl/tests/stream_server_reneg_limit consumes 20G of RAM
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217340@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76879&edit=1 ID: 76879 Updated by: cmb@php.net Reported by: public at grik dot net Summary: test openssl/tests/stream_server_reneg_limit consumes 20G of RAM Status: Assigned Type: Bug Package: OpenSSL related Operating System: Windows Subsystem for Linux PHP Version: 7.3.0RC1 -Assigned To: cmb +Assigned To: daverandom Block user comment: N Private report: N New Comment: Thanks! The OpenSSL version *might* be the problem, but since a while we're running our Travis CI on Xenial which, I believe, has also 1.0.2g. However, the tests are slow[1], which may cause the timeout for you. Chris, since you've introduced the new server/client test harness[2], do you have an idea? Also, the new reneg_* options[3] that are available as PHP 5.6.0 are not yet documented (not even in the migration guide). [1] <https://travis-ci.org/php/php-src/jobs/435562515#L3199> [2] <http://git.php.net/?p=php-src.git;a=commit;h=d6fb7b8f2eebc3a8c2ecde8838eda9d52bc25d4f> [3] <https://github.com/php/php-src/blob/PHP-5.6.38/UPGRADING#L126-L132> Previous Comments: ------------------------------------------------------------------------ [2018-09-30 20:54:52] public at grik dot net $ php -r "echo OPENSSL_VERSION_TEXT;" OpenSSL 1.0.2g 1 Mar 2016 $ php -r "echo OPENSSL_VERSION_NUMBER;" 268443775 ------------------------------------------------------------------------ [2018-09-30 18:08:28] cmb@php.net Thanks! What's the value of OPENSSL_VERSION_TEXT and OPENSSL_VERSION_NUMBER? ------------------------------------------------------------------------ [2018-09-30 17:20:28] public at grik dot net OK, in all files it's stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 E.g. 003+ 004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection timed out) in /usr/src/php-7.3.0RC1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 21 ------------------------------------------------------------------------ [2018-09-30 16:29:04] cmb@php.net > Where can I find .diff files? Right besides the respective .phpt files. ------------------------------------------------------------------------ [2018-09-30 16:21:41] public at grik dot net I was afk for a conference. Where can I find .diff files? it writes "You aren't allowed to change a bug to that state." for a "reopened" ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=76879 -- Edit this bug report at https://bugs.php.net/bug.php?id=76879&edit=1

« previous php.bugs (#217340) next »