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

apache svn server memory usage?

From: Chris Hecker <checker_at_d6.com>
Date: 2003-06-30 11:34:58 CEST

So, in my first real test of svn, I set up a server (using dav over https)
for some friends doing the ICFP programming contest (they've done 219
revisions so far in two days, the repository, without archiving the logs,
is 52mb). This is Debian Linux running 2.4.21 on an Alpha, if it
matters. The svn server components are built from r6305, apache is
2.0.46. Anyway, everything has worked pretty well (it seems a bit slow,
but that's another question), but I'm bit confused by the memory usage of
httpd. There is no web traffic on this server except for svn. I've
included a "top" output below from just now, and as you can see, it's 2
days of use. The httpd's (using prefork mpm) have grown from about 4mb to
14-22mb over the weekend. There's no swapping so far, but the free memory
has dwindled to 20mb from 400mb at reboot and startup.

My question is, is this normal? Should the httpds be constant size, or do
they grow like this to fill physical ram, or is there a memory leak, etc.?

Also, generally, what's the right way to look at the performance/memusage
of svn? top is pretty coarse grained...I've also tried atsar without much
luck.

Thanks,
Chris

  01:56:39 up 2 days, 10:16, 1 user, load average: 0.00, 0.00, 0.00
34 processes: 33 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 0.6% user, 0.9% system, 0.0% nice, 98.5% idle
Mem: 502144K total, 482320K used, 19824K free, 24984K buffers
Swap: 137040K total, 0K used, 137040K free, 218912K cached

   PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
   191 svn 12 0 22736 22M 5600 S 0.0 4.5 1:05 httpd
   701 svn 12 0 21240 20M 5608 S 0.0 4.2 0:46 httpd
   227 svn 12 0 15456 15M 5600 S 0.0 3.0 1:01 httpd
   194 svn 12 0 15168 14M 5624 S 0.0 3.0 1:18 httpd
   662 svn 12 0 14480 14M 5608 S 0.0 2.8 0:44 httpd
   700 svn 12 0 14456 14M 5616 S 0.0 2.8 0:46 httpd
   195 svn 12 0 14080 13M 5592 S 0.0 2.8 1:14 httpd
   699 svn 12 0 13456 13M 5616 S 0.0 2.6 0:44 httpd
   522 svn 12 0 12992 12M 5608 S 0.0 2.5 0:53 httpd
   193 svn 12 0 12520 12M 5608 S 0.0 2.4 0:41 httpd
   182 root 12 0 4712 4712 4176 S 0.0 0.9 0:00 httpd

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 30 11:35:51 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.