Bug 155260 - use ulimit command to check process limit in webkitpy
Summary: use ulimit command to check process limit in webkitpy
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-09 14:10 PST by Aakash Jain
Modified: 2016-03-09 15:07 PST (History)
5 users (show)

See Also:


Attachments
Proposed patch (1.68 KB, patch)
2016-03-09 14:14 PST, Aakash Jain
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aakash Jain 2016-03-09 14:10:46 PST
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.
Comment 1 Aakash Jain 2016-03-09 14:14:55 PST
Created attachment 273474 [details]
Proposed patch
Comment 2 WebKit Commit Bot 2016-03-09 15:07:38 PST
Comment on attachment 273474 [details]
Proposed patch

Clearing flags on attachment: 273474

Committed r197891: <http://trac.webkit.org/changeset/197891>
Comment 3 WebKit Commit Bot 2016-03-09 15:07:42 PST
All reviewed patches have been landed.  Closing bug.