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

svn log using apache is SLOW

From: Jon Bendtsen <jbendtsen_at_laerdal.dk>
Date: Mon, 10 Mar 2008 17:14:06 +0100

Hi

My apache 2.0 based subversion 1.4 is quite slow at doing svn log
commands.

Using strace i find stuff like this

close(0) = 0
close(1) = 0
close(14) = 0
dup2(13, 0) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024*1024, rlim_max=1024*1024}) = 0
close(2) = 0
close(3) = 0
close(4) = 0
close(5) = 0
close(6) = 0
close(7) = 0
close(8) = 0
close(9) = 0
close(10) = 0
close(11) = 0
close(12) = 0
close(14) = -1 EBADF (Bad file descriptor)
close(15) = -1 EBADF (Bad file descriptor)
close(16) = -1 EBADF (Bad file descriptor)
close(17) = -1 EBADF (Bad file descriptor)
close(18) = -1 EBADF (Bad file descriptor)
close(19) = -1 EBADF (Bad file descriptor)
close(20) = -1 EBADF (Bad file descriptor)
close(21) = -1 EBADF (Bad file descriptor)
close(22) = -1 EBADF (Bad file descriptor)
close(23) = -1 EBADF (Bad file descriptor)
close(24) = -1 EBADF (Bad file descriptor)
...
close(1048573) = -1 EBADF (Bad file
descriptor)
close(1048574) = -1 EBADF (Bad file
descriptor)
close(1048575) = -1 EBADF (Bad file
descriptor)
close(1048576) = -1 EBADF (Bad file
descriptor)

And that takes alot of time.

But why are it trying to close 1024 * 1024 file descriptors?

JonB

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-10 17:14:34 CET

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

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