monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Re: Monotone hangs while reading branch from depot


From: Peter Simons
Subject: [Monotone-devel] Re: Monotone hangs while reading branch from depot
Date: 16 Feb 2004 19:35:16 +0100

graydon hoare writes:

 > but that's just a guess. could you perhaps oprofile or
 > gdb it and see where it's spinning? maybe there's some
 > way to wedge the packet regex or something.

I ran the 'fetch' command with strace and got this:

 | execve("/usr/local/monotone/bin/monotone", ["monotone", "--db=test.db", 
"--branch", "system.www.cryp.to", "fetch"], [/* 43 vars */]) = 0
 | uname({sys="Linux", node="peti.cryp.to", ...}) = 0
 | [...]
 | _llseek(3, 1001472, [1001472], SEEK_SET) = 0
 | write(3, "\324\3\0\0003bJkuZ5Th+7T0UZ/WqBU5DVbL03\n"..., 1024) = 1024
 | _llseek(3, 1002496, [1002496], SEEK_SET) = 0
 | write(3, "\325\3\0\0kqE6t7WhGR0YynamLOh0SXXpxU3K"..., 1024) = 1024
 | _llseek(3, 1003520, [1003520], SEEK_SET) = 0
 | write(3, "\326\3\0\0/5Ul9pHr1eW6m8/BqplqS3kbdQCj"..., 1024) = 1024
 | _llseek(3, 1004544, [1004544], SEEK_SET) = 0
 | write(3, "\327\3\0\00031sySWao7Y177qr7AQ66/WXu95Jd"..., 1024) = 1024
 | _llseek(3, 1005568, [1005568], SEEK_SET) = 0
 | write(3, "\330\3\0\0QpiecvpyEC03WDgtH42TjjKo0zUB"..., 1024) = 1024
 | write(2, "\r", 1
)                       = 1
 | write(2, "m", 1m)                        = 1
 | write(2, "o", 1o)                        = 1
 | write(2, "n", 1n)                        = 1
 | write(2, "o", 1o)                        = 1
 | write(2, "t", 1t)                        = 1
 | write(2, "o", 1o)                        = 1
 | write(2, "n", 1n)                        = 1
 | write(2, "e", 1e)                        = 1
 | write(2, ":", 1:)                        = 1
 | write(2, " ", 1 )                        = 1
 | write(2, "[", 1[)                        = 1
 | write(2, "b", 1b)                        = 1
 | write(2, "y", 1y)                        = 1
 | write(2, "t", 1t)                        = 1
 | write(2, "e", 1e)                        = 1
 | write(2, "s", 1s)                        = 1
 | write(2, ":", 1:)                        = 1
 | write(2, " ", 1 )                        = 1
 | write(2, "2", 12)                        = 1
 | write(2, "9", 19)                        = 1
 | write(2, "4", 14)                        = 1
 | write(2, "0", 10)                        = 1
 | write(2, "6", 16)                        = 1
 | write(2, "9", 19)                        = 1
 | write(2, "5", 15)                        = 1
 | write(2, "]", 1])                        = 1
 | write(2, " ", 1 )                        = 1
 | write(2, "[", 1[)                        = 1
 | write(2, "p", 1p)                        = 1
 | write(2, "a", 1a)                        = 1
 | write(2, "c", 1c)                        = 1
 | write(2, "k", 1k)                        = 1
 | write(2, "e", 1e)                        = 1
 | write(2, "t", 1t)                        = 1
 | write(2, "s", 1s)                        = 1
 | write(2, ":", 1:)                        = 1
 | write(2, " ", 1 )                        = 1
 | write(2, "6", 16)                        = 1
 | write(2, "3", 13)                        = 1
 | write(2, "]", 1])                        = 1
 | write(2, " ", 1 )                        = 1
 | recv(7, "iAwctyvvQYzp/rQCZG\nDp98RP+JPIoSu"..., 4096, 0) = 4096
 | recv(7, "pW5bjCrca6w1OE/QJi\nCa9E5RSJuBqvT"..., 4096, 0) = 4096
 | recv(7, "uS4fLOPQUqIxKTsHB8\ndPby5ITOYsIaI"..., 4096, 0) = 4096
 | recv(7, "CANkvTe939yuoQThQ8\n2TshzRW1hDbxM"..., 4096, 0) = 4096
 | recv(7, "wj3yHGphGJdvZ4dclD\n8SeCxZuD2/3Ay"..., 4096, 0) = 3120
 | recv(7, "", 4096, 0)                    = 0
 | close(7)                                = 0

After this, monotone doesn't produce any further output,
neither on the console nor in the strace log. It does,
however, still eat up all the CPU cycles.

Does this help?

Peter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]