summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus <Jimmy@web>2012-07-20 07:38:08 +0000
committerGravatar admin <admin@branchable.com>2012-07-20 07:38:08 +0000
commite99f700c90fb30a602bd38103ee6cb0756b1f552 (patch)
tree96175309613842c4f1cdf9d0c21ab9a4e9193c31
parent3e3b34ad10ae0332bade541a29a3fc448a88b0da (diff)
-rw-r--r--doc/bugs/watch_command_on_OSX_--_hangs_with_a_small_repo.mdwn22
1 files changed, 22 insertions, 0 deletions
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
</pre>
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)
+
+<pre>
+$ 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
+</pre>