]> Sergey Matveev's repositories - public-inbox.git/commitdiff
qspawn: workaround Perl 5.16.3 leak, re-enable Deflater
authorEric Wong <e@80x24.org>
Fri, 27 Sep 2019 21:01:01 +0000 (21:01 +0000)
committerEric Wong <e@80x24.org>
Fri, 27 Sep 2019 21:04:48 +0000 (21:04 +0000)
The httpd-supplied write callback is the leak culprit under Perl
5.16.3.  undef-ing it immediately after use keeps a repeated
"git fetch" loop from monotonically increasing memory and FD use
on the Perl shipped with RHEL/CentOS 7.x.

Other endpoints tested showed no increase in memory use under
constant load with "ab -HAccept-Encoding:gzip -k", including the
async psgi_qx code path used by $INBOX_URL/$OBJECT_ID/s/ via
SolverGit module.


No differences found