Bug #76879 [Opn->Fbk]: test openssl/tests/stream_server_reneg_limit consumes 20G of RAM

From: Date: Fri, 14 Sep 2018 11:49:00 +0000
Subject: Bug #76879 [Opn->Fbk]: 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-217046@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: Open +Status: Feedback Type: Bug Package: OpenSSL related Operating System: Windows Subsystem for Linux PHP Version: 7.3.0RC1 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: I can't reproduce this on WSL running Debian 9.5. However, the earlier tests also pass for me. Please provide the .diff files of the reported failing tests. Previous Comments: ------------------------------------------------------------------------ [2018-09-13 21:15:53] public at grik dot net Description: ------------ I built php with generic options ./configure --prefix=/usr/local --with-openssl rinning 'make test' leads to consuming 4 CPU cores and all available RAM Test script: --------------- ./configure --prefix=/usr/local --with-openssl make make test ... PASS openssl_x509_read() tests [ext/openssl/tests/openssl_x509_read_basic.phpt] FAIL Peer verification enabled for client streams [ext/openssl/tests/peer_verification.phpt] FAIL Peer verification matches SAN names [ext/openssl/tests/san_peer_matching.phpt] FAIL Capture SSL session meta array in stream context [ext/openssl/tests/session_meta_capture.phpt] FAIL sni_server [ext/openssl/tests/sni_server.phpt] FAIL sni_server with separate pk and cert [ext/openssl/tests/sni_server_key_cert.phpt] FAIL Basic bitwise stream crypto context flag assignment [ext/openssl/tests/stream_crypto_flags_001.phpt] FAIL TLSv1.1 and TLSv1.2 bitwise stream crypto flag assignment [ext/openssl/tests/stream_crypto_flags_002.phpt] FAIL Server bitwise stream crypto flag assignment [ext/openssl/tests/stream_crypto_flags_003.phpt] FAIL Specific protocol method specification [ext/openssl/tests/stream_crypto_flags_004.phpt] SKIP security_level setting to prohibit cert [ext/openssl/tests/stream_security_level.phpt] reason: OpenSSL >= v1.1.0 required TEST 6242/13313 [ext/openssl/tests/stream_server_reneg_limit.phpt] Now I have to cancel with Ctrl-C Actual result: -------------- ~$ top top - 00:10:05 up 1:59, 0 users, load average: 0.52, 0.58, 0.59 Tasks: 15 total, 5 running, 10 sleeping, 0 stopped, 0 zombie %Cpu(s): 30.3 us, 21.7 sy, 0.0 ni, 47.8 id, 0.0 wa, 0.2 hi, 0.0 si, 0.0 st KiB Mem : 16717488 total, 417976 free, 16063036 used, 236476 buff/cache KiB Swap: 50331648 total, 50035316 free, 296332 used. 513596 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 25826 gri 20 0 86748 5252 4048 R 100.0 0.0 21:29.55 php 9037 gri 20 0 86812 6108 5880 R 100.0 0.0 9:44.01 php 25177 gri 20 0 86748 5376 4128 R 99.7 0.0 24:50.79 php 24958 gri 20 0 22.154g 0.013t 332 R 90.3 84.1 10:55.90 php ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76879&edit=1

« previous php.bugs (#217046) next »