We currently use "launchctl limit maxproc" command to check the process limit, this is sometimes different from the limit reported by "ulimit -u" command. Output by ulimit command seems to be more reliable (the one on which we actually start hitting process limit and start getting fork errors). We should use ulimit command output.
Created attachment 273474 [details] Proposed patch
Comment on attachment 273474 [details] Proposed patch Clearing flags on attachment: 273474 Committed r197891: <http://trac.webkit.org/changeset/197891>
All reviewed patches have been landed. Closing bug.