Perl 5 versions in use and leaks?

2 views
Skip to first unread message

Eric Wong

unread,
Nov 22, 2019, 9:31:08 PM11/22/19
to mog...@googlegroups.com
Hi all,

I learned a few months ago some otherwise-valid code in Perl
5.16 (and probably earlier would leak memory); so I wonder if
MogileFS users seeing high memory use in the Monitor (or other
processes) would benefit from a Perl upgrade (or minor code
changes in -Server).

Fwiw, Perl 5.16 is the version shipped with CentOS/RHEL 7.x.

In particular, ref() on a blessed reference, such as
"ref $conn" in MogileFS/ConnectionPool.pm could be a culprit..

cf. https://perldoc.perl.org/perl5180delta.html
https://rt.perl.org/Public/Bug/Display.html?id=114340
Reply all
Reply to author
Forward
0 new messages