aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Issue_on_OSX_with_some_system_limits/comment_5_6407a3e7aa0316cba2994bfef0e3c633._comment
blob: 30ea6b310eabb0de1e3bfc57a3517c6fc85bde63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus"
 nickname="Jimmy"
 subject="comment 4"
 date="2012-07-04T13:17:05Z"
 content="""
In relation to the system limits,

    laplace:~ jtang$ sysctl kern.maxfilesperproc
    kern.maxfilesperproc: 10240

Also, the maxfiles for the whole system is

    laplace:~ jtang$ sysctl kern.maxfiles
    kern.maxfiles: 12288

the above was the defaults as far as I recall. What you probably would be interested is the ulimits that the user see

    laplace:~ jtang$ 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

I would imagine the limit that you are looking for is 256. Hope this helps.

----

On the point about deletions not being propagated, it does do a commit. I suspect that the kqueue code is just not picking up the changes and pushing the changes out. The watch command on a single annex with no remotes functions as expected.
"""]]