From e99f700c90fb30a602bd38103ee6cb0756b1f552 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus" Date: Fri, 20 Jul 2012 07:38:08 +0000 Subject: --- ..._command_on_OSX_--_hangs_with_a_small_repo.mdwn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/bugs/watch_command_on_OSX_--_hangs_with_a_small_repo.mdwn b/doc/bugs/watch_command_on_OSX_--_hangs_with_a_small_repo.mdwn index 1b1acf3a9..81914d9cc 100644 --- a/doc/bugs/watch_command_on_OSX_--_hangs_with_a_small_repo.mdwn +++ b/doc/bugs/watch_command_on_OSX_--_hangs_with_a_small_repo.mdwn @@ -12,3 +12,25 @@ chat: git ["--git-dir=/Users/jtang/sandbox/atest/.git","--work-tree=/Users/jtang I had run git-annex with a new repo with just doing a git init and git annex init, I just threw in one or two small text files to see if it was working. It just hangs and does nothing. I had also tried it out on one of my bigger repos and it does the same thing it just hangs at _(scanning...)_ There isn't much to go on, I wonder if it's hitting the [[Issue on OSX with some system limits]] or if its just a thread/fork issue on OSX. + +It still hangs on the small repo even if I do + + $ sudo sysctl -w kern.maxfilesperproc=400000 + $ ulimit -n 2000 + +Also, just in case if you need it still (on a clean OSX 10.7 system) + +
+$ ulimit -a
+core file size          (blocks, -c) 0
+data seg size           (kbytes, -d) unlimited
+file size               (blocks, -f) unlimited
+max locked memory       (kbytes, -l) unlimited
+max memory size         (kbytes, -m) unlimited
+open files                      (-n) 256
+pipe size            (512 bytes, -p) 1
+stack size              (kbytes, -s) 8192
+cpu time               (seconds, -t) unlimited
+max user processes              (-u) 709
+virtual memory          (kbytes, -v) unlimited
+
-- cgit v1.2.3