in reply to ``system'' leaking memory

You could use RRDTool::OO, which makes use of rrdtool's shared library, and avoids the system call altogether. If that still generates a memory leak you'll have to submit a bug report to Tobi Oetiker, as it's probably coming from within the rrdtool code base somewhere.


Dave