[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svndumpfilter dies in 1.04

From: Craig Schlenter <schlenterc_at_detnet.com>
Date: 2004-05-26 09:15:08 CEST

Hi

I reported this originally with 0.37 and never got any responses. I've tried
again with 1.0.4 under fedora 2 and I'm seeing the same behaviour:

I'm piping the output of svnadmin dump into svndumpfilter and svndumpfilter
is dying from what appears to be excessive memory consumption pretty much
at the point at which it hits 1Gig or thereabouts:

Here's the last bit of the strace:

read(0, "\377\377\377\377\377\377\377\377\377\377\377\377\377\377"...,
69632) =
69632
mmap2(NULL, 1073750016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)
= -1 ENOMEM (Cannot allocate memory)
brk(0) = 0x84cc000
brk(0x484cd000) = 0x84cc000
mmap2(NULL, 1073881088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)
= -1 ENOMEM (Cannot allocate memory)
mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1,
0)
= 0x26ba9000
munmap(0x26ba9000, 356352) = 0
munmap(0x26d00000, 692224) = 0
mprotect(0x26c00000, 135168, PROT_READ|PROT_WRITE) = 0
mmap2(NULL, 1073750016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)
= -1 ENOMEM (Cannot allocate memory)
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(32307, 32307, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
svn: Can't write to stream: Broken pipe

It seems to be attempting to mmap stdin to the tune of about 1Gig?? Any
ideas why
it falls over? Are there specific limits in terms of the amount of memory
that
can be mmaped for a pipe or something?

Thank you,

--Craig

Disclaimer

This email and any accompanying attachments may contain confidential and proprietary information. This information is private and protected by law and, accordingly, if you are not the intended recipient, you are requested to delete this entire communication immediately and are notified that any disclosure, copying or distribution of or taking any action based on this information is prohibited.
Emails cannot be guaranteed to be secure or free of errors or viruses. The sender does not accept any liability or responsibility for any interception, corruption, destruction, loss, late arrival or incompleteness of or tampering or interference with any of the information contained in this email or for its incorrect delivery or non-delivery for whatsoever reason or for its effect on any electronic device of the recipient.
If verification of this email or any attachment is required, please request a hard-copy version.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 26 22:19:33 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.