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

apache hangs.

From: Santeri Hernejärvi <gray_at_gray.mine.nu>
Date: 2002-11-27 12:51:57 CET

I've just built a new subversion server, and just hangs when
trying to access the repository. It's not a permission problem.

Versions:
        httpd-2.0.43
        apr from cvs
        apr-util from cvs
        svn from svn
        BerkeleyDB 4.0.14
        neon 23.0.4

Apache seems to read the request:
[pid 2907] read(8, "REPORT /svn/repos/dmesh/trunk HT"..., 8000) = 262
[pid 2907] read(8, "<S:update-report xmlns:S=\"svn:\">"..., 8000) = 126

Open the DB:
[pid 2907] open("/var/svn/db/__db.001", O_RDWR|O_CREAT|O_LARGEFILE, 0666) = 9
[pid 2907] fcntl64(9, F_SETFD, FD_CLOEXEC) = 0
[pid 2907] mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x404cc000
[pid 2907] close(9) = 0

And hang:
[pid 2907] select(0, NULL, NULL, NULL, {0, 1000}) = 0 (Timeout)

Any ideas?

.s

Here's a backtrace on the select which fails in svn:

#0 readable_raw (sock=0x80f8be8, secs=120) at ne_socket.c:363
#1 0x401d6c23 in read_raw (sock=0x80f8be8, buffer=0x80f8cc4 "", len=4096) at ne_socket.c:375
#2 0x401d6e18 in ne_sock_readline (sock=0x80f8be8, buf=0x80f0568 "", buflen=8192)
    at ne_socket.c:529
#3 0x401d1afc in read_status_line (req=0x80f0540, status=0x80f2664, retry=0) at ne_request.c:905
#4 0x401d1dc2 in send_request (req=0x80f0540, request=0x80f89d0) at ne_request.c:982
#5 0x401d2368 in ne_begin_request (req=0x80f0540) at ne_request.c:1167
#6 0x401d25a9 in ne_request_dispatch (req=0x80f0540) at ne_request.c:1250
#7 0x40109760 in svn_ra_dav__parsed_request (ras=0x80cf9c8, method=0x4010a5b1 "REPORT",
    url=0x8064548 "/svn/repos/dmesh/trunk", body=0x0, fd=6, elements=0x4010c024,
    validate_cb=0x40105828 <validate_element>, startelm_cb=0x40105a9c <start_element>,
    endelm_cb=0x4010630c <end_element>, baton=0x80cfa28, pool=0x805cb78)
    at subversion/libsvn_ra_dav/util.c:287
#8 0x40106b09 in reporter_finish_report (report_baton=0x80cfa28)
    at subversion/libsvn_ra_dav/fetch.c:2306
#9 0x40029e95 in svn_wc_crawl_revisions (path=0x805cea0 "", adm_access=0x80601d8,
    reporter=0x4010c1ac, report_baton=0x80cfa28, restore_files=1, recurse=1,
    notify_func=0x804b8b0 <notify>, notify_baton=0x805cec8, traversal_info=0x805cee0,
    pool=0x805cb78) at subversion/libsvn_wc/adm_crawler.c:499
#10 0x40020d06 in svn_client_update (auth_baton=0x805ce88, path=0x805cea0 "",
    revision=0xbffffce0, recurse=1, notify_func=0x804b8b0 <notify>, notify_baton=0x805cec8,
    pool=0x805cb78) at subversion/libsvn_client/update.c:135
#11 0x0804f86d in svn_cl__update (os=0x805cc98, baton=0xbffffce0, pool=0x805cb78)
    at subversion/clients/cmdline/update-cmd.c:74
#12 0x0804d574 in main (argc=2, argv=0xbffffdb4) at subversion/clients/cmdline/main.c:856

H

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 27 12:52:48 2002

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.