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

Fwd: subversion httpd process spinning

From: Brian W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2005-10-06 05:10:18 CEST

Does anyone have any ideas as to what this might be? This is svn 1.2.2.

-Fitz

> Begin forwarded message:
>
> From: "Roy T. Fielding" <fielding@gbiv.com>
> Date: October 5, 2005 2:06:00 PM PDT
> Subject: subversion httpd process spinning
> Message-Id: <60a86afeae051edb6cc4586d1e937d72@gbiv.com>
>
> I am on minotaur checking to see why svn is slow and I see
> a process 92053 running at >45% CPU for more than five minutes.
> So I attached gdb and did a backtrace:
>
>
> 0x28332498 in __lock_locker_cmp () from /usr/local/lib/db43/
> libdb-4.3.so.0
> (gdb) bt
> #0 0x28332498 in __lock_locker_cmp () from /usr/local/lib/db43/
> libdb-4.3.so.0
> #1 0x2832ecf0 in __lock_getlocker () from /usr/local/lib/db43/
> libdb-4.3.so.0
> #2 0x2832bd34 in __lock_get_internal ()
> from /usr/local/lib/db43/libdb-4.3.so.0
> #3 0x2832c879 in __lock_get () from /usr/local/lib/db43/
> libdb-4.3.so.0
> #4 0x28329aba in __fop_file_setup () from /usr/local/lib/db43/
> libdb-4.3.so.0
> #5 0x28311e9e in __db_open () from /usr/local/lib/db43/libdb-4.3.so.0
> #6 0x2830e588 in __db_open_pp () from /usr/local/lib/db43/
> libdb-4.3.so.0
> #7 0x28533759 in svn_fs_bdb__open_nodes_table (nodes_p=0x82608ec,
> env=0x8256000, create=0)
> at ../../svn-current/subversion/libsvn_fs_base/bdb/nodes-
> table.c:53
> #8 0x2853b088 in base_open (fs=0x82608c0,
> path=0x825f5f0 "/x1/svn/repos-private/db", pool=0x822b018)
> at ../../svn-current/subversion/libsvn_fs_base/fs.c:718
> #9 0x284d5973 in svn_fs_open (fs_p=0x825f5b8,
> path=0x825f5f0 "/x1/svn/repos-private/db", fs_config=0x0,
> pool=0x822b018)
> at ../../svn-current/subversion/libsvn_fs/fs-loader.c:354
> #10 0x284c8862 in get_repos (repos_p=0x8239ab8,
> path=0x81cdfd8 "/x1/svn/repos-private", exclusive=0,
> nonblocking=0,
> open_fs=1, pool=0x822b018)
> at ../../svn-current/subversion/libsvn_repos/repos.c:1658
> #11 0x284c895d in svn_repos_open (repos_p=0x8239ab8,
> path=0x81cdfd8 "/x1/svn/repos-private", pool=0x822b018)
> at ../../svn-current/subversion/libsvn_repos/repos.c:1700
> #12 0x284a63d6 in dav_svn_get_resource (r=0x8245050,
> root_path=0x81cbf88 "/repos/private", label=0x0, use_checked_in=0,
> resource=0xbfbfea4c)
> at /x2/home/jerenkrantz/build/svn-current-1/../../svn-current/
> subversion/mod_dav_svn/repos.c:1326
> #13 0x080b6940 in dav_get_resource (r=0x8245050, label_allowed=1,
> use_checked_in=0, res_p=0xbfbfea4c)
> at /x2/home/jerenkrantz/httpd-2.2/modules/dav/main/mod_dav.c:724
> #14 0x080b8b5c in dav_method_propfind (r=0x8245050)
> at /x2/home/jerenkrantz/httpd-2.2/modules/dav/main/mod_dav.c:1960
> #15 0x080bd460 in dav_handler (r=0x8245050)
> at /x2/home/jerenkrantz/httpd-2.2/modules/dav/main/mod_dav.c:4644
> #16 0x08079c6e in ap_run_handler (r=0x8245050)
> at /x2/home/jerenkrantz/httpd-2.2/server/config.c:157
> #17 0x0807a3ee in ap_invoke_handler (r=0x8245050)
> at /x2/home/jerenkrantz/httpd-2.2/server/config.c:371
> #18 0x080b0108 in ap_process_request (r=0x8245050)
> at /x2/home/jerenkrantz/httpd-2.2/modules/http/http_request.c:258
> #19 0x080ad56f in ap_process_http_connection (c=0x822b128)
> at /x2/home/jerenkrantz/httpd-2.2/modules/http/http_core.c:172
> #20 0x08081322 in ap_run_process_connection (c=0x822b128)
> at /x2/home/jerenkrantz/httpd-2.2/server/connection.c:43
> #21 0x0808171c in ap_process_connection (c=0x822b128, csd=0x822b050)
> at /x2/home/jerenkrantz/httpd-2.2/server/connection.c:176
> #22 0x080d8732 in child_main (child_num_arg=26)
> at /x2/home/jerenkrantz/httpd-2.2/server/mpm/prefork/prefork.c:626
> #23 0x080d88cf in make_child (s=0x811a1c0, slot=26)
> at /x2/home/jerenkrantz/httpd-2.2/server/mpm/prefork/prefork.c:722
> #24 0x080d8b2e in perform_idle_server_maintenance (p=0x8114018)
> at /x2/home/jerenkrantz/httpd-2.2/server/mpm/prefork/prefork.c:857
> #25 0x080d8fa4 in ap_mpm_run (_pconf=0x8114018, plog=0x815c018,
> s=0x811a1c0)
> at /x2/home/jerenkrantz/httpd-2.2/server/mpm/prefork/prefork.c:
> 1061
> #26 0x080650e2 in main (argc=3, argv=0xbfbfee20)
> at /x2/home/jerenkrantz/httpd-2.2/server/main.c:704
>
>
> Any ideas would be appreciated. No system calls are being made by
> the process (truss shows nothing) and no change to the backtrace
> over several minutes, so I killed it. Of course, now subversion is
> down entirely. I'll restart it.
>
> ....Roy
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 6 05:11:16 2005

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.