This commit is contained in:
Joey Hess 2015-02-11 13:13:36 -04:00
parent c1f6ac8fac
commit 85cfc4dce8
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,24 @@
[[!comment format=mdwn
username="joey"
subject="""comment 4"""
date="2015-02-11T16:48:58Z"
content="""
You seem to have catted /proc/pid/cmdline, so the parameters are all
mashed together without the separating `\0` being visible. Not the best way
to examine a process. Use `ps`.
It may be that the --library-path parameter is too long and is being
truncated. That's what appears to be the case when it ends at
"/shimmed/git-annex-shell/git-annex-shell-c".
However, Linux's command-line length limits are much much longer than this
command line, so it shouldn't be truncated. And, I don't know why it would
only be truncated when the script is called by ssh.
I suggest that you edit `git-annex.linux/git-annex-shell` and
`git-annex.linux/runshell` and `git-annex.linux/bin/git-annex-shell` ; make
the first line of each shell script be "#!/bin/sh -x".
Then you can try running it again via ssh and on the NAS, and paste the
debug output.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="joey"
subject="""comment 6"""
date="2015-02-11T17:05:15Z"
content="""
There's a bug report for the memory use hang now:
[[bugs/git-annex_on_NAS_eats_all_memory]]
"""]]