From 76a946852d03762b02af2b8415938a3e2bc43142 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlmLuHhscJsoAqb9q0N3LdtHum6LjY1LK4" Date: Wed, 18 Feb 2015 12:39:17 +0000 Subject: [PATCH] Added a comment --- ..._5cabffc139a8db7680346ccf0f4dc429._comment | 254 ++++++++++++++++++ 1 file changed, 254 insertions(+) create mode 100644 doc/bugs/git-annex_on_NAS_eats_all_memory/comment_8_5cabffc139a8db7680346ccf0f4dc429._comment diff --git a/doc/bugs/git-annex_on_NAS_eats_all_memory/comment_8_5cabffc139a8db7680346ccf0f4dc429._comment b/doc/bugs/git-annex_on_NAS_eats_all_memory/comment_8_5cabffc139a8db7680346ccf0f4dc429._comment new file mode 100644 index 0000000000..b0cb8674f6 --- /dev/null +++ b/doc/bugs/git-annex_on_NAS_eats_all_memory/comment_8_5cabffc139a8db7680346ccf0f4dc429._comment @@ -0,0 +1,254 @@ +[[!comment format=c + username="https://www.google.com/accounts/o8/id?id=AItOawlmLuHhscJsoAqb9q0N3LdtHum6LjY1LK4" + nickname="Markus" + subject="comment 8" + date="2015-02-18T12:39:17Z" + content=""" +Diff between the straces (the first ~490 lines have been identical and are removed for simplicity) + +Running per ssh: +mprotect(0x2b1e2000, 8192, PROT_READ) = 0 +mprotect(0x2aafb000, 4096, PROT_READ) = 0 +mprotect(0x2b24e000, 4096, PROT_READ) = 0 +mprotect(0x2aca5000, 4096, PROT_READ) = 0 +mprotect(0x2ad6d000, 4096, PROT_READ) = 0 +mprotect(0x2b21f000, 4096, PROT_READ) = 0 +mprotect(0x2acdd000, 4096, PROT_READ) = 0 +mprotect(0x2ac24000, 4096, PROT_READ) = 0 +mprotect(0x2aae5000, 4096, PROT_READ) = 0 +mprotect(0x2ad27000, 20480, PROT_READ) = 0 +mprotect(0x2acbd000, 4096, PROT_READ) = 0 +mprotect(0x2b0a0000, 4096, PROT_READ) = 0 +mprotect(0x2ab55000, 4096, PROT_READ) = 0 +mprotect(0x2aacd000, 4096, PROT_READ) = 0 +mprotect(0x2ab32000, 4096, PROT_READ) = 0 +mprotect(0x2afeb000, 16384, PROT_READ) = 0 +mprotect(0x2aeaf000, 20480, PROT_READ) = 0 +mprotect(0x2abfd000, 4096, PROT_READ) = 0 +mprotect(0x2ada4000, 4096, PROT_READ) = 0 +mprotect(0x2abbc000, 4096, PROT_READ) = 0 +set_tid_address(0x2ac28068) = 18015 +set_robust_list(0x2ac28070, 0xc) = 0 +rt_sigaction(SIGRTMIN, {0x2ac04550, [], SA_SIGINFO|0x4000000}, NULL, 8) = 0 +rt_sigaction(SIGRT_1, {0x2ac043e4, [], SA_RESTART|SA_SIGINFO|0x4000000}, NULL, 8) = 0 +rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 +getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 +futex(0x2ad2cc44, FUTEX_WAKE_PRIVATE, 2147483647) = 0 +brk(0) = 0x2bf15000 +brk(0x2bf36000) = 0x2bf36000 +open(\"/dev/urandom\", O_RDONLY|O_LARGEFILE) = 3 +fcntl64(3, F_GETFD) = 0 +fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 +fstat64(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0 +clock_gettime(CLOCK_REALTIME, {1424257023, 820788195}) = 0 +getrusage(0x1 /* RUSAGE_??? */, {ru_utime={0, 20000}, ru_stime={0, 10000}, ...}) = 0 +read(3, \"yx$\17\207\4\364\233\366\361\210[,\334(\214\\"\343\226\2'd\303\24\306\254\323\363\2523\36\2\", 32) = 32 +read(3, \"\243e\370\36n\320@l\345\27\6/\323%5`2\355\355B\", 8) = 8 +clock_getres(0x2 /* CLOCK_??? */, {0, 1}) = 0 +clock_gettime(0x2 /* CLOCK_??? */, {0, 44157400}) = 0 +clock_gettime(CLOCK_MONOTONIC, {438775, 660164522}) = 0 +brk(0x2bf57000) = 0x2bf57000 +mmap2(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b250000 +munmap(0x2b250000, 720896) = 0 +munmap(0x2b400000, 327680) = 0 +timer_create(CLOCK_MONOTONIC, {0, SIGVTALRM, SIGEV_SIGNAL, {...}}, {0x1}) = 0 +rt_sigaction(SIGVTALRM, {0x3cc4e08, [], SA_RESTART|0x4000000}, NULL, 8) = 0 +timer_settime(0x1, 0, {it_interval={0, 10000000}, it_value={0, 10000000}}, NULL) = 0 +rt_sigaction(SIGINT, {0x3cce17c, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0}, 8) = 0 +rt_sigaction(SIGINT, NULL, {0x3cce17c, [], 0x4000000 /* SA_??? */}, 8) = 0 +rt_sigaction(SIGINT, {0x3cce17c, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0 +rt_sigaction(SIGPIPE, {0x3cce0b4, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0}, 8) = 0 +rt_sigaction(SIGTSTP, {0x3cce1c0, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0 +epoll_create(0x100) = 4 +fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 +pipe([5, 6]) = 0 +fcntl64(6, F_GETFL) = 0x1 (flags O_WRONLY) +fcntl64(6, F_SETFL, O_WRONLY|O_NONBLOCK) = 0 +fcntl64(5, F_SETFD, FD_CLOEXEC) = 0 +fcntl64(6, F_SETFD, FD_CLOEXEC) = 0 +mmap2(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|0x20000, -1, 0) = 0x2b400000 +mprotect(0x2b400000, 4096, PROT_NONE) = 0 +clone(child_stack=0x2bbfef98, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2bbff4c8, tls=0x2bbff920, child_tidptr=0x2bbff4c8) = 18039 +futex(0x2bf3aa6c, FUTEX_WAIT_PRIVATE, 1, NULL) = 0 +futex(0x2bf3aa98, FUTEX_WAIT_PRIVATE, 2, NULL) = 0 +futex(0x2bf3aa98, FUTEX_WAKE_PRIVATE, 1) = 0 +futex(0x41981d0, FUTEX_WAIT_PRIVATE, 2, NULL) = 0 +futex(0x41981d0, FUTEX_WAKE_PRIVATE, 1) = 0 +eventfd2(0, 0) = 7 +fcntl64(7, F_GETFL) = 0x2 (flags O_RDWR) +fcntl64(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0 +fcntl64(7, F_SETFD, FD_CLOEXEC) = 0 +epoll_ctl(0x4, 0x1, 0x5, 0x2b304430) = 0 +epoll_ctl(0x4, 0x1, 0x7, 0x2b304448) = 0 +clock_gettime(0x2 /* CLOCK_??? */, {0, 46001320}) = 0 +clock_gettime(CLOCK_MONOTONIC, {438775, 665190920}) = 0 +futex(0x2bf3aa6c, FUTEX_WAIT_PRIVATE, 3, NULL) = 0 +futex(0x2bf3aa98, FUTEX_WAIT_PRIVATE, 2, NULL) = 0 +futex(0x2bf3aa98, FUTEX_WAKE_PRIVATE, 1) = 0 +futex(0x41981d0, FUTEX_WAIT_PRIVATE, 2, NULL) = 0 +futex(0x41981d0, FUTEX_WAKE_PRIVATE, 1) = 0 +rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 +rt_sigaction(SIGINT, {0x3cce0b8, [], SA_RESETHAND|SA_SIGINFO|0x4000000}, NULL, 8) = 0 +rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +open(\"/usr/lib/arm-linux-gnueabi/gconv/gconv-modules.cache\", O_RDONLY) = -1 ENOENT (No such file or directory) +open(\"/usr/lib/arm-linux-gnueabi/gconv/gconv-modules\", O_RDONLY|0x80000) = -1 ENOENT (No such file or directory) +futex(0x2b1e4ef4, FUTEX_WAKE_PRIVATE, 2147483647) = 0 +--- SIGVTALRM (Virtual timer expired) @ 0 (0) --- +sigreturn() = ? (mask now [TRAP FPE KILL SEGV USR2 TERM STKFLT CHLD CONT TSTP TTIN TTOU XCPU VTALRM WINCH PWR]) +--- SIGVTALRM (Virtual timer expired) @ 0 (0) --- +sigreturn() = ? (mask now [TRAP FPE KILL SEGV USR2 TERM STKFLT CHLD CONT TSTP TTIN TTOU XCPU VTALRM WINCH PWR]) + +Running local on NAS: +mprotect(0x2b0dc000, 8192, PROT_READ) = 0 +mprotect(0x2ae4a000, 4096, PROT_READ) = 0 +mprotect(0x2b241000, 4096, PROT_READ) = 0 +mprotect(0x2aee9000, 4096, PROT_READ) = 0 +mprotect(0x2b19e000, 4096, PROT_READ) = 0 +mprotect(0x2b1d7000, 4096, PROT_READ) = 0 +mprotect(0x2b15c000, 4096, PROT_READ) = 0 +mprotect(0x2ae71000, 4096, PROT_READ) = 0 +mprotect(0x2ab70000, 4096, PROT_READ) = 0 +mprotect(0x2b138000, 20480, PROT_READ) = 0 +mprotect(0x2b0f8000, 4096, PROT_READ) = 0 +mprotect(0x2af9a000, 4096, PROT_READ) = 0 +mprotect(0x2ab57000, 4096, PROT_READ) = 0 +mprotect(0x2ab3a000, 4096, PROT_READ) = 0 +mprotect(0x2ab1b000, 4096, PROT_READ) = 0 +mprotect(0x2ae33000, 16384, PROT_READ) = 0 +mprotect(0x2acf7000, 20480, PROT_READ) = 0 +mprotect(0x2abec000, 4096, PROT_READ) = 0 +mprotect(0x2abab000, 4096, PROT_READ) = 0 +mprotect(0x2aaf3000, 4096, PROT_READ) = 0 +set_tid_address(0x2b2a8068) = 18072 +set_robust_list(0x2b2a8070, 0xc) = 0 +rt_sigaction(SIGRTMIN, {0x2ae51550, [], SA_SIGINFO|0x4000000}, NULL, 8) = 0 +rt_sigaction(SIGRT_1, {0x2ae513e4, [], SA_RESTART|SA_SIGINFO|0x4000000}, NULL, 8) = 0 +rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 +getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 +futex(0x2b13dc44, FUTEX_WAKE_PRIVATE, 2147483647) = 0 +brk(0) = 0x2ca10000 +brk(0x2ca31000) = 0x2ca31000 +open(\"/dev/urandom\", O_RDONLY|O_LARGEFILE) = 3 +fcntl64(3, F_GETFD) = 0 +fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 +fstat64(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0 +clock_gettime(CLOCK_REALTIME, {1424257086, 456931329}) = 0 +getrusage(0x1 /* RUSAGE_??? */, {ru_utime={0, 20000}, ru_stime={0, 0}, ...}) = 0 +read(3, \"l\36K\322\231Ud\302.\335\301dhC)A\260\374~\350\254\341-\267\215\300\313\334\215XqI\", 32) = 32 +read(3, \"\25017J\372\361^\374\254\347$\f=Ag)\10r\25\317r]\216\337G\371M\27\321\326\0(\", 32) = 32 +read(3, \"\245\271\251\373\270\350S1\", 8) = 8 +open(\"/usr/lib/locale/locale-archive\", O_RDONLY|O_LARGEFILE|0x80000) = 4 +fstat64(4, {st_mode=S_IFREG|0644, st_size=14362288, ...}) = 0 +mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2b36b000 +close(4) = 0 +clock_getres(0x2 /* CLOCK_??? */, {0, 1}) = 0 +clock_gettime(0x2 /* CLOCK_??? */, {0, 29204680}) = 0 +clock_gettime(CLOCK_MONOTONIC, {438838, 301653485}) = 0 +brk(0x2ca52000) = 0x2ca52000 +mmap2(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b579000 +munmap(0x2b579000, 552960) = 0 +munmap(0x2b700000, 495616) = 0 +timer_create(CLOCK_MONOTONIC, {0, SIGVTALRM, SIGEV_SIGNAL, {...}}, {0x2}) = 0 +rt_sigaction(SIGVTALRM, {0x3cc4e08, [], SA_RESTART|0x4000000}, NULL, 8) = 0 +timer_settime(0x2, 0, {it_interval={0, 10000000}, it_value={0, 10000000}}, NULL) = 0 +rt_sigaction(SIGINT, {0x3cce17c, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0}, 8) = 0 +rt_sigaction(SIGINT, NULL, {0x3cce17c, [], 0x4000000 /* SA_??? */}, 8) = 0 +rt_sigaction(SIGINT, {0x3cce17c, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0 +rt_sigaction(SIGPIPE, {0x3cce0b4, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0}, 8) = 0 +rt_sigaction(SIGTSTP, {0x3cce1c0, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0 +epoll_create(0x100) = 4 +fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 +pipe([5, 6]) = 0 +fcntl64(6, F_GETFL) = 0x1 (flags O_WRONLY) +fcntl64(6, F_SETFL, O_WRONLY|O_NONBLOCK) = 0 +fcntl64(5, F_SETFD, FD_CLOEXEC) = 0 +fcntl64(6, F_SETFD, FD_CLOEXEC) = 0 +mmap2(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|0x20000, -1, 0) = 0x2b700000 +mprotect(0x2b700000, 4096, PROT_NONE) = 0 +clone(child_stack=0x2befef98, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2beff4c8, tls=0x2beff920, child_tidptr=0x2beff4c8) = 18073 +futex(0x2ca36264, FUTEX_WAIT_PRIVATE, 1, NULL) = 0 +futex(0x2ca36290, FUTEX_WAKE_PRIVATE, 1) = 0 +eventfd2(0, 0) = 7 +fcntl64(7, F_GETFL) = 0x2 (flags O_RDWR) +fcntl64(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0 +fcntl64(7, F_SETFD, FD_CLOEXEC) = 0 +epoll_ctl(0x4, 0x1, 0x5, 0x2b604430) = 0 +epoll_ctl(0x4, 0x1, 0x7, 0x2b604448) = 0 +futex(0x2ca36314, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x2ca36310, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1 +clock_gettime(0x2 /* CLOCK_??? */, {0, 31248840}) = 0 +clock_gettime(CLOCK_MONOTONIC, {438838, 311493486}) = 0 +futex(0x2ca36264, FUTEX_WAIT_PRIVATE, 3, NULL) = 0 +futex(0x2ca36290, FUTEX_WAKE_PRIVATE, 1) = 0 +rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 +rt_sigaction(SIGINT, {0x3cce0b8, [], SA_RESETHAND|SA_SIGINFO|0x4000000}, NULL, 8) = 0 +rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 +stat64(\"/volume1/homes/admin/GitAnnex.git\", 0x2b604890) = -1 ENOENT (No such file or directory) +getcwd(\"/volume1/homes/admin\", 4096) = 21 +getcwd(\"/volume1/homes/admin\", 4096) = 21 +getcwd(\"/volume1/homes/admin\", 4096) = 21 +pipe([8, 9]) = 0 +pipe([10, 11]) = 0 +rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 +timer_settime(0x2, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 +vfork() = 18074 +close(9) = 0 +fcntl64(8, F_SETFD, FD_CLOEXEC) = 0 +close(11) = 0 +fcntl64(10, F_SETFD, FD_CLOEXEC) = 0 +read(10, \"\", 4) = 0 +close(10) = 0 +rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +timer_settime(0x2, 0, {it_interval={0, 10000000}, it_value={0, 10000000}}, NULL) = 0 +fcntl64(8, F_GETFL) = 0 (flags O_RDONLY) +fcntl64(8, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 +ioctl(8, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7ea3e7ac) = -1 EINVAL (Invalid argument) +read(8, 0x2b6f1010, 8096) = -1 EAGAIN (Resource temporarily unavailable) +epoll_ctl(0x4, 0x1, 0x8, 0x2b604d0c) = 0 +write(7, \"\1\0\0\0\0\0\0\0\", 8) = 8 +futex(0x2ca36314, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x2ca36310, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1 +futex(0x2ca36340, FUTEX_WAKE_PRIVATE, 1) = 1 +futex(0x41981d0, FUTEX_WAKE_PRIVATE, 1) = 1 +futex(0x2ca36264, FUTEX_WAIT_PRIVATE, 5, NULL) = ? ERESTARTSYS (To be restarted) +--- SIGCHLD (Child exited) @ 0 (0) --- +futex(0x2ca36264, FUTEX_WAIT_PRIVATE, 5, NULL) = -1 EAGAIN (Resource temporarily unavailable) +futex(0x2ca36290, FUTEX_WAKE_PRIVATE, 1) = 0 +read(8, \"user.email\nbraun_markus@gmx.de\0u\"..., 8096) = 211 +read(8, \"\", 8096) = 0 +close(8) = 0 +wait4(18074, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 18074 +rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 +rt_sigaction(SIGINT, {SIG_DFL, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0 +rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +select(2, [], [1], NULL, {0, 0}) = 1 (out [1], left {0, 0}) +write(1, \"annex.uuid=8d7304a1-6ea5-46cc-83\"..., 48) = 48 +select(2, [], [1], NULL, {0, 0}) = 1 (out [1], left {0, 0}) +write(1, \"core.gcrypt-id=\n\", 16) = 16 +wait4(-1, 0x2b604f10, WNOHANG|WSTOPPED, NULL) = -1 ECHILD (No child processes) +clock_gettime(0x2 /* CLOCK_??? */, {0, 36727080}) = 0 +clock_gettime(CLOCK_MONOTONIC, {438838, 341180247}) = 0 +write(6, \"\376\", 1) = 1 +rt_sigprocmask(SIG_BLOCK, [], [], 8) = 0 +clock_gettime(0x2 /* CLOCK_??? */, {0, 36947040}) = 0 +clock_gettime(CLOCK_MONOTONIC, {438838, 341757433}) = 0 +clock_getres(0x3 /* CLOCK_??? */, {0, 1}) = 0 +clock_gettime(0x3 /* CLOCK_??? */, {0, 36313200}) = 0 +rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +futex(0x2ca36314, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x2ca36310, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1 +futex(0x2ca36340, FUTEX_WAKE_PRIVATE, 1) = 1 +futex(0x41981d0, FUTEX_WAKE_PRIVATE, 1) = 1 +timer_settime(0x2, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 +rt_sigaction(SIGVTALRM, {SIG_IGN, [], SA_INTERRUPT|SA_NODEFER|SA_RESETHAND|0x4000000}, {0x3cc4e08, [], SA_RESTART|0x4000000}, 8) = 0 +timer_delete(0x2) = 0 +rt_sigprocmask(SIG_BLOCK, [TTOU], [], 8) = 0 +rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +rt_sigaction(SIGINT, {SIG_DFL, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0 +rt_sigaction(SIGPIPE, {SIG_DFL, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0 +rt_sigaction(SIGTSTP, {SIG_DFL, [], 0x4000000 /* SA_??? */}, NULL, 8) = 0 +clock_gettime(0x2 /* CLOCK_??? */, {0, 38184040}) = 0 +clock_gettime(CLOCK_MONOTONIC, {438838, 344573245}) = 0 +close(3) = 0 +exit_group(0) = ? + +"""]]