This queue is for tickets about the Process-MaxSize CPAN distribution.

Report information
The Basics
Id:
103282
Status:
new
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
SREZIC [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Unimportant
Broken in:
0.04
Fixed in:
(no value)



Subject: Alternative process_size impl would work on freebsd
https://metacpan.org/source/MSCHILLI/Process-MaxSize-0.04/MaxSize.pm#L74 contains inactive code with a claim that it "doesn't work on freebsd". However, I checked on a freebsd9 system, and this code seems to work. If the ->size call is replaced by a ->rss call, then the returned number is quite close to the ps numbers (except bytes vs. kilobytes). So at least the comment seems to be wrong. I also wonder if this alternative implementation could already be part of Process::MaxSize in an inlined subclass --- the source code would stay approximately the same size and the user could choose between the ps and the Proc::ProcessTable implementation.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.