svn get very very very slow or no response when accessing a dir with 10 thousand files in it
From: Gilbert Fine <gfan_at_corp.netease.com>
Date: 2004-02-25 14:05:49 CET
We are running a repository (using HTTP/HTTPS protocol) on FreeBSD, subversion is 1.0.0. After commiting a dir with near 10 thousand files in it (total size is about 60M Bytes), other people cannot checkout this dir, or even 'svn list' on this dir. If using TSVN, you may get timeout message. If using svn command line, you may get the result, but you have to be very patient.
This is top status of the server when 'svn up' timeout'ed on this dir:
last pid: 1169; load averages: 0.10, 0.22, 0.34 up 6+08:26:33 20:58:40
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
Finally, I restart Apache.
Things is a little different when use 'svn list' on it. httpd use much memory, almost no I/O, but I can get the result finally.
To my surprise, using browser to list this dir is fast (as fast as visiting other dir).
And I have modify some parametes in DB_CONFIG (and then run svnadmin recover):
This is an archived mail posted to the Subversion Dev mailing list.