root on 2005-02-12 14:25:47 +0100:

> Package: rzip
> Version: 2.0-2
> Severity: important
> 
> 
> Unlike the manpage claims, rzip does not work for large files, as it
> tries to mmap the whole file into memory:
> 
> -rw-------  1 root root 842895360 Feb 12 12:45 backup.tar
> 
>    # strace rzip -9 backup.tar
>    ...
>    fstat64(3, {st_mode=S_IFREG|0600, st_size=842895360, ...}) = 0
>    mmap2(NULL, 842895360, PROT_READ, MAP_SHARED, 3, 0) = -1 ENOMEM (Cannot 
> allocate memory)
>    write(2, "Failed to map buffer in rzip_fd\n", 32Failed to map buffer in 
> rzip_fd
> 
> That is, rzip fails for most files that it is designed for.

I'm guessing that the problem is the amount of memory you have
available.  rzip will copy into memory up to 900MB of the file at a
time (see the man page, section "COMPRESSION ALGORITHM"); how much RAM
+ swap do you have available?

Attachment: pgpC0YdJmBjjD.pgp
Description: PGP signature

Reply via email to