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

Re: some performance data

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-01-11 00:15:41 CET

Michael Price <mprice@atl.lmco.com> writes:

> Doesn't run out of memory -- there was plenty left when it
> crashed.

abort_on_pool_failure is called when APR fails to allocate memory.
Perhaps you have a ulimit setting that limits how much memory a
process can use, that could trigger even if the machine has lots of
memory spare. A ulimit is likely to be hundreds of MB, so it's still a
bug that so much memory was used.

> Using revision 4322 on a Solaris 8 box. Repo and working
> copy on local hard drive. Svn compiled with gcc -O2 -g.
>
> $ ~/local/tmp> svnadmin create repo
> $ ~/local/tmp> svn co file://`pwd`/repo wc
> Checked out revision 0.
> $ ~/local/tmp> cd wc
> $ ~/local/tmp/wc> for file1 in 0 1 2 3 4 5 6 7 8 9; do
> > for file2 in 0 1 2 3 4 5 6 7 8 9; do
> > for file3 in 0 1 2 3 4 5 6 7 8 9; do
> > echo "too-slow" > $file1.$file2.$file3
> > done; done; done
> $ ~/local/tmp/wc> svn add ?.?.?
> [removed output]
> $ ~/local/tmp/wc> svn commit -m "stuff"
> [removed output]
> $ ~/local/tmp/wc> svn update
> Abort (core dumped)
> $ ~/local/tmp/wc> dir core
> -rw------- 1 mprice mprice 366214768 Jan 10 16:18 core
>
> [removed gdb startup]
>
> (gdb) bt
> #0 0xfe4d9790 in __sigprocmask () from /usr/lib/libthread.so.1
> #1 0xfe4ce9b4 in _resetsig () from /usr/lib/libthread.so.1
> #2 0xfe4ce154 in _sigon () from /usr/lib/libthread.so.1
> #3 0xfe4d1194 in _thrp_kill () from /usr/lib/libthread.so.1
> #4 0xfe54b740 in raise () from /usr/lib/libc.so.1
> #5 0xfe535ab4 in abort () from /usr/lib/libc.so.1
> #6 0x0007c12c in abort_on_pool_failure (retcode=12)

If you look up APR_ENOMEM and ENOMEM I think you will find they are 12.

> at subversion/libsvn_subr/pool.c:62
> #7 0x0013be6c in apr_palloc (pool=0x7c120, size=24) at apr_pools.c:639
> #8 0x0006651c in list (
> data=0x15e30b07 ") (5 8.3.6 n9.0.1) (5 5.9.2 gh.0.1) (5 6.7.3 iq.0.1) (5 9.1.6 ph.0.1) (5 7.5.4 kz.0.1) (5 8.3.5 n8.0.1) (5 7.5.3 ky.0.1) (5 6.7.2 ip.0.1) (5 9.1.5 pg.0.1) (5 5.9.1 gg.0.1) (5 8.3.4 n7.0.1) (5 5.9.0 gf"...,
> len=367204101, pool=0x15dd2e80) at subversion/libsvn_fs/util/skel.c:174

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jan 11 00:16:23 2003

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.