Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of cosimo (4138)

Tuesday July 29, 2008
04:25 AM

HTTP::DAV leaking memory?

[ #37043 ]

Yesterday I started investigating an "interesting" problem in our shiny new "Storage abstraction layer".

It's a new set of classes designed to solve the problem of how to handle static resources like images, thumbnails, favicons, ... providing fault-tolerance and distributing them automatically onto pools of static servers. Kind of our little own 'CDN' :)

Anyway, that is using WebDAV as one of the server "backends", and in fact, we're now using mod_dav enabled servers to distribute our content.

Now I'm in the process of exporting hundreds of thousands of pictures, in 5 different formats, with a single script to many DAV servers, I'm noticing a steady increase of memory usage.

I tried to track down the problem, and it seems to live within HTTP::DAV, where there's at least one circular reference between HTTP::DAV::Resource back to HTTP::DAV parent object.

I tried also to get some information out of Perlmonks, or web searching in general about this issue, but found nothing.

Any pointers or similar experiences?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.