[plug] Mount Compressed Image

Andrew Cooks acooks at gmail.com
Thu Jun 7 14:41:14 WST 2012


Hi Alex

Have you had a look at fusecompress? See http://code.google.com/p/fusecompress

But, if you're dealing with an OOM situation,  I can't see how this is
going to help you. Is the system swapping and is the oom-killer
killing your process?

Cheers!
Andrew

On Thu, Jun 7, 2012 at 1:46 PM, Alexander Hartner <alex at j2anywhere.com> wrote:
> Hi all,
>
> We have a process which every so often could run out of memory. To diagnose the problem we are generating a full memory dump of the process. Our problem is that the generated dump does not fit onto the available allocated disk space. Before you go off and tell me to get more disk space I have to say that this is in a VM. We could increase the amount of space available, however before doing this I was contemplating other options. What I came up with was to use a compressed image to write the logs to. Something like mounting a ZIP file in read / write mode. Writing speed is not that much of an issue here as long as it is comparable to using an NFS share. The file being generated is possibly several GB large. In testing GZIP managed to reduce it significantly.
>
> I had a look online and found several options to achieve this in read-only mode, but I need write access to the compressed disk image as well.
>
> Thanks in advance
> Alex
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://lists.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.org.au
> PLUG Membership: http://www.plug.org.au/membership


More information about the plug mailing list